FStaticMeshInstanceBuffer Crash on PIE

I ran into this issue as well.

In FStaticMeshInstanceBuffer::SetupCPUAccess(), the function tries to get the CVar value by calling CVar->GetValueOnGameThread(). Since nearly everything is Async Loading now, and this call can happen on the loading thread, you get the crash since it ensures that the call can only be made on the game thread.

So, you can do one of two things:

  1. Don’t Async load anything.

  2. Change the call to CVar->GetValueOnAnyThread().

I made the second change in my codebase without any issue.

Hope that helps!