Unity 2020.2.0f1 Crashin on enabling DXR

Hello guys!
Im facing an issue where, when I enable Ray Tracing via HDRP wizard, the project crashes when restarting.
It asks for me to restart Unity to enable DX12 and keeps crashing when starting again.
Can you please help me?

Currently reinstalling it.

Update: Didn’t work.

Hi @HenriqueGomez ,

Could you please submit a bug report for this issue with the reproduction steps attached so we can have a look?

Case opened 1300984. Thank you!

1 Like

Might be a different problem for you, but I was also having this issue even with new projects. As soon as I switched to dx12 it would crash. Found out it was caused by RivaTuner, added a separate setup for Unity.exe to disable it for that (set application detection level to none) which fixed the problem.

1 Like

Hmmmm I have RivaTuner here… Let me try that.

Edit: No Luck. Added Unity.exe to RivaTuner, set the application detection to None but it still crashes. Maybe if I uninstall it. Maybe it is getting detected buy other components? Idk.

Tested on 2021.1.0a9 and the same issue occurs, but works perfectly in version 2019.4.17f1.

Thanks for the bug report @HenriqueGomez ,

The issue has been reproduced and the devs are working on it: Unity Issue Tracker - Crash on CameraStackRenderingState::ReleaseResources when restarting the editor after switching to HDRP + DXR

1 Like