Hi Everyone,
I’m working on a project using Unreal Engine 5.3.2 and have encountered an unexpected crash when spawning entities in my packaged project. This issue primarily occurs on Open World maps, but I can’t consistently reproduce the crash. Sometimes, I’m able to smoothly spawn over 300 entities one by one, while other times, the project crashes on the very first spawn.
Has anyone experienced a similar issue? Alternatively, if anyone could suggest a more effective debugging method for this type of crash, that would be extremely helpful.
P.S. : You can find the crash log below.
[2024.08.27-19.42.59:674][863]LogWindows: Error: === Critical error: ===
[2024.08.27-19.42.59:674][863]LogWindows: Error:
[2024.08.27-19.42.59:674][863]LogWindows: Error: Fatal error!
[2024.08.27-19.42.59:674][863]LogWindows: Error:
[2024.08.27-19.42.59:674][863]LogWindows: Error: Unhandled Exception: EXCEPTION_ACCESS_VIOLATION reading address 0xffffffffffffffff
[2024.08.27-19.42.59:674][863]LogWindows: Error:
[2024.08.27-19.42.59:674][863]LogWindows: Error: [Callstack] 0x00007ff678e4424d TestProject.exe!FD3D11DynamicRHI::RHISetShaderUniformBuffer() []
[2024.08.27-19.42.59:674][863]LogWindows: Error: [Callstack] 0x00007ff678e08e35 TestProject.exe!UE::RHICore::RHISetShaderParametersShared<FD3D11DynamicRHI,FRHIGraphicsShader>() []
[2024.08.27-19.42.59:674][863]LogWindows: Error: [Callstack] 0x00007ff678e42d4a TestProject.exe!FD3D11DynamicRHI::RHISetShaderParameters() []
[2024.08.27-19.42.59:674][863]LogWindows: Error: [Callstack] 0x00007ff679189742 TestProject.exe!FRHICommandSetShaderParameters<FRHIGraphicsShader>::Execute() []
[2024.08.27-19.42.59:674][863]LogWindows: Error: [Callstack] 0x00007ff677c48a9b TestProject.exe!FRHICommand<FRHICommandSetShaderParameters<FRHIGraphicsShader>,FRHICommandSetShaderParametersString1416>::ExecuteAndDestruct() []
[2024.08.27-19.42.59:674][863]LogWindows: Error: [Callstack] 0x00007ff67918b60d TestProject.exe!FRHICommandListBase::Execute() []
[2024.08.27-19.42.59:674][863]LogWindows: Error: [Callstack] 0x00007ff67919007f TestProject.exe!FRHICommandListImmediate::ExecuteAndReset() []
[2024.08.27-19.42.59:674][863]LogWindows: Error: [Callstack] 0x00007ff6792bc419 TestProject.exe!FRDGBuilder::ExecutePass() []
[2024.08.27-19.42.59:674][863]LogWindows: Error: [Callstack] 0x00007ff6792b9da9 TestProject.exe!FRDGBuilder::Execute() []
[2024.08.27-19.42.59:674][863]LogWindows: Error: [Callstack] 0x00007ff678997fb7 TestProject.exe!FSceneRenderer::RenderThreadEnd() []
[2024.08.27-19.42.59:674][863]LogWindows: Error: [Callstack] 0x00007ff678954947 TestProject.exe!`TPersistentStructuredBuffer<UE::HLSL::FCellBlockData>::ValidateGPUData<`FSceneCullingBuilder::UploadToGPU'::`33'::<lambda_1> >'::`12'::<lambda_1>::operator()() []
[2024.08.27-19.42.59:674][863]LogWindows: Error: [Callstack] 0x00007ff67897cfc5 TestProject.exe!TBaseStaticDelegateInstance<void __cdecl(wchar_t const * __ptr64,IConsoleObject * __ptr64),FDefaultDelegateUserPolicy,unsigned int * __ptr64>::ExecuteIfSafe() []
[2024.08.27-19.42.59:674][863]LogWindows: Error: [Callstack] 0x00007ff674e43d77 TestProject.exe!FNamedTaskThread::ProcessTasksNamedThread() []
[2024.08.27-19.42.59:674][863]LogWindows: Error: [Callstack] 0x00007ff674e4436e TestProject.exe!FNamedTaskThread::ProcessTasksUntilQuit() []
[2024.08.27-19.42.59:674][863]LogWindows: Error: [Callstack] 0x00007ff6792db04a TestProject.exe!RenderingThreadMain() []
[2024.08.27-19.42.59:674][863]LogWindows: Error: [Callstack] 0x00007ff6792e1a99 TestProject.exe!FRenderingThread::Run() []
[2024.08.27-19.42.59:674][863]LogWindows: Error: [Callstack] 0x00007ff6753f53c2 TestProject.exe!FRunnableThreadWin::Run() []
[2024.08.27-19.42.59:674][863]LogWindows: Error: [Callstack] 0x00007ff6753e8e17 TestProject.exe!FRunnableThreadWin::GuardedRun() []
[2024.08.27-19.42.59:674][863]LogWindows: Error: [Callstack] 0x00007fff6dff257d KERNEL32.DLL!UnknownFunction []
[2024.08.27-19.42.59:674][863]LogWindows: Error: