# 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:** 7

<div class="post-metadata">

**Author:** ![eco\_bach2](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@eco\_bach2](https://forums.unrealengine.com/u/eco_bach2)\
**Post date:** [February 8, 2023, 9:08pm UTC](https://forums.unrealengine.com/t/solved-cant-enable-raytracing-in-ue5-gtx-1060-nvidia-pascal/231479/126 "2023-02-08T21:08:25Z")

</div>

Anyone know if the latest 5.1.1 Hotfix will require a new D3D12RHI.dll to be compiled?

---

<div class="post-metadata">

**Author:** ![harywilke](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@harywilke](https://forums.unrealengine.com/u/harywilke)\
**Post date:** [February 10, 2023, 4:36pm UTC](https://forums.unrealengine.com/t/solved-cant-enable-raytracing-in-ue5-gtx-1060-nvidia-pascal/231479/127 "2023-02-10T16:36:50Z")

</div>

This had been working great until i updated to 5.1.1 and it wrote over my working .dll i had downloaded from a post above. So I decided to learn how to compile my own so i wouldn’t have to wait on the kindness of others to get it working in the future.

Following the video linked at the end of this post, I was able to compile the editor.  
side note: i was not expecting to have to download 30gb+ and use 200gb+ of disk space for all this. And 4+ hours to compile the first time. Yikes.

I knew the first change was to add the ability to use the variable DXR\_ALLOW\_EMULATED\_RAYTRACING in the WindowsD3D12Device.cpp file.  
I’m not making games and just using the path tracer to make images, so i set this to be on by default so i wouldn’t have to edit anything in the ConsoleVariables.ini file. After compiling it (thankfully it took only a few seconds to compile) Unreal ran, but i wasn’t getting any ray tracing. Checking the Output Log, and searching for ‘D3d12’ i saw :

```auto
Ray tracing is disabled because D3D12 ray tracing tier 1.1 is required but only tier 1.0 is supported

```

I found that string in D3D12Adapter.cpp, then i looked through the git history of that file on github and found this edit: [https://github.com/EpicGames/UnrealEngine/commit/124abac668bde6f0c0ad356cff2b516a8740f909](https://github.com/EpicGames/UnrealEngine/commit/124abac668bde6f0c0ad356cff2b516a8740f909)  
Which seems to have moved the tier 1.0 cards to the ‘do not enable’ side of the logic.  
Undoing this change got me up and running with ray tracing.

This worked for me and my 1080. Hope it will help others.

Here are the files with their changes:  
…\UnrealEngine\Engine\Source\Runtime\D3D12RHI\Private\Windows\WindowsD3D12Device.cpp

change

```auto
#define DXR_ALLOW_EMULATED_RAYTRACING 0

#if DXR_ALLOW_EMULATED_RAYTRACING
int32 GAllowEmulatedRayTracing = 0;

```

to

```auto
#define DXR_ALLOW_EMULATED_RAYTRACING 1

#if DXR_ALLOW_EMULATED_RAYTRACING
int32 GAllowEmulatedRayTracing = 1;

```

and

…\UnrealEngine\Engine\Source\Runtime\D3D12RHI\Private\D3D12Adapter.cpp

change

```auto
UE_LOG(LogD3D12RHI, Log, TEXT("Ray tracing is disabled because D3D12 ray tracing tier 1.1 is required but only tier 1.0 is supported."));

```

to

```auto
UE_LOG(LogD3D12RHI, Log, TEXT("Ray tracing emulation is now enabled. Use at own risk. D3D12 tier 1.1 check ignored. Tra-La-La!"));
GRHISupportsRayTracing = RHISupportsRayTracing(GMaxRHIShaderPlatform);
GRHISupportsRayTracingShaders = GRHISupportsRayTracing && RHISupportsRayTracingShaders(GMaxRHIShaderPlatform);

```

Video I followed to figure out how to compile UE

[![](https://d3kjluh73b9h9o.cloudfront.net/original/4X/d/b/4/db4611c4981d526d240f1aa37e92681a57417748.jpeg "How to Download and Build Unreal Engine 5 from Source") ](https://www.youtube.com/watch?v=_7TQynJ_TrQ)

---

<div class="post-metadata">

**Author:** ![JohnDow](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@JohnDow](https://forums.unrealengine.com/u/JohnDow)\
**Post date:** [February 17, 2023, 5:15pm UTC](https://forums.unrealengine.com/t/solved-cant-enable-raytracing-in-ue5-gtx-1060-nvidia-pascal/231479/128 "2023-02-17T17:15:26Z")

</div>

If you complied files that can be used by others - you should upload them here 😉

---

<div class="post-metadata">

**Author:** ![JohnDow](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@JohnDow](https://forums.unrealengine.com/u/JohnDow)\
**Post date:** [February 18, 2023, 7:04pm UTC](https://forums.unrealengine.com/t/solved-cant-enable-raytracing-in-ue5-gtx-1060-nvidia-pascal/231479/129 "2023-02-18T19:04:40Z")

</div>

@eco_bach2 just updated to 5.1.1 and the ‘old’ dll (the one we used for 5.1) works just fine.

---

<div class="post-metadata">

**Author:** ![JohnDow](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@JohnDow](https://forums.unrealengine.com/u/JohnDow)\
**Post date:** [March 23, 2023, 1:15am UTC](https://forums.unrealengine.com/t/solved-cant-enable-raytracing-in-ue5-gtx-1060-nvidia-pascal/231479/130 "2023-03-23T01:15:47Z")

</div>

Epic Games has released Unreal Engine 5.2 Preview 1 and now, in order for the path tracer to work, we need new ‘proper’ UnrealEditor-D3D12RHI.dll because the old one is not working correctly.

If anyone has complied it, please share…

PS.

Unreal Engine 5.2 Preview 1 was updated to Preview 2, but we still don’t have a proper UnrealEditor-D3D12RHI.dll 😞 This problem (enabling PT for GTX or compiling proper dll) could’ve been solved by EG, but unfortunately they DGAF about it.

PS. I can’t compile it myself because I don’t have enough free space for the process.

---

<div class="post-metadata">

**Author:** ![Sadz4Game](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/sadz4game/32/492008_2.png) [@Sadz4Game](https://forums.unrealengine.com/u/Sadz4Game)\
**Post date:** [April 23, 2023, 8:59pm UTC](https://forums.unrealengine.com/t/solved-cant-enable-raytracing-in-ue5-gtx-1060-nvidia-pascal/231479/131 "2023-04-23T20:59:27Z")

</div>

Hi. The file isn’t there. I am using GTX1650 and the Path Tracing is not working for me in UE5.1.

---

<div class="post-metadata">

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

</div>

can you share with us the working code for the unreal engine 5.2 Branch?

---

<div class="post-metadata">

**Author:** ![HACK-TAG](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@HACK-TAG](https://forums.unrealengine.com/u/HACK-TAG)\
**Post date:** [May 6, 2023, 10:49pm UTC](https://forums.unrealengine.com/t/solved-cant-enable-raytracing-in-ue5-gtx-1060-nvidia-pascal/231479/133 "2023-05-06T22:49:31Z")

</div>

unreal engine 5.2 Preview 2 : only support path tracing (old Shader Framework)  
[UnrealEditor-D3D12RHI.dll](https://forums.unrealengine.com/uploads/short-url/6QH2zibBSSDgXgkmS2r43lz9gI0.dll) (2.1 MB)

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/9/8/7981690d6ef2d0496484842f4f9c58368f838851.png)

unreal engine 5.1.1 : working  
[UnrealEditor-D3D12RHI.dll](https://forums.unrealengine.com/uploads/short-url/wNPVxDBkQDpZf5gq4HySDyWWrBk.dll) (2.2 MB)

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/0/6/6/066afec3df151bd252730235670eaa585e44207f.png)

---

<div class="post-metadata">

**Author:** ![muratdemircan53](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@muratdemircan53](https://forums.unrealengine.com/u/muratdemircan53)\
**Post date:** [May 12, 2023, 4:08pm UTC](https://forums.unrealengine.com/t/solved-cant-enable-raytracing-in-ue5-gtx-1060-nvidia-pascal/231479/134 "2023-05-12T16:08:30Z")

</div>

Thank you a lot!!! I was getting really bad rendering but this solved my problem. Thanks! 🙂

---

<div class="post-metadata">

**Author:** ![DesART](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@DesART](https://forums.unrealengine.com/u/DesART)\
**Post date:** [May 12, 2023, 9:26pm UTC](https://forums.unrealengine.com/t/solved-cant-enable-raytracing-in-ue5-gtx-1060-nvidia-pascal/231479/135 "2023-05-12T21:26:24Z")

</div>

Tried it on UE5.1.1 with GTX1080 and everything works. Thank you ☺ 🤩, now I am trying PathTracing for the first time 🤗 it is really very SLOOOOW 😅 😅 🤣

---

<div class="post-metadata">

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

</div>

> [@DesART](#):
>
> it is really very SLOOOOW 😅 😅 🤣

Everything is relative. In my case, path tracing in UE works 2-3 times faster than path tracing in Blender 😋

---

<div class="post-metadata">

**Author:** ![HACK-TAG](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@HACK-TAG](https://forums.unrealengine.com/u/HACK-TAG)\
**Post date:** [May 13, 2023, 4:40pm UTC](https://forums.unrealengine.com/t/solved-cant-enable-raytracing-in-ue5-gtx-1060-nvidia-pascal/231479/137 "2023-05-13T16:40:51Z")

</div>

change your viewport resolution to 50% or 33% , if you are using 4k(3840x2160p) monitor,  
For me in Ray Tracing mode (Reflection 3 bounces & GI Brute Force 2 Bounces) it’s working, I am getting 20-40fps constant, and my viewport resolution in pixels(2833x1379)

 ![HighresScreenshot00002](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/1/e/71e5dc1b42231ec68a3f84c19a1e1c4402e5f392.jpeg)  
.

In Path Tracing mode it to less than 3 seconds to converge the image viewport resolution in pixels (2833x1379) on the default setting in post-process volume

My Optimized setting (  
MAX BOUNCE - 8  
SAMPLE PER PIXEL - 64  
REFERENCE ATMOSPHERE - ON (TICKED)  
DENOISING - OFF (UNTICKED)  
)

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/6/8/3/683d7b9e03bfb1d212035c3a7e78e7623379ae69.png)

,  
But I have one issue(Final Gather), if any of you have this please let me know,

```auto
POST PROCESS VOLUME
Global Illumination:
Standalone Ray tracing (Deprecated) 
Ray Tracing Global Illumination 
Type:- Final Gather

```

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/1/8/1/181ed63ed2ddac65dfdfa49dade663c356f91217.png)

RESULT:- Bloom

 ![HighresScreenshot00003](https://d3kjluh73b9h9o.cloudfront.net/original/4X/b/7/7/b77f9c1b5835bc463fb6c49ee70c378aca042c7e.jpeg)

 ![HighresScreenshot00004](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/b/6/7b6ea4508e3c765d79067d8176e6e1a5bb128ed0.jpeg)

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/a/f/f/affcaffaca0d4133364998f97dad3927676bb3b2.jpeg)

I hope anyone Had Resolved this problem in the past.

---

<div class="post-metadata">

**Author:** ![ATELIERCREATIF](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/ateliercreatif/32/703752_2.png) [@ATELIERCREATIF](https://forums.unrealengine.com/u/ATELIERCREATIF)\
**Post date:** [May 16, 2023, 8:46am UTC](https://forums.unrealengine.com/t/solved-cant-enable-raytracing-in-ue5-gtx-1060-nvidia-pascal/231479/138 "2023-05-16T08:46:28Z")

</div>

Working Fine On 5.2…I Don’t know How to Thank U…But U saved us

---

<div class="post-metadata">

**Author:** ![Djargomir](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Djargomir](https://forums.unrealengine.com/u/Djargomir)\
**Post date:** [June 5, 2023, 3:24pm UTC](https://forums.unrealengine.com/t/solved-cant-enable-raytracing-in-ue5-gtx-1060-nvidia-pascal/231479/139 "2023-06-05T15:24:03Z")

</div>

Hello everyone, i tried everything what you said. I replaced the .dll file winx64 directory and add console command to consolevariables.ini file. But still i don’t have ray tracing. I did all settings about ray tracing and path tracing either but still there is no path tracing mode on viewport settings. Help me please

---

<div class="post-metadata">

**Author:** ![aTERvEyn](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@aTERvEyn](https://forums.unrealengine.com/u/aTERvEyn)\
**Post date:** [June 21, 2023, 7:53am UTC](https://forums.unrealengine.com/t/solved-cant-enable-raytracing-in-ue5-gtx-1060-nvidia-pascal/231479/140 "2023-06-21T07:53:23Z")

</div>

Hi everyone,  
I’ve managed to recompile the source so it can work for UE v5.2 and got path tracing working in the level editor with my GTX 1080 Ti. Below is the file to replace under the main directory of where you installed the engine by default. I.e.  
C:\Program Files\Epic Games\UE\_5.2\Engine\Binaries\Win64\

[UnrealEditor-D3D12RHI.dll](https://forums.unrealengine.com/uploads/short-url/9e8Cv2qdboRXwEOucZEGAvPXPcH.dll) (2.1 MB)

I also updated the ConsoleVariables.ini file with the pathtracing enabling lines too:  
; pathtracing enabling  
;r.D3D12.DXR.AllowEmulatedRayTracing=1

and overwrote it under  
C:\Program Files\Epic Games\UE\_5.2\Engine\Config\

[ConsoleVariables.ini](https://forums.unrealengine.com/uploads/short-url/aVRpn6u9NpB2Q28XFYmVG91Uwpk.ini) (9.9 KB)

---

<div class="post-metadata">

**Author:** ![SammiOnahi](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@SammiOnahi](https://forums.unrealengine.com/u/SammiOnahi)\
**Post date:** [June 22, 2023, 4:57pm UTC](https://forums.unrealengine.com/t/solved-cant-enable-raytracing-in-ue5-gtx-1060-nvidia-pascal/231479/141 "2023-06-22T16:57:13Z")

</div>

Hello aTERvEyn  
I did all this and still can’t find pathtracing in my options, Please I need Help. Been struggling for Weeks.

---

<div class="post-metadata">

**Author:** ![JohnDow](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@JohnDow](https://forums.unrealengine.com/u/JohnDow)\
**Post date:** [June 22, 2023, 9:04pm UTC](https://forums.unrealengine.com/t/solved-cant-enable-raytracing-in-ue5-gtx-1060-nvidia-pascal/231479/142 "2023-06-22T21:04:52Z")

</div>

Have you enabled path tracing in the project settings? Replacing dll is not enough. You have to jump through all the hoops enabling raytracing as if you had a proper RTX card.

---

<div class="post-metadata">

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

</div>

Guyz i did everything. I replaced dll, i used aTERvEyn’s console variables and made all project settings but still there is no path tracing. I’m using Rx 5700 XT please help me

---

<div class="post-metadata">

**Author:** ![JohnDow](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@JohnDow](https://forums.unrealengine.com/u/JohnDow)\
**Post date:** [July 27, 2023, 6:37am UTC](https://forums.unrealengine.com/t/solved-cant-enable-raytracing-in-ue5-gtx-1060-nvidia-pascal/231479/145 "2023-07-27T06:37:08Z")

</div>

Epic Games has released Unreal Engine 5.3 Preview 1 and in order for the path tracer to work, we need new ‘proper’ (recompiled) UnrealEditor-D3D12RHI.dll because the old one doesn’t work.

If anyone has complied it, please share 😉

---

<div class="post-metadata">

**Author:** ![Emjey\_work](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Emjey\_work](https://forums.unrealengine.com/u/Emjey_work)\
**Post date:** [August 16, 2023, 7:06am UTC](https://forums.unrealengine.com/t/solved-cant-enable-raytracing-in-ue5-gtx-1060-nvidia-pascal/231479/146 "2023-08-16T07:06:21Z")

</div>

does anyone has UnrealEditor-D3D12RHI.dll for Unreal Engine 5.2.1 ? 🥲

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

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