Animation Fast Path Optimization

Optimizations that can be applied to the structure of animation graphs to gain performance

Windows
MacOS
Linux

Animation Blueprints are very flexible ways of building animation systems. However the performance overheads associated with running Blueprint-based logic can become quite high as your graph becomes more complex. To mitigate these overheads certain methods of structuring your animation graph can be used.

Access Member Variables Directly

DirectMemberAccess.png

Access Negated Boolean Member Variables

NegatedBooleanAccess.png

Access Members of a Nested Struct

NestedStructAccess.png

Access Members Using "Break Struct" Nodes

BreakStructAccess.png

Note that some "Break Struct" nodes, like "Break Transform" will not currently use the fast path as they perform conversions internally rather than simply copying data.

Auditing and Maintaining Optimized Animation Blueprints

WarnAboutBlueprintUsage.png

Once an Animation Blueprint has been configured in an optimal way, subsequent iterations can potentially introduce new, non-performant constructs. To keep track of this you can enable the "Warn About Blueprint Usage" option in the Animation Blueprint's Class Defaults. This is also useful when optimizing a particular Animation Blueprint.

Select Skin
Light
Dark

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback