How to create thread safe nodes and functions in AnimBP

You can use the following decoration:

UFUNCTION(BlueprintCallable, meta = (BlueprintThreadSafe))

I think you should ensure that you don’t query e.g. the character in these functions. The way I got around this is to rather push values from my Character during its tick to the AnimInstance instead of the AnimInstance querying the Character params. It unfortunately requires a lot of duplication.

6 Likes