Files
UnrealEngineUWP/Engine/Source/Runtime/MeshDescription/Private/MeshDescriptionBaseBulkData.cpp
richard talbotwatkin e62b002625 Changes for allocating StaticMesh subobjects in a more thread-safe way.
Always construct a UMeshDescriptionBase as a default subobject of the MeshDescriptionBulkData object, which can be recycled each time a UMeshDescriptionBase is required for that LOD.
Put GC scope guards around NewObject<> allocations to avoid clashes with GC when allocated on a thread.
Also identified other static mesh subobjects which can be potentially created in cooking commandlets when GC is taking place.
#jira UE-109204
#jira UE-109439
[FYI] Danny.Couture

#ROBOMERGE-SOURCE: CL 15534994 in //UE5/Release-5.0-EarlyAccess/...
#ROBOMERGE-BOT: STARSHIP (Release-5.0-EarlyAccess -> Main) (v771-15082668)

[CL 15535009 by richard talbotwatkin in ue5-main branch]
2021-02-25 18:14:04 -04:00

2.9 KiB