StateTree crash when use TScriptInterface in packaged game [UE5.2]

UPROPERTY(VisibleAnywhere, Category="Input")
TArray<TScriptInterface<class IMyInterface>> MyInterfaces;
	
UPROPERTY(VisibleAnywhere, Category="Input")
TScriptInterface<class IMyInterface> MyInterface;

My packaged project always crash when exist TScriptInterface in StateTree task instance data, and was bound from a evaluator’s output. But this doesn’t happen in PIE.

TArray<TScriptInterface<>> will crash directly.
TScriptInterface will not crash directly, until use it, it’s bad pointer, I printed MyInterface.GetInterface() with %p, result is “DDDDDDDDDDDDDDDD”.

Did I miss something ?

Same in 5.2.1

Fixed in 5.3

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.