Allows you to execute code asynchronously directly in blueprints.
This node allows you to call your blueprint code on another thread. It is suitable for long and short tasks.
Note, the Callback will be called on the same thread you choose.
This node allows you to call your blueprint code on a specific thread.
It is very useful to return to GameThread and continue working in it.
Note, the Callback will be called on the same thread you choose.
- You don't want to use too much of this nodes. It is not a magic wand. Paralleling 10000 array items on a separate threads may be a miserable task for your computer.
- Note that when closing the game at the moment of Async code execution, memory sections that have already been deleted (even if it is just an int variable) may be accessed causing crash.
- It should be noted that most tasks in Unreal Engine can only be executed in Game Thread (Move, Rotate, Spawn Actor etc).
Doxygen documentation: GitHubPages
Documentation sources: GitHub