Issues enabling DXR

I am running a 3060 on Windows 10 (latest drivers and updated) and I cannot enable DXR.

I cannot get past this error:

7029262--832894--upload_2021-4-12_20-49-54.png

Additionaly. I am required to force unity to booth in dx11 moce otherwise Unity crashes or the editor renders black

And advice would be most welcome!

Hello @anomalousinteractive , when you try to fix this step, is there some console error being thrown that could prevent you for fixing it ?
This “DXR resources” fix depends partially on this static variable SystemInfo.supportsRayTracing.
As you can see in the doc, for this to be “true”, multiple things have to be correct (GPU, OS Version, Correct DX12 api, drivers etc…)
What you can check is to verify what this variable returns in your case, that might help narrowing down the issue.
Also what HDRP / Engine version are you using ?

Thanks for replying! I cannot open that project today in either forced d3d11 mode or 12 (it just crashes everytime in force d3d11 or renders as below)

That’s ok it was just the HDRP example project, so I started a fresh one.

I am on HDRP: 10.3.2 and Unity 2020.3.1.f

SystemInfo.supportsRayTracing returns False!
This is my current system:

AMD Ryzen 9 3900X 12-Core Processor 3.79 GHz
Nvidia GeForce RTX 3060 (Latest Drivers and DX installed)
32GB Ram
Windows 10 Pro 19042.906 (not currently activated though as we are getting new seats at work)

This is what my Editor looks like when it runs in d3d12:
7032595--833419--upload_2021-4-13_10-45-43.png

Thanks, this variable is true if the GPU supports ray tracing, Windows 10 version is 1809 RS5 or newer is installed and has latest recent graphics drivers and of course you’re using DX12.

Since your windows version seems newer, and your GPU support raytracing, this is likely a driver problem or a directX one, especially if everything render black with DX12.
I’d suggest to reinstall a clean version of those and make sure DX12 rendering works before enabling ray tracing in the project !

Got it working, thanks!

1 Like

I’m running into the same issue. What fixed it?
I can run ray tracing in Unity 2019.4.11f1 without issue but when I switch to DirectX12 in Unity2021.1.7f1 I get the DXR error and can’t see anything in the editor viewports or render view.

Never mind. Upgrading from Unity 2021.1.7f1 to Unity 2021.1.11f1 fixed my issue.