I am seeing an ensure failure stating that:
Assertion failed: !IsGarbageCollecting() [File:X:\J\Engine\Source\Runtime\CoreUObject\Private\UObject\UObjectGlobals.cpp] [Line: 2790] Unable to create new object: StaticMeshComponent <name removed for privacy> Creating UObjects while Collecting Garbage is not allowed!
It seems to me that there should be a test to make sure garbage collection is not running before you call QueueEvent_ProcessImportsAndExports() in ConditionalQueueProcessImportsAndExports. But perhaps I’m missing something. I suppose there could also be a lock invoked on garbage collection to prevent this issue. Not sure where that lock should be set though. This ensure is being invoked from
FAsyncLoadingThread::TickAsyncThread()
Ultimately I guess the question is, Is this a bug in the unreal code, or are we somehow invoking an async load when one shouldn’t be done? If the latter, what control would we use to supress loads during the garbage collection? Thanks for any help you can provide.