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 ?