I’ve got a derived version of USoundNode, with an UPROPERTY
UPROPERTY(EditAnywhere, Category=WavePlayer, meta=(DisplayName="REV Model Asset"))
TAssetPtr<UREVModelAsset> REVModelAssetPtr;
I’m trying to Async load the asset as soon as possible. However I can’t find a callback into my UObject/USoundObject such that
a) The UProperty is valid and has been ‘injected’
b) Async Loading is allowed: I’ve been bumping into an assert that doesn’t allow me to load.
[2017.10.20-04.24.53:140][ 0]LogUObjectGlobals: Warning: Calling StaticLoadObject during PostLoad may result in hitches during streaming.
Assertion failed: RecursionNotAllowed.Increment() == 1 [File:D:\Build\++UE4+Release-4.17+Compile\Sync\Engine\Source\Runtime\CoreUObject\Private\Serialization\AsyncLoading.cpp] [Line: 4244]
I’ve tried
virtual void PostLoad() override; //Asserts
virtual void PostInitProperties();//UProperties are not setup yet.
Does anyone have a magic callback such that its actually time to perform my AsyncLoad operations?