UnityPlayer.dll causing build to crash at random times due to invalid address

For some people it crashes at Thread 0 too:

Thread 0 (crashed)
0 ntdll 0x00007ffdafb704a4 ZwWaitForMultipleObjects
1 KERNELBASE 0x00007ffdacfdfda9 WaitForMultipleObjectsEx
2 KERNELBASE 0x00007ffdacfdfcae WaitForMultipleObjects
3 UnityPlayer 0x00007ffcf3a153ad winutils::ExternalCrashHandler::HandleCrash (C:\build\output\unity\unity\PlatformDependent\Win\ExternalCrashHandler.cpp:357)
4 UnityPlayer 0x00007ffcf3a2cd40 winutils::CrashHandler::HandleCrash (C:\build\output\unity\unity\PlatformDependent\Win\CrashHandler.cpp:285)
5 UnityPlayer 0x00007ffcf3a33239 winutils::ProcessInternalCrash (C:\build\output\unity\unity\PlatformDependent\Win\WinUtils.cpp:594)
6 KERNELBASE 0x00007ffdad0dcd9c UnhandledExceptionFilter
7 ntdll 0x00007ffdafb7907d RtlUserThreadStart$filt$0
8 ntdll 0x00007ffdafb5f187 _C_specific_handler
9 ntdll 0x00007ffdafb749ff RtlpExecuteHandlerForException
10 ntdll 0x00007ffdafaee466 RtlDispatchException
11 ntdll 0x00007ffdafb739ee KiUserExceptionDispatcher
12 UnityPlayer 0x00000000004f2447 (C:\build\output\unity\unity\Runtime\Scripting\ScriptingTypes.h:728)
13 UnityPlayer 0x00000000004f2447 (C:\build\output\unity\unity\Runtime\Scripting\ScriptingTypes.cpp:38)
14 UnityPlayer 0x00000000004f2440 (C:\build\output\unity\unity\Runtime\Graphics\CommandBuffer\RenderingCommandBuffer.cpp:2097)
15 UnityPlayer 0x00007ffcf3512447 RenderingCommandBuffer::ClearCommands (C:\build\output\unity\unity\Runtime\Graphics\CommandBuffer\RenderingCommandBuffer.cpp:2078)
16 UnityPlayer 0x000000000054d2d8 (C:\build\output\unity\unity\Runtime\Graphics\CommandBuffer\RenderingCommandBuffer.cpp:137)
17 UnityPlayer 0x000000000054d2d0 (C:\build\output\unity\unity\Runtime\Core\SharedObject.h:75)
18 UnityPlayer 0x000000000054d2d0 (C:\build\output\unity\unity\Runtime\Core\SharedObject.h:179)
19 UnityPlayer 0x00007ffcf356d2d8 ScriptableRenderContext::CleanupCommandBuffers (C:\build\output\unity\unity\Runtime\Graphics\ScriptableRenderLoop\ScriptableRenderContext.cpp:1175)
20 UnityPlayer 0x00007ffcf356ecbe ScriptableRenderContext::ExecuteScriptableRenderLoop (C:\build\output\unity\unity\Runtime\Graphics\ScriptableRenderLoop\ScriptableRenderContext.cpp:1538)
21 (Mono)
22 (Mono)
23 (Mono)
24 (Mono)
25 (Mono)
26 (Mono)
27 (Mono)
28 (Mono)
29 (Mono)
30 mono-2.0-bdwgc 0x00007ffcf5e04c1e mono_jit_runtime_invoke (C:\build\output\Unity-Technologies\mono\mono\mini\mini-runtime.c:3445)
31 mono-2.0-bdwgc 0x00007ffcf5d3d254 do_runtime_invoke (C:\build\output\Unity-Technologies\mono\mono\metadata\object.c:3068)
32 mono-2.0-bdwgc 0x00000000001cd3b1 mono_runtime_try_invoke (C:\build\output\Unity-Technologies\mono\mono\metadata\object.c:3175)
33 mono-2.0-bdwgc 0x00007ffcf5d3d3cc mono_runtime_invoke (C:\build\output\Unity-Technologies\mono\mono\metadata\object.c:3115)
34 UnityPlayer 0x000000000054fb33 scripting_gc_wbarrier_set_field (C:\build\output\unity\unity\Runtime\ScriptingBackend\Mono\ScriptingNativeApi_Mono.inline.h:87)
35 UnityPlayer 0x000000000054fb33 (C:\build\output\unity\unity\Runtime\ScriptingBackend\ScriptingNativeTypes.h:55)
36 UnityPlayer 0x000000000054fb1a scripting_method_invoke (C:\build\output\unity\unity\Runtime\ScriptingBackend\Mono\ScriptingApi_Mono.cpp:630)
37 UnityPlayer 0x000000000054fb1a (C:\build\output\unity\unity\Runtime\Scripting\ScriptingInvocation.cpp:298)
38 UnityPlayer 0x000000000054fae5 (C:\build\output\unity\unity\Runtime\Scripting\ScriptingInvocation.h:71)
39 UnityPlayer 0x00007ffcf356fb33 ScriptableRenderContext::ExtractAndExecuteRenderPipeline (C:\build\output\unity\unity\Runtime\Graphics\ScriptableRenderLoop\ScriptableRenderContext.cpp:1670)
40 UnityPlayer 0x00000000003eb13d (C:\build\output\unity\unity\Runtime\Camera\RendererScene.cpp:586)
41 UnityPlayer 0x00007ffcf340b13d RenderManager::RenderCamerasWithScriptableRenderLoop (C:\build\output\unity\unity\Runtime\Camera\RenderManager.cpp:281)
42 UnityPlayer 0x00007ffcf340b88e RenderManager::RenderCameras (C:\build\output\unity\unity\Runtime\Camera\RenderManager.cpp:361)
43 UnityPlayer 0x00007ffcf35eaa3f PlayerRender (C:\build\output\unity\unity\Runtime\Misc\Player.cpp:1072)
44 UnityPlayer 0x00007ffcf35dac88 ExecutePlayerLoop (C:\build\output\unity\unity\Runtime\Misc\PlayerLoop.cpp:394)
45 UnityPlayer 0x00007ffcf35dae74 ExecutePlayerLoop (C:\build\output\unity\unity\Runtime\Misc\PlayerLoop.cpp:418)
46 UnityPlayer 0x00007ffcf35db392 PlayerLoop (C:\build\output\unity\unity\Runtime\Misc\PlayerLoop.cpp:527)
47 UnityPlayer 0x000000000080e07b InputPostprocess (C:\build\output\unity\unity\PlatformDependent\Win\Input\GetInput.cpp:392)
48 UnityPlayer 0x00007ffcf382e07b PerformMainLoop (C:\build\output\unity\unity\PlatformDependent\WinPlayer\WinMain.cpp:313)
49 UnityPlayer 0x00007ffcf3830a7b MainMessageLoop (C:\build\output\unity\unity\PlatformDependent\WinPlayer\WinMain.cpp:1250)
50 UnityPlayer 0x00007ffcf3833e2b UnityMainImpl (C:\build\output\unity\unity\PlatformDependent\WinPlayer\WinMain.cpp:1804)
51 UnityPlayer 0x00007ffcf38340cb UnityMain (C:\build\output\unity\unity\PlatformDependent\WinPlayer\WinMain.cpp:1844)
52 Inkression 0x00000000000011d1 invoke_main (d:\agent_work\63\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl:118)
53 Inkression 0x00007ff61f4a11f2 _scrt_common_main_seh (d:\agent_work\63\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl:288)
54 KERNEL32 0x00007ffdad8b257d BaseThreadInitThunk
55 ntdll 0x00007ffdafb2aa48 RtlUserThreadStart
56 ntdll 0x00007ffdafb2aa48 RtlUserThreadStart

This is the most recent dmp file analysis:

KEY_VALUES_STRING: 1

    Key  : AV.Fault
    Value: Write

    Key  : Analysis.CPU.mSec
    Value: 968

    Key  : Analysis.Elapsed.mSec
    Value: 1495

    Key  : Analysis.IO.Other.Mb
    Value: 0

    Key  : Analysis.IO.Read.Mb
    Value: 0

    Key  : Analysis.IO.Write.Mb
    Value: 0

    Key  : Analysis.Init.CPU.mSec
    Value: 140

    Key  : Analysis.Init.Elapsed.mSec
    Value: 19500

    Key  : Analysis.Memory.CommitPeak.Mb
    Value: 155

    Key  : Failure.Bucket
    Value: INVALID_POINTER_WRITE_c0000005_UnityPlayer.dll!block_remove

    Key  : Failure.Hash
    Value: {8659f86a-3f63-19da-892a-62e8cde3d2c8}

    Key  : Timeline.OS.Boot.DeltaSec
    Value: 2919

    Key  : Timeline.Process.Start.DeltaSec
    Value: 2637

    Key  : WER.OS.Branch
    Value: ni_release

    Key  : WER.OS.Version
    Value: 10.0.22621.1

    Key  : WER.Process.Version
    Value: 9.18.944.0


FILE_IN_CAB:  crash (4).dmp

CONTEXT:  (.ecxr)
rax=000001e221e0f9e8 rbx=0000000000000037 rcx=00000000000006e0
rdx=00000001e2219d6d rsi=000001e26c523748 rdi=000001e223718dc8
rip=00007ffcf4283742 rsp=00000003eb8ee178 rbp=00007ffcf4ccb260
r8=000000000000000c  r9=000001e26c523748 r10=0000000000000037
r11=000001e223718d98 r12=0000000000000100 r13=0000000000000000
r14=000001e223718dc8 r15=00007ffcf4ccb260
iopl=0         nv up ei pl nz na pe nc
cs=0033  ss=002b  ds=002b  es=002b  fs=0053  gs=002b             efl=00010202
UnityPlayer!block_remove+0x72:
00007ffc`f4283742 48894218        mov     qword ptr [rdx+18h],rax ds:00000001`e2219d85=????????????????
Resetting default scope

EXCEPTION_RECORD:  (.exr -1)
ExceptionAddress: 00007ffcf4283742 (UnityPlayer!block_remove+0x0000000000000072)
   ExceptionCode: c0000005 (Access violation)
  ExceptionFlags: 00000000
NumberParameters: 2
   Parameter[0]: 0000000000000001
   Parameter[1]: 00000001e2219d85
Attempt to write to address 00000001e2219d85

PROCESS_NAME:  Inkression.exe

WRITE_ADDRESS:  00000001e2219d85

ERROR_CODE: (NTSTATUS) 0xc0000005 - The instruction at 0x%p referenced memory at 0x%p. The memory could not be %s.

EXCEPTION_CODE_STR:  c0000005

EXCEPTION_PARAMETER1:  0000000000000001

EXCEPTION_PARAMETER2:  00000001e2219d85

STACK_TEXT: 
00000003`eb8ee178 00007ffc`f4283f3a     : 000001e2`23718d98 00007ffc`0000029c 00000000`00000000 00000000`00000000 : UnityPlayer!block_remove+0x72
00000003`eb8ee180 00007ffc`f3377b23     : 000001e2`23718dd0 00000000`00001000 000001e2`23718dd0 00000000`00000098 : UnityPlayer!tlsf_free+0x4a
00000003`eb8ee1b0 00007ffc`f3377886     : 00007ffc`00000000 000001e2`23718dd0 000001e2`2469c900 00007ffc`f4ccb260 : UnityPlayer!DynamicHeapAllocator::smile:eallocate+0x163
00000003`eb8ee1e0 00007ffc`f337ef5f     : 000001e2`23718dd0 000001e2`6c523748 00000000`00000000 00000000`00000007 : UnityPlayer!DynamicHeapAllocator::Reallocate+0x1a6
00000003`eb8ee230 00007ffc`f337b2a1     : 00007ffc`f4ccb5c0 00000000`00000029 00000000`00000100 00000000`00000000 : UnityPlayer!DualThreadAllocator<DynamicHeapAllocator>::Reallocate+0xef
00000003`eb8ee270 00007ffc`f3458b0a     : 00000000`00000100 000001e3`eafd2c80 00000000`00000010 bf487196`bd632fc0 : UnityPlayer!MemoryManager::Reallocate+0x1d1
00000003`eb8ee2d0 00007ffc`f3adb42c     : 00000000`00000009 00000003`eb8ee3a0 00000003`eb8ee390 00007ffc`f36db81e : UnityPlayer!core::vector_detail::vector_data::grow+0x7a
00000003`eb8ee320 00007ffc`f3addf47     : 000001e3`eb790010 000001e3`eafd2c80 00000003`eb8ee3d8 bf487193`bd632fbc : UnityPlayer!TriggerStayStates::addTriggerStayState+0xcc
00000003`eb8ee370 00007ffc`f36fbc40     : 00000000`00000007 00000000`00000000 00000000`00000000 000001e2`20be3b00 : UnityPlayer!PhysicsScene::ProcessTriggerEnterExits+0x167
00000003`eb8ee3f0 00007ffc`f36f988c     : 000001e2`700222a0 00000003`00000000 000001e2`21559878 00000000`00000000 : UnityPlayer!PhysicsManager::Simulate+0x1530
00000003`eb8eed00 00007ffc`f35dac88     : 000001e3`4f7a11e8 00000000`00000000 000001e2`215596d8 000001e3`4f7a11e8 : UnityPlayer!`PhysicsManager::InitializeClass'::`2'::FixedUpdatePhysicsFixedUpdateRegistrator::Forward+0x4c
00000003`eb8eed40 00007ffc`f35dae74     : 000001e3`4f7a11e8 000001e3`4f7a11e8 00000003`eb8ef050 00000003`eb8ef060 : UnityPlayer!ExecutePlayerLoop+0xb8
00000003`eb8eef50 00007ffc`f35db392     : 000001e2`70063620 00000000`00000000 00000000`00000000 00000000`00000000 : UnityPlayer!ExecutePlayerLoop+0x2a4
00000003`eb8ef160 00007ffc`f382e07b     : 00000000`00003dff 00000000`00000000 00000000`00000000 00007ffc`f49a7e34 : UnityPlayer!PlayerLoop+0x292
00000003`eb8ef490 00007ffc`f3830a7b     : 00000000`00000f10 00000000`00000000 00000000`00000000 00000000`00000000 : UnityPlayer!PerformMainLoop+0x2eb
00000003`eb8ef500 00007ffc`f3833e2b     : 00000000`00000000 00007ffc`f49e9718 00000000`00000000 00000000`00000000 : UnityPlayer!MainMessageLoop+0x14b
00000003`eb8ef570 00007ffc`f38340cb     : 00000000`00002eb4 00000000`00000000 00000000`00000000 00007ff6`00000001 : UnityPlayer!UnityMainImpl+0x1d6b
00000003`eb8ffe50 00007ff6`1f4a11f2     : 00000000`00000000 00007ff6`1f4a1269 00000000`00000000 00000000`00000000 : UnityPlayer!UnityMain+0xb
00000003`eb8ffe80 00000000`00000000     : 00007ff6`1f4a1269 00000000`00000000 00000000`00000000 00000000`00000000 : Inkression!__scrt_common_main_seh+0x106


STACK_COMMAND:  ~0s; .ecxr ; kb

SYMBOL_NAME:  UnityPlayer!block_remove+72

MODULE_NAME: UnityPlayer

IMAGE_NAME:  UnityPlayer.dll

FAILURE_BUCKET_ID:  INVALID_POINTER_WRITE_c0000005_UnityPlayer.dll!block_remove

OS_VERSION:  10.0.22621.1

BUILDLAB_STR:  ni_release

OSPLATFORM_TYPE:  x64

OSNAME:  Windows 10

IMAGE_VERSION:  2022.3.33.51283

FAILURE_ID_HASH:  {8659f86a-3f63-19da-892a-62e8cde3d2c8}

Followup:     MachineOwner

And this is the one before the previous one:

KEY_VALUES_STRING: 1

    Key  : AV.Dereference
    Value: NullPtr

    Key  : AV.Fault
    Value: Read

    Key  : Analysis.CPU.mSec
    Value: 1139

    Key  : Analysis.Elapsed.mSec
    Value: 1377

    Key  : Analysis.IO.Other.Mb
    Value: 0

    Key  : Analysis.IO.Read.Mb
    Value: 0

    Key  : Analysis.IO.Write.Mb
    Value: 0

    Key  : Analysis.Init.CPU.mSec
    Value: 202

    Key  : Analysis.Init.Elapsed.mSec
    Value: 6941

    Key  : Analysis.Memory.CommitPeak.Mb
    Value: 153

    Key  : Failure.Bucket
    Value: NULL_POINTER_READ_c0000005_UnityPlayer.dll!RenderingCommandBuffer::ClearCommands

    Key  : Failure.Hash
    Value: {ce1bd5b9-d99c-b9ac-3b9f-d0d2a364843b}

    Key  : Timeline.OS.Boot.DeltaSec
    Value: 271

    Key  : Timeline.Process.Start.DeltaSec
    Value: 28

    Key  : WER.OS.Branch
    Value: ni_release

    Key  : WER.OS.Version
    Value: 10.0.22621.1

    Key  : WER.Process.Version
    Value: 9.18.944.0


FILE_IN_CAB:  crash (3).dmp

CONTEXT:  (.ecxr)
rax=0000000000000000 rbx=0000000000000000 rcx=0000000000000000
rdx=0000000001000000 rsi=0000000000000000 rdi=000001c4c381abd0
rip=00007ffcf3512447 rsp=0000009e2b599d50 rbp=0000000000000000
r8=000001c4c3000000  r9=000001c4c381a658 r10=0000000000000003
r11=000001c4932d7408 r12=0000009e2b5cdc98 r13=00000000000000ca
r14=0000000000000005 r15=0000000000000000
iopl=0         nv up ei ng nz na po nc
cs=0033  ss=002b  ds=002b  es=002b  fs=0053  gs=002b             efl=00010286
UnityPlayer!RenderingCommandBuffer::ClearCommands+0x2e7:
00007ffc`f3512447 488b0c06        mov     rcx,qword ptr [rsi+rax] ds:00000000`00000000=????????????????
Resetting default scope

EXCEPTION_RECORD:  (.exr -1)
ExceptionAddress: 00007ffcf3512447 (UnityPlayer!RenderingCommandBuffer::ClearCommands+0x00000000000002e7)
   ExceptionCode: c0000005 (Access violation)
  ExceptionFlags: 00000000
NumberParameters: 2
   Parameter[0]: 0000000000000000
   Parameter[1]: 0000000000000000
Attempt to read from address 0000000000000000

PROCESS_NAME:  Inkression.exe

READ_ADDRESS:  0000000000000000

ERROR_CODE: (NTSTATUS) 0xc0000005 - The instruction at 0x%p referenced memory at 0x%p. The memory could not be %s.

EXCEPTION_CODE_STR:  c0000005

EXCEPTION_PARAMETER1:  0000000000000000

EXCEPTION_PARAMETER2:  0000000000000000

STACK_TEXT: 
0000009e`2b599d50 00007ffc`f356d2d8     : 00000000`0000003a 00000000`00000079 00000000`00000005 0000009e`2b5bdad8 : UnityPlayer!RenderingCommandBuffer::ClearCommands+0x2e7
0000009e`2b599db0 00007ffc`f356ecbe     : 00000000`00000001 00000000`00000420 0000009e`2b599ef0 000001c4`c3d098b8 : UnityPlayer!ScriptableRenderContext::CleanupCommandBuffers+0x58
0000009e`2b599df0 000001c7`2c36fbca     : 0000009e`000257ec 000001c5`d6535e00 000001c7`0000002f 00000000`00000002 : UnityPlayer!ScriptableRenderContext::ExecuteScriptableRenderLoop+0x176e
0000009e`2b5bbab0 00000000`00000000     : 00000000`00000000 00000000`00000000 00000000`00000000 00000000`00000000 : 0x000001c7`2c36fbca


STACK_COMMAND:  ~0s; .ecxr ; kb

SYMBOL_NAME:  UnityPlayer!RenderingCommandBuffer::ClearCommands+2e7

MODULE_NAME: UnityPlayer

IMAGE_NAME:  UnityPlayer.dll

FAILURE_BUCKET_ID:  NULL_POINTER_READ_c0000005_UnityPlayer.dll!RenderingCommandBuffer::ClearCommands

OS_VERSION:  10.0.22621.1

BUILDLAB_STR:  ni_release

OSPLATFORM_TYPE:  x64

OSNAME:  Windows 10

IMAGE_VERSION:  2022.3.33.51283

FAILURE_ID_HASH:  {ce1bd5b9-d99c-b9ac-3b9f-d0d2a364843b}

Followup:     MachineOwner
---------

Unfortunately it sounds like we’re approaching the limit of what I can diagnose via the forum. We’d need a bug report with a repro project to dig into it further.

This sounds like a really nasty issue. In addition to reporting a bug, I would suggest cutting parts of your game out to try to bisect where the problem is. It really looks like something is stomping over memory but it’s unclear what.

How should I proceed with a repro project?

You can either submit your project through the bug reporter or give us a link to a github repository or a cloud storage drive (like google drive) where it is stored.

Ok thank you very much. We’ll get that started!

We have submitted a bug report through the engine.

Im on 2022.3.58f and when im on build process the editor crashes and gives me this error. Only when using DX12, not replicable on DX11.

I also have Amplified shader on my project

*******************************************************************************
*                                                                             *
*                        Exception Analysis                                   *
*                                                                             *
*******************************************************************************


KEY_VALUES_STRING: 1

    Key  : AV.Dereference
    Value: NullClassPtr

    Key  : AV.Fault
    Value: Read

    Key  : Analysis.CPU.mSec
    Value: 140

    Key  : Analysis.Elapsed.mSec
    Value: 329

    Key  : Analysis.IO.Other.Mb
    Value: 0

    Key  : Analysis.IO.Read.Mb
    Value: 1

    Key  : Analysis.IO.Write.Mb
    Value: 0

    Key  : Analysis.Init.CPU.mSec
    Value: 31

    Key  : Analysis.Init.Elapsed.mSec
    Value: 2897

    Key  : Analysis.Memory.CommitPeak.Mb
    Value: 208

    Key  : Analysis.Version.DbgEng
    Value: 10.0.27725.1000

    Key  : Analysis.Version.Description
    Value: 10.2408.27.01 amd64fre

    Key  : Analysis.Version.Ext
    Value: 1.2408.27.1

    Key  : Failure.Bucket
    Value: NULL_CLASS_PTR_READ_c0000005_Unity.exe!Unknown

    Key  : Failure.Hash
    Value: {f27ef67a-9ea5-6773-47dd-a4cec9142670}

    Key  : Timeline.OS.Boot.DeltaSec
    Value: 36207

    Key  : Timeline.Process.Start.DeltaSec
    Value: 715

    Key  : WER.OS.Branch
    Value: ni_release

    Key  : WER.OS.Version
    Value: 10.0.22621.1

    Key  : WER.Process.Version
    Value: 2022.3.58.32622


FILE_IN_CAB:  crash.dmp

CONTEXT:  (.ecxr)
rax=0000000000000000 rbx=000001b92735cfc0 rcx=000001b92db33020
rdx=ffffffffffffffff rsi=0000000000000000 rdi=0000000000000000
rip=00007ff7afbfe86e rsp=0000000a06efda50 rbp=0000000000000000
 r8=0000000000000030  r9=0000000000000000 r10=0000000000000000
r11=0000000a06efd830 r12=0000000000000000 r13=0000000000000001
r14=000001b940fea8c0 r15=000001b92735cfc0
iopl=0         nv up ei pl nz na pe nc
cs=0033  ss=002b  ds=002b  es=002b  fs=0053  gs=002b             efl=00010202
Unity+0x128e86e:
00007ff7`afbfe86e 488b7840        mov     rdi,qword ptr [rax+40h] ds:00000000`00000040=????????????????
Resetting default scope

EXCEPTION_RECORD:  (.exr -1)
ExceptionAddress: 00007ff7afbfe86e (Unity+0x000000000128e86e)
   ExceptionCode: c0000005 (Access violation)
  ExceptionFlags: 00000000
NumberParameters: 2
   Parameter[0]: 0000000000000000
   Parameter[1]: 0000000000000040
Attempt to read from address 0000000000000040

PROCESS_NAME:  Unity.exe

READ_ADDRESS:  0000000000000040 

ERROR_CODE: (NTSTATUS) 0xc0000005 - La instrucci n en 0x%p hace referencia a la memoria en 0x%p. La memoria no se pudo %s.

EXCEPTION_CODE_STR:  c0000005

EXCEPTION_PARAMETER1:  0000000000000000

EXCEPTION_PARAMETER2:  0000000000000040

STACK_TEXT:  
0000000a`06efda50 00007ff7`af98f322     : 0000000a`06efdc10 0000000a`06efdc10 00000000`00000001 00000000`00000030 : Unity+0x128e86e
0000000a`06efda90 00007ff7`b12a93e9     : 00007ff7`b3221440 000001b9`2735cfc0 000001ba`c07d2508 00007ff7`b12a9166 : Unity+0x101f322
0000000a`06efdb80 00007ff7`b12ac63b     : 00000000`00400000 0000000a`06efdc10 000001b9`00002793 00000001`00000000 : Unity!udnSetPath+0x539c59
0000000a`06eff950 00007ff7`b12ac758     : 000001b9`40fd2a40 0000000a`06effab0 000001b9`20172920 00000000`00000018 : Unity!udnSetPath+0x53ceab
0000000a`06eff980 00007ff7`af8c7f5b     : 0000000a`06eff9e4 000001b8`8001c7a8 000001b9`20172920 00000000`00000018 : Unity!udnSetPath+0x53cfc8
0000000a`06eff9b0 00007ff8`b625257d     : 0000000a`06effa60 00000000`00000000 00000000`00000000 00000000`00000000 : Unity+0xf57f5b
0000000a`06effb00 00007ff8`b7c4aa58     : 00000000`00000000 00000000`00000000 00000000`00000000 00000000`00000000 : kernel32!BaseThreadInitThunk+0x1d
0000000a`06effb30 00000000`00000000     : 00000000`00000000 00000000`00000000 00000000`00000000 00000000`00000000 : ntdll!RtlUserThreadStart+0x28


SYMBOL_NAME:  Unity+128e86e

MODULE_NAME: Unity

IMAGE_NAME:  Unity.exe

STACK_COMMAND:  ~76s; .ecxr ; kb

FAILURE_BUCKET_ID:  NULL_CLASS_PTR_READ_c0000005_Unity.exe!Unknown

OS_VERSION:  10.0.22621.1

BUILDLAB_STR:  ni_release

OSPLATFORM_TYPE:  x64

OSNAME:  Windows 10

IMAGE_VERSION:  2022.3.58.32622

FAILURE_ID_HASH:  {f27ef67a-9ea5-6773-47dd-a4cec9142670}

Followup:     MachineOwner
---------

Can you resolve symbols for Unity.exe? The log you posted isn’t very useful as the stacktrace has no symbols in it. Since you’re in WinDBG, you can do that by adding our symbol server to the command:

.sympath+ https://symbolserver.unity3d.com
.reload /f
k
0:076> .sympath+ https://symbolserver.unity3d.com
Symbol search path is: srv*;https://symbolserver.unity3d.com
Expanded Symbol search path is: cache*;SRV*https://msdl.microsoft.com/download/symbols;https://symbolserver.unity3d.com

************* Path validation summary **************
Response                         Time (ms)     Location
Deferred                                       srv*
Deferred                                       https://symbolserver.unity3d.com
0:076> .reload /f
.

Press ctrl-c (cdb, kd, ntsd) or ctrl-break (windbg) to abort symbol loads that take too long.
Run !sym noisy before .reload to track down problems loading symbols.

......*** WARNING: Unable to verify checksum for s3tcompress.dll
..*** WARNING: Unable to verify checksum for etccompress.dll
......*** WARNING: Unable to verify checksum for compress_bc7e.dll
..*** WARNING: Unable to verify checksum for ispc_texcomp.dll
..*** WARNING: Unable to verify checksum for FreeImage.dll
....*** WARNING: Unable to verify checksum for umbraoptimizer64.dll
.................................*** WARNING: Unable to verify checksum for embree.dll
........
..............................*** WARNING: Unable to verify checksum for NVUnityPlugin.DLL
.*** WARNING: Unable to verify checksum for astcenc-avx2.dll
.................................
..............*** WARNING: Unable to verify checksum for cudart64_90.dll
..*** WARNING: Unable to verify checksum for radeonrays.dll
.*** WARNING: Unable to verify checksum for mono-2.0-bdwgc.dll
.*** WARNING: Unable to verify checksum for MonoDebuggerHandling.dll
..*** WARNING: Unable to verify checksum for burst-llvm-18.dll
.*** WARNING: Unable to verify checksum for c7012681f0105c38cb4d483c6b48b235.dll
.*** WARNING: Unable to verify checksum for 26f8041c3f47d86fbc691170e371ea46.dll
.*** WARNING: Unable to verify checksum for ca299d4a491cde990843487ab250b6d4.dll
.*** WARNING: Unable to verify checksum for b9c573c95840f1c9de5f760027afce3f.dll
.*** WARNING: Unable to verify checksum for 0cdd6e4c868542c0234d4cd8a5f3c42f.dll
.*** WARNING: Unable to verify checksum for 01622b635d997dc770ce06e553550d34.dll
.*** WARNING: Unable to verify checksum for 5db9b0b88e0c8e758d713aa9c5e4e716.dll
.*** WARNING: Unable to verify checksum for b2aabeae0172eeeb2993fb6bba1d7be7.dll
....................................
....................................Unable to load image C:\Users\ismae\AppData\Local\Microsoft\OneDrive\25.020.0202.0001\FileSyncShell64.dll, Win32 error 0n2
*** WARNING: Unable to verify timestamp for FileSyncShell64.dll
..........*** WARNING: Unable to verify checksum for dxilconv.dll


************* Symbol Loading Error Summary **************
Module name            Error
kernel32               The system cannot find the file specified
s3tcompress            The system cannot find the file specified
libfbxsdk              The system cannot find the file specified
etccompress            The system cannot find the file specified
compress_bc7e          The system cannot find the file specified
ispc_texcomp           The system cannot find the file specified
FreeImage              The system cannot find the file specified
WinPixEventRuntime     The system cannot find the file specified
umbraoptimizer64       The system cannot find the file specified
NativeProxyHelper      The system cannot find the file specified
SketchUpAPI            The system cannot find the file specified
SketchUpCommonPreferen The system cannot find the file specified
OpenRL                 The system cannot find the file specified
embree                 The system cannot find the file specified
tbb                    The system cannot find the file specified
OpenRL_pthread         The system cannot find the file specified
NVUnityPlugin          The system cannot find the file specified
msctf                  The system cannot find the file specified
explorerframe          The system cannot find the file specified
mf                     The system cannot find the file specified
nvldumdx               The system cannot find the file specified
nvgpucomp64            The system cannot find the file specified
NvMessageBus           The system cannot find the file specified
nvwgf2umx              The system cannot find the file specified
nvspcap64              The system cannot find the file specified
nvppex                 The system cannot find the file specified
cudart64_90            The system cannot find the file specified
OpenCL                 The system cannot find the file specified
radeonrays             The system cannot find the file specified
MonoDebuggerHandling   The system cannot find the file specified
burst-llvm-18          The system cannot find the file specified
c7012681f0105c38cb4d48 The system cannot find the file specified
26f8041c3f47d86fbc6911 The system cannot find the file specified
ca299d4a491cde99084348 The system cannot find the file specified
b9c573c95840f1c9de5f76 The system cannot find the file specified
0cdd6e4c868542c0234d4c The system cannot find the file specified
01622b635d997dc770ce06 The system cannot find the file specified
5db9b0b88e0c8e758d713a The system cannot find the file specified
b2aabeae0172eeeb2993fb The system cannot find the file specified
_nvngx                 The system cannot find the file specified
nvapi64                The system cannot find the file specified
nvngx_dlss             The system cannot find the file specified
NvTelemetryAPI64       The system cannot find the file specified
nvcuda64               The system cannot find the file specified
nvdxgdmal64            The system cannot find the file specified
NvTelemetryBridge64    The system cannot find the file specified
CoreUIComponents       The system cannot find the file specified
propsys                The system cannot find the file specified
xmllite                The system cannot find the file specified
cldapi                 The system cannot find the file specified
windowsudk.shellcommon The system cannot find the file specified
Windows.UI.Immersive   The system cannot find the file specified
twinapi                The system cannot find the file specified
mssprxy                The system cannot find the file specified
urlmon                 The system cannot find the file specified
CoreSync_x64           The system cannot find the file specified
TortoiseOverlays       The system cannot find the file specified
TortoiseGitStub        The system cannot find the file specified
TortoiseGit            The system cannot find the file specified
libgit2_tgit           The system cannot find the file specified
gitdll                 The system cannot find the file specified
zlib1_tgit             The system cannot find the file specified
FileSyncShell64        The system cannot find the file specified
wininet                The system cannot find the file specified

You can troubleshoot most symbol related issues by turning on symbol loading diagnostics (!sym noisy) and repeating the command that caused symbols to be loaded.
You should also verify that your symbol search path (.sympath) is correct.
0:076> k
 # Child-SP          RetAddr               Call Site
00 0000000a`06efc578 00007ff8`b529ffc9     ntdll!NtWaitForMultipleObjects+0x14
01 0000000a`06efc580 00007ff8`b529fece     KERNELBASE!WaitForMultipleObjectsEx+0xe9
02 0000000a`06efc860 00007ff7`afb5368c     KERNELBASE!WaitForMultipleObjects+0xe
03 0000000a`06efc8a0 00007ff7`afb53722     Unity!winutils::ExternalCrashHandler::HandleCrash+0x26c
04 0000000a`06efc960 00007ff7`afb689ea     Unity!winutils::ExternalCrashHandler::HandleCrash+0x22
05 0000000a`06efc9b0 00007ff8`b539c8ac     Unity!winutils::ProcessInternalCrash+0x14a
06 0000000a`06efc9f0 00007ff8`b7c98abd     KERNELBASE!UnhandledExceptionFilter+0x1ec
07 0000000a`06efcb10 00007ff8`b7c7f197     ntdll!RtlUserThreadStart$filt$0+0xac
08 0000000a`06efcb50 00007ff8`b7c9441f     ntdll!_C_specific_handler+0x97
09 0000000a`06efcbc0 00007ff8`b7c0e466     ntdll!RtlpExecuteHandlerForException+0xf
0a 0000000a`06efcbf0 00007ff8`b7c9340e     ntdll!RtlDispatchException+0x286
0b 0000000a`06efd340 00007ff7`afbfe86e     ntdll!KiUserExceptionDispatch+0x2e
0c 0000000a`06efda50 00007ff7`af98f322     Unity!BufferD3D12::BeginWrite+0x13e
0d 0000000a`06efda90 00007ff7`b12a93e9     Unity!GfxDevice::UpdateBufferRanges+0x92
0e 0000000a`06efdb80 00007ff7`b12ac63b     Unity!GfxDeviceWorker::RunCommand+0xac69
0f 0000000a`06eff950 00007ff7`b12ac758     Unity!GfxDeviceWorker::RunExt+0x6b
10 0000000a`06eff980 00007ff7`af8c7f5b     Unity!GfxDeviceWorker::RunGfxDeviceWorker+0xb8
11 0000000a`06eff9b0 00007ff8`b625257d     Unity!Thread::RunThreadWrapper+0x48b
12 0000000a`06effb00 00007ff8`b7c4aa58     kernel32!BaseThreadInitThunk+0x1d
13 0000000a`06effb30 00000000`00000000     ntdll!RtlUserThreadStart+0x28

Thanks, that looks like a crash in our D3D12 code. I suspect that something is causing the device to get lost - it probably ends up in the editor log. We will probably need a bug report & a project to investigate this further. The only workaround I can offer for now is trying to switch the editor to use a different graphics API, for instance D3D11.

Do you want me to send you a specific file?

Ideally you’d send the project that reproduces the issue with the bug report.

I don’t think I can send you the project