I convert an int to enum and use it for a transition rule in animation state machine. But the compiler complains that it’s not thread-safe.
But according the last section of this doc, I don’t seem to do anything against it. Graphing in Animation Blueprints in Unreal Engine | Unreal Engine 5.1 Documentation
Anyway, I changed to another method – do the dirty working in a BlueprintPure C++ function.
But the compiler still thinks it’s not thread-safe.
I don’t think it’s against the doc above either. The doc clearly says blueprint pure functions are safe.
How do I int to enum convertion in animation state machine then?