The game that we’ve made is keep crashing on Unity version 2021.3.25f1 and the crash report of the game include below:
Why is this happen?
I might think that it’s because nature renderer or maybe some null shaders, any suggestions how to fix this? Also this just sometimes crash in one single event of the game. For instance, changing the map, sleeping in the game etc. We couldn’t still find exact solution or origin of this problem.
In addition, system requirements are not important for this problem, it just keep crashes anyway.
Thread 46 (crashed)
0 ntdll 0x00007ffebeb90c24 NtWaitForMultipleObjects
1 KERNELBASE 0x00007ffebc0e6989 WaitForMultipleObjectsEx
2 KERNELBASE 0x00007ffebc0e688e WaitForMultipleObjects
3 UnityPlayer 0x00007ffe049456b2 winutils::ExternalCrashHandler::HandleCrash (C:\build\output\unity\unity\PlatformDependent\Win\ExternalCrashHandler.cpp:354)
4 UnityPlayer 0x00007ffe04945742 winutils::ExternalCrashHandler::HandleCrash (C:\build\output\unity\unity\PlatformDependent\Win\ExternalCrashHandler.cpp:426)
5 UnityPlayer 0x00007ffe04956548 winutils::ProcessInternalCrash (C:\build\output\unity\unity\PlatformDependent\Win\WinUtils.cpp:596)
6 KERNELBASE 0x00007ffebc1fb21c UnhandledExceptionFilter
7 ntdll 0x00007ffebeb997fd RtlUserThreadStart$filt$0
8 ntdll 0x00007ffebeb7f687 _C_specific_handler
9 ntdll 0x00007ffebeb9517f RtlpExecuteHandlerForException
10 ntdll 0x00007ffebeb0e856 RtlDispatchException
11 ntdll 0x00007ffebeb9416e KiUserExceptionDispatcher
12 d3d11 0x00007ffeb6ef588b ??$TID3D11DeviceContext_Unmap_@$00@CContext@@SAXPEAUID3D11DeviceContext5@@PEAUID3D11Resource@@I@Z
13 UnityPlayer 0x00007ffe04881452 BufferD3D11::EndWrite (C:\build\output\unity\unity\Runtime\GfxDevice\d3d11\BufferD3D11.cpp:298)
14 UnityPlayer 0x00007ffe04876df3 GfxDeviceD3D11Base::EndBufferWrite (C:\build\output\unity\unity\Runtime\GfxDevice\d3d11\GfxDeviceD3D11.cpp:1483)
15 UnityPlayer 0x00007ffe046e43f6 GeometryJobTasks::PutGeometryJobTaskInternal (C:\build\output\unity\unity\Runtime\GfxDevice\GeometryJob.cpp:176)
16 UnityPlayer 0x00000000005c43ad atomic_store_explicit (C:\build\output\unity\unity\Runtime\Threads\ExtendedAtomicOps-x86-64.h:177)
17 UnityPlayer 0x00000000005c43ad (C:\build\output\unity\unity\Runtime\Threads\ReadWriteSpinLock.h:106)
18 UnityPlayer 0x00000000005c43ad (C:\build\output\unity\unity\Runtime\Threads\AutoReadWriteLock.h:23)
19 UnityPlayer 0x00007ffe046e43ad GeometryJobTasks::PutGeometryJobTask (C:\build\output\unity\unity\Runtime\GfxDevice\GeometryJob.cpp:160)
20 UnityPlayer 0x00000000005c341d Baselib_atomic_compare_exchange_weak_128_relaxed_relaxed_v (C:\build\output\unity\unity\External\baselib\builds\Include\C\Internal\Compiler\Baselib_Atomic_Msvc.h:257)
21 UnityPlayer 0x00000000005c341d Baselib_atomic_load_128_relaxed_v (C:\build\output\unity\unity\External\baselib\builds\Include\C\Internal\Compiler\Baselib_Atomic_Msvc.h:257)
22 UnityPlayer 0x00000000005c341d atomic_load_explicit (C:\build\output\unity\unity\External\baselib\builds\Include\Cpp\Atomic.h:163)
23 UnityPlayer 0x00000000005c341d (C:\build\output\unity\unity\External\baselib\builds\Include\Cpp\Atomic.h:346)
24 UnityPlayer 0x00000000005c341d (C:\build\output\unity\unity\External\baselib\builds\Include\Cpp\mpsc_node_stack.h:69)
25 UnityPlayer 0x00007ffe046e341d GeometryJobTasks::EndFrame (C:\build\output\unity\unity\Runtime\GfxDevice\GeometryJob.cpp:105)
26 UnityPlayer 0x00007ffe04f3520b GfxDeviceWorker::RunCommand (C:\build\output\unity\unity\Runtime\GfxDevice\threaded\GfxDeviceWorker.cpp:748)
27 UnityPlayer 0x0000000000e1fe1b CallReadReleaseDataIfNeeded (C:\build\output\unity\unity\Runtime\GfxDevice\threaded\GfxDeviceWorker.cpp:90)
28 UnityPlayer 0x0000000000e1fe1b ProcessGfxCommands (C:\build\output\unity\unity\Runtime\GfxDevice\threaded\GfxDeviceWorker.cpp:119)
29 UnityPlayer 0x00007ffe04f3fe1b GfxDeviceWorker::RunExt (C:\build\output\unity\unity\Runtime\GfxDevice\threaded\GfxDeviceWorker.cpp:381)
30 UnityPlayer 0x00007ffe04f3fee9 GfxDeviceWorker::RunGfxDeviceWorker (C:\build\output\unity\unity\Runtime\GfxDevice\threaded\GfxDeviceWorker.cpp:339)
31 UnityPlayer 0x00007ffe04699cf1 Thread::RunThreadWrapper (C:\build\output\unity\unity\Runtime\Threads\Thread.cpp:82)
32 KERNEL32 0x00007ffebc97257d BaseThreadInitThunk
33 ntdll 0x00007ffebeb4af08 RtlUserThreadStart
34 ntdll 0x00007ffebeb4af08 RtlUserThreadStart