Random unity crashes on windows with 2020.3 URP

Hi,

I’m experiencing this crash for multiple users:

Native Crash - ?__CxxUnhandledExceptionFilter@@YGJPAU_EXCEPTION_POINTERS@@@Z

This is the common ground based on the stats:

  • gpu_version Direct3D 11.0 [level 11.1]

  • GPU: NVIDIA GeForce GTX 1060, NVIDIA GeForce GTX 980 Ti, Radeon RX 580 Series

  • CPU: Multi-core of all kinds

  • Windows 10: 10.0.19041 and 10.0.19042

The thread stack looks like this:

Thread 78 (crashed)
0   ntdll                              0x00000000771b2f3c _ZwWaitForMultipleObjects@20
1   KERNELBASE                         0x00000000753aa328 WaitForMultipleObjects@16
2   UnityPlayer                        0x0000000050d2647c ?HandleCrash@ExternalCrashHandler@winutils@@AAEXKKPBDPAU_CONTEXT@@PAU_EXCEPTION_RECORD@@_N@Z
3   UnityPlayer                        0x0000000050d264da ?HandleCrash@ExternalCrashHandler@winutils@@QAE_NKKPAU_EXCEPTION_POINTERS@@@Z
4   UnityPlayer                        0x0000000050d3367b ?ProcessInternalCrash@winutils@@YAHPAU_EXCEPTION_POINTERS@@_N@Z
5   UnityPlayer                        0x0000000050d342cd ?_ProcessInternalCrash@@YGJPAU_EXCEPTION_POINTERS@@@Z
6   xinput1_3                          0x000000000040c9d3 ?__CxxUnhandledExceptionFilter@@YGJPAU_EXCEPTION_POINTERS@@@Z
7   CSERHelper                         0x0000000073fe25af <system symbols missing>
8   ntdll                              0x00000000771e4762 RtlCaptureStackContext@12
9   ntdll                              0x00000000771a7a1e _RtlUserThreadStart@8
10  ntdll                              0x00000000771a7a1e _RtlUserThreadStart@8

Currently we are using 2020.3.7f1. The error logs for .8 and .9 don’t look like they may have fixed this.

This thread seems to report a similar problem and the workaround there was to “disable dynamic batching and a few other options”: Random unity crashes on windows with 2018.4

I have disabled dynamic batching, graphics jobs, SRP batcher and mixed lighting and currently I’m running out of ideas what else I can try.

I’m also not sure what I can do to help you identify/reproduce the problem, since it never happened on any of our dev systems.

Any help is highly appreciated :slight_smile:

Best, Martin

Any idea?!

Anyone else having the same problem?

Hey
We’re using 2020.3.19f1, we have the exact same problem as you.
Did you find the solution?