# Solved : Cant Enable RayTracing in UE5 (gtx 1060)(Nvidia Pascal)

**URL:** <https://forums.unrealengine.com/t/solved-cant-enable-raytracing-in-ue5-gtx-1060-nvidia-pascal/231479>\
**Category:** Rendering\
**Tags:** unreal-engine, UE5-0\
**Created:** [May 27, 2021, 5:52am UTC](https://forums.unrealengine.com/t/solved-cant-enable-raytracing-in-ue5-gtx-1060-nvidia-pascal/231479 "2021-05-27T05:52:07Z")\
**Posts on this page:** 20\
**Page:** 4

<div class="post-metadata">

**Author:** ![Ponwes](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Ponwes](https://forums.unrealengine.com/u/Ponwes)\
**Post date:** [July 27, 2022, 5:06pm UTC](https://forums.unrealengine.com/t/solved-cant-enable-raytracing-in-ue5-gtx-1060-nvidia-pascal/231479/64 "2022-07-27T17:06:03Z")

</div>

Thank you!

---

<div class="post-metadata">

**Author:** ![ydem](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@ydem](https://forums.unrealengine.com/u/ydem)\
**Post date:** [July 31, 2022, 12:20am UTC](https://forums.unrealengine.com/t/solved-cant-enable-raytracing-in-ue5-gtx-1060-nvidia-pascal/231479/65 "2022-07-31T00:20:11Z")

</div>

Sorry didn’t check the forum for a while, glad you got the file from @JohnDow.

I’m wondering how we compile that library in the first place. (In case of updates in the future)

Do we need the full unreal engine source code and compile all the files (then copy that specific dll) ? or can we compile just a single file or folder and get a new dll file?

---

<div class="post-metadata">

**Author:** ![kotn3l](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@kotn3l](https://forums.unrealengine.com/u/kotn3l)\
**Post date:** [August 17, 2022, 8:27pm UTC](https://forums.unrealengine.com/t/solved-cant-enable-raytracing-in-ue5-gtx-1060-nvidia-pascal/231479/66 "2022-08-17T20:27:38Z")

</div>

Okay, just compiled 5.1.0, did these same changes, put the thing into the config and now I still don’t have pathtracing. Anyone could help me out?

Did they add more obstacles to enabling pathtracing on older cards? Still can’t figure this out, going crazy lol.

Okay, the issue:  
Ray tracing is disabled because D3D12 ray tracing tier 1.1 is required but only tier 1.0 is supported.  
bruh

OKAY I FIXED IT: new dll for 5.1 development build (latest commits merged from yesterday). I replaced the tier checking code from 5.0 and it’s working still!  
I tried just using all the tier 1.1 features, but I get a D3D device crash, probably because those are features that are actually turned off in the driver itself.

[mega link for dll](https://mega.nz/file/XJNwgaxL#cS0rmpOisudsb1QoxTrciGnwarmEXcGgTTpuy2zPIig)

---

<div class="post-metadata">

**Author:** ![notedmusician](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@notedmusician](https://forums.unrealengine.com/u/notedmusician)\
**Post date:** [August 19, 2022, 8:20pm UTC](https://forums.unrealengine.com/t/solved-cant-enable-raytracing-in-ue5-gtx-1060-nvidia-pascal/231479/67 "2022-08-19T20:20:30Z")

</div>

Download link broken, I have UE 5.0.3 and having same issue with 3090 win 11 and 5900x

---

<div class="post-metadata">

**Author:** ![Ponwes](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Ponwes](https://forums.unrealengine.com/u/Ponwes)\
**Post date:** [August 20, 2022, 4:32pm UTC](https://forums.unrealengine.com/t/solved-cant-enable-raytracing-in-ue5-gtx-1060-nvidia-pascal/231479/68 "2022-08-20T16:32:39Z")

</div>

What do you mean? A RTX 3090 wouldn’t need this fix! Just turn on direct X12 and run like the wind.

---

<div class="post-metadata">

**Author:** ![kotn3l](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@kotn3l](https://forums.unrealengine.com/u/kotn3l)\
**Post date:** [August 21, 2022, 12:08pm UTC](https://forums.unrealengine.com/t/solved-cant-enable-raytracing-in-ue5-gtx-1060-nvidia-pascal/231479/69 "2022-08-21T12:08:15Z")

</div>

Yes exactly! Also this is strictly for the yet unreleased 5.1! Do **NOT** mismatch engine and dll versions.

---

<div class="post-metadata">

**Author:** ![subboy2004or69](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@subboy2004or69](https://forums.unrealengine.com/u/subboy2004or69)\
**Post date:** [September 14, 2022, 3:42am UTC](https://forums.unrealengine.com/t/solved-cant-enable-raytracing-in-ue5-gtx-1060-nvidia-pascal/231479/70 "2022-09-14T03:42:46Z")

</div>

Has anyone compiled the dll for 5.0.3 ? Please share the file if yes.

---

<div class="post-metadata">

**Author:** ![kotn3l](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@kotn3l](https://forums.unrealengine.com/u/kotn3l)\
**Post date:** [September 14, 2022, 3:21pm UTC](https://forums.unrealengine.com/t/solved-cant-enable-raytracing-in-ue5-gtx-1060-nvidia-pascal/231479/71 "2022-09-14T15:21:23Z")

</div>

You could try and download the **5.1 preview** dll I compiled from [here](https://github.com/kotn3l/UnrealEngine/releases) – I don’t see any reason why it shouldn’t work, even though I just said not to mismatch dlls between versions, but in theory if they haven’t changed anything in that source file between the versions, it should work. **Be sure to back up your cureent DLL though!!!**

I also compiled a new, 5.2 version of that DLL. They’ve added yet another lock on raytracing, but it really only matters if you have a ray tracing tier 1.1 GPU. [Here’s the change I made.](https://github.com/kotn3l/UnrealEngine/commit/d0f30c9edf36705eba7f849e44beb7c8f7521508)

---

<div class="post-metadata">

**Author:** ![AnyOldIron](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@AnyOldIron](https://forums.unrealengine.com/u/AnyOldIron)\
**Post date:** [September 17, 2022, 2:35pm UTC](https://forums.unrealengine.com/t/solved-cant-enable-raytracing-in-ue5-gtx-1060-nvidia-pascal/231479/72 "2022-09-17T14:35:28Z")

</div>

You sir are a legend. I’ve been trying to get this working for 3 days straight!

You have my eternal gratitude!!!

---

<div class="post-metadata">

**Author:** ![e36](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@e36](https://forums.unrealengine.com/u/e36)\
**Post date:** [October 6, 2022, 3:45am UTC](https://forums.unrealengine.com/t/solved-cant-enable-raytracing-in-ue5-gtx-1060-nvidia-pascal/231479/73 "2022-10-06T03:45:14Z")

</div>

i have just downloaded and compiled 5.1 source code as of today, did the previous “allow emulated raytracing” thing and downloaded your github d3d12rhi.dll, but it seems like it no longer works, when booting up the engine theres a message in the output log: “LogRHI: D3D12 is not supported, falling back to D3D11 with Feature Level SM5”, i have a gtx 1070

also, what kind of raytracing features are limited to tier 1.1?

---

<div class="post-metadata">

**Author:** ![e36](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@e36](https://forums.unrealengine.com/u/e36)\
**Post date:** [October 6, 2022, 10:15pm UTC](https://forums.unrealengine.com/t/solved-cant-enable-raytracing-in-ue5-gtx-1060-nvidia-pascal/231479/74 "2022-10-06T22:15:45Z")

</div>

alright i managed to get raytracing to work again in 5.1:

- you have to modify “D3D12Adapter.cpp” which is located in “Engine/Source/Runtime/D3D12RHI/Private” the same way as in this commit by kotn3l  
[https://github.com/kotn3l/UnrealEngine/commit/d0f30c9edf36705eba7f849e44beb7c8f7521508](https://github.com/kotn3l/UnrealEngine/commit/d0f30c9edf36705eba7f849e44beb7c8f7521508)

- unlock the DXR\_ALLOW\_EMULATED\_RAYTRACING in “WindowsD3D12Device.cpp” (you can find a guide on how to do it in a post above by Julian\_Stys)

- compile the source code

pathtracing with fog seems to work fine, although i still would like to know what raytracing features are locked behind “tier 1.1 raytracing”

---

<div class="post-metadata">

**Author:** ![valber9](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@valber9](https://forums.unrealengine.com/u/valber9)\
**Post date:** [October 7, 2022, 3:37pm UTC](https://forums.unrealengine.com/t/solved-cant-enable-raytracing-in-ue5-gtx-1060-nvidia-pascal/231479/75 "2022-10-07T15:37:11Z")

</div>

would you be able to provide the already compiled project or pass on more information on how to make the change?

---

<div class="post-metadata">

**Author:** ![e36](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@e36](https://forums.unrealengine.com/u/e36)\
**Post date:** [October 7, 2022, 8:28pm UTC](https://forums.unrealengine.com/t/solved-cant-enable-raytracing-in-ue5-gtx-1060-nvidia-pascal/231479/76 "2022-10-07T20:28:34Z")

</div>

i edited my post above so its abit clearer what u need to do to make this work

---

<div class="post-metadata">

**Author:** ![ydem](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@ydem](https://forums.unrealengine.com/u/ydem)\
**Post date:** [October 7, 2022, 10:37pm UTC](https://forums.unrealengine.com/t/solved-cant-enable-raytracing-in-ue5-gtx-1060-nvidia-pascal/231479/77 "2022-10-07T22:37:36Z")

</div>

Hi, does this mean that changing and compiling/sharing the D3DRHI12 DLL is not enough anymore?

I would really appreciate it if you could please share the compiled DLL needed for us GTX users without enough knowledge on recompiling the full source code.

P.S: Tried as well the recompiled DLL from github for 5.1 but it seems that it’s outdated that’s why it throws the error and goes back to D3D 11.

Thanks 🙂

---

<div class="post-metadata">

**Author:** ![e36](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@e36](https://forums.unrealengine.com/u/e36)\
**Post date:** [October 7, 2022, 11:12pm UTC](https://forums.unrealengine.com/t/solved-cant-enable-raytracing-in-ue5-gtx-1060-nvidia-pascal/231479/79 "2022-10-07T23:12:00Z")

</div>

at first i thought that replacing a single .dll won’t work after such changes in the engine since the last .dll provided by kotn3l, but turns out that it works fine, just replace it in Engine\Binaries\Win64 as usual and it should work with the latest 5.1 preview from epic launcher

> **[UnrealEditor-D3D12RHI.dll](https://wetransfer.com/downloads/0ee5b864d50545727ec4c93119e72c4e20221007230517/581b21)**
>
> 1 file sent via WeTransfer, the simplest way to send your files around the world

---

<div class="post-metadata">

**Author:** ![ydem](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@ydem](https://forums.unrealengine.com/u/ydem)\
**Post date:** [October 8, 2022, 8:59pm UTC](https://forums.unrealengine.com/t/solved-cant-enable-raytracing-in-ue5-gtx-1060-nvidia-pascal/231479/80 "2022-10-08T20:59:41Z")

</div>

Thank you! It works great 🙂

---

<div class="post-metadata">

**Author:** ![Jimbohalo10](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/jimbohalo10/32/961440_2.png) [@Jimbohalo10](https://forums.unrealengine.com/u/Jimbohalo10)\
**Post date:** [October 9, 2022, 10:00am UTC](https://forums.unrealengine.com/t/solved-cant-enable-raytracing-in-ue5-gtx-1060-nvidia-pascal/231479/81 "2022-10-09T10:00:02Z")

</div>

@e36 Thank for that. In Windows 11 download you must right click and select “Keep” and then scroll down to error message and select “Continue” and select. “I accept risks download anyway”. If you forget to do this you get a file called  
“Unconfirmed 930408.crdownload” and have to download again using right click “Keep” function

---

<div class="post-metadata">

**Author:** ![valber9](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@valber9](https://forums.unrealengine.com/u/valber9)\
**Post date:** [October 9, 2022, 1:48pm UTC](https://forums.unrealengine.com/t/solved-cant-enable-raytracing-in-ue5-gtx-1060-nvidia-pascal/231479/82 "2022-10-09T13:48:24Z")

</div>

could you provide the file “D3D12Adapter.cpp” already modified? only the file “Unreal Editor-D3D 12RHI.dll” doesn’t work for me

---

<div class="post-metadata">

**Author:** ![e36](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@e36](https://forums.unrealengine.com/u/e36)\
**Post date:** [October 9, 2022, 10:29pm UTC](https://forums.unrealengine.com/t/solved-cant-enable-raytracing-in-ue5-gtx-1060-nvidia-pascal/231479/83 "2022-10-09T22:29:24Z")

</div>

thats strange, it was working fine for me on the 5.1 preview build from the launcher

as for the D3D12Adapter.cpp i already mentioned its a matter of replacing the lines of code as in kotn3l’s commit, but here you go

> **[D3D12Adapter.zip](https://wetransfer.com/downloads/19c64522ba35dc6758e7ae5a1ffa28bf20221009222637/4578d4)**
>
> 1 file sent via WeTransfer, the simplest way to send your files around the world

---

<div class="post-metadata">

**Author:** ![Matvei](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/matvei/32/619169_2.png) [@Matvei](https://forums.unrealengine.com/u/Matvei)\
**Post date:** [October 17, 2022, 11:08am UTC](https://forums.unrealengine.com/t/solved-cant-enable-raytracing-in-ue5-gtx-1060-nvidia-pascal/231479/85 "2022-10-17T11:08:07Z")

</div>

Hi, could you write detailed walkthrough in one post how to switch on ray and path tracing on UE 5.1? I tried few times but seems I miss something…

[Previous page](https://forums.unrealengine.com/t/solved-cant-enable-raytracing-in-ue5-gtx-1060-nvidia-pascal/231479.md?page=3)

[Next page](https://forums.unrealengine.com/t/solved-cant-enable-raytracing-in-ue5-gtx-1060-nvidia-pascal/231479.md?page=5)
