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

<div class="post-metadata">

**Author:** ![Farshid](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/farshid/32/874107_2.png) [@Farshid](https://forums.unrealengine.com/u/Farshid)\
**Post date:** [May 24, 2022, 7:37am UTC](https://forums.unrealengine.com/t/solved-cant-enable-raytracing-in-ue5-gtx-1060-nvidia-pascal/231479/44 "2022-05-24T07:37:48Z")

</div>

> [@kotn3l](#):
>
> UnrealEditor-D3D11RHI.dll

that was my fault  
its Working

repalce this file in  
UE\_5.0\Engine\Binaries\Win64  
[https://drive.google.com/file/d/1Oj2cGKYgZRKp\_8uoJZi0lYboIdSehdCm/view?usp=sharing](https://drive.google.com/file/d/1Oj2cGKYgZRKp_8uoJZi0lYboIdSehdCm/view?usp=sharing)

also add  
ConsoleVariables.ini  
r.D3D12.DXR.AllowEmulatedRayTracing=1

---

<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:** [May 24, 2022, 6:02pm UTC](https://forums.unrealengine.com/t/solved-cant-enable-raytracing-in-ue5-gtx-1060-nvidia-pascal/231479/45 "2022-05-24T18:02:59Z")

</div>

I created a pull request.  
[https://github.com/EpicGames/UnrealEngine/pull/9214](https://github.com/EpicGames/UnrealEngine/pull/9214)

Let’s hope.

---

<div class="post-metadata">

**Author:** ![JohnD](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/johnd/32/477053_2.png) [@JohnD](https://forums.unrealengine.com/u/JohnD)\
**Post date:** [May 25, 2022, 11:54am UTC](https://forums.unrealengine.com/t/solved-cant-enable-raytracing-in-ue5-gtx-1060-nvidia-pascal/231479/46 "2022-05-25T11:54:55Z")

</div>

> [@Farshid](#):
>
> UE\_5.0\Engine\Binaries\Win64

I did all, compelling that took ages, I end at 2AM.  
Replace the file in UE\_5.0\Engine\Binaries\Win64  
I put “r.D3D12.DXR.AllowEmulatedRayTracing=1” into the Engine ConsoleVariables.ini

I guess I miss something but I did all that you guys said but did not work for me. I have a GTX1080Ti.

I hope Epic make a move and brings it back, this is frustrating.

Thanks guys for sharing!

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/b/a/9/ba94e487b5238ff4f7c4d9c86aa3d4c218e7dec1.png)

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/5/9/e/59e2fdd4d00ae449ae8abb0cc147816df1d1cbbe.png)

---

<div class="post-metadata">

**Author:** ![evilboys](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@evilboys](https://forums.unrealengine.com/u/evilboys)\
**Post date:** [May 26, 2022, 11:34am UTC](https://forums.unrealengine.com/t/solved-cant-enable-raytracing-in-ue5-gtx-1060-nvidia-pascal/231479/47 "2022-05-26T11:34:32Z")

</div>

Not sure where you added the command.  
ConsoleVariables.ini is in “UE\_5.0\Engine\Config” , just paste the command on the end of the .ini file.

---

<div class="post-metadata">

**Author:** ![JohnD](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/johnd/32/477053_2.png) [@JohnD](https://forums.unrealengine.com/u/JohnD)\
**Post date:** [May 26, 2022, 12:11pm UTC](https://forums.unrealengine.com/t/solved-cant-enable-raytracing-in-ue5-gtx-1060-nvidia-pascal/231479/48 "2022-05-26T12:11:06Z")

</div>

> [@JohnD](#):
>
> r.D3D12.DXR.AllowEmulatedRayTracing=1

Mate thanks so much for pointing this out, I can’t believe it, is back, **Ray FLIPINGTRACING!!!**

Thanks again evilboys!!

My bad, I thought it has to be inside Unreal.

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/3/2/4/32413c5256aa2895ae1810948ffe1c1354f0edc9.png)

---

<div class="post-metadata">

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

</div>

Of course, hotfix 5.0.2 resets the DLL and the .ini file. Pretty sure the old DLL will work just fine but in case someone is compiling it, that’d be welcome.

---

<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:** [May 29, 2022, 9:29pm UTC](https://forums.unrealengine.com/t/solved-cant-enable-raytracing-in-ue5-gtx-1060-nvidia-pascal/231479/50 "2022-05-29T21:29:30Z")

</div>

hi @JohnD @evilboys @Farshid  
I have made a repository which may help you see post

['s GPULightmass - UE 5.0.3](https://forums.unrealengine.com/t/luoshuangs-gpulightmass/109474/2248)

---

<div class="post-metadata">

**Author:** ![brushify.io](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/brushify.io/32/465799_2.png) [@brushify.io](https://forums.unrealengine.com/u/brushify.io)\
**Post date:** [June 2, 2022, 7:51am UTC](https://forums.unrealengine.com/t/solved-cant-enable-raytracing-in-ue5-gtx-1060-nvidia-pascal/231479/51 "2022-06-02T07:51:57Z")

</div>

Works fine out of the box on a 1080TI, no need to compile any custom builds.  
Just tick Support Hardware raytracing then restart.  
Once you restart the other setting (Use Hardware Raytracing when available) is now accessible.

---

<div class="post-metadata">

**Author:** ![Juan\_Canada](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Juan\_Canada](https://forums.unrealengine.com/u/Juan_Canada)\
**Post date:** [June 8, 2022, 3:46pm UTC](https://forums.unrealengine.com/t/solved-cant-enable-raytracing-in-ue5-gtx-1060-nvidia-pascal/231479/52 "2022-06-08T15:46:31Z")

</div>

Hi all,

When emulated ray tracing was available, a very significant amount of the crashes related to ray tracing we got through our Crash Reporter tool were happening in the 10x series cards. These crashes where happening mostly on the driver side or in TDR timeouts that were not actionable in our side. That means a lot of engineering and QA time spent on a path that is not future looking, so we decided to disable it leaving the code for users who might want to enable it at they own risk. Enabling that again will mean that time we need to invest in improving this technology will be spent on fixing and workarounding things on a code path that is not future looking.

Nvidia just updated the info of their RTX plugin specifying that a DXR capable GPU is needed for using that plugin, DXR emulation is not officially supported there anymore.

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/5/6/3/563996f297cbc4372edfafb235529803e8b4686c.png)

Best,

```
   Juan

```

---

<div class="post-metadata">

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

</div>

So annoying. I hope there will be another compiled DLL, the old one didn’t work for me on 5.0.2.

---

<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:** [June 12, 2022, 10:24am UTC](https://forums.unrealengine.com/t/solved-cant-enable-raytracing-in-ue5-gtx-1060-nvidia-pascal/231479/54 "2022-06-12T10:24:11Z")

</div>

Wouldn’t it be better to warn users about this before they’re turning on raytracing on GTX GPUs? Is the solution really to DISABLE the whole raytracing part, along with path-tracing rendering? Extremely disappointing. I’ll stick to UE4 for now then.

---

<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:** [June 20, 2022, 4:01pm UTC](https://forums.unrealengine.com/t/solved-cant-enable-raytracing-in-ue5-gtx-1060-nvidia-pascal/231479/55 "2022-06-20T16:01:22Z")

</div>

That’s very understandable (working on something that is not going towards future tech).

However you could keep the command line compiled in code and have it by default disabled, and us users who know about the risks and still need that feature on some projects can just write that line of command inside the ini file and have it activated (until nvidia decides to remove it fully from future drivers).

I hope you could consider that option instead of having always to try and compile a new custom engine or DLL on each new unreal version.

Thank you!

P.S: If someone has the 5.0.2 DLL compiled and could share, we GTX users would really appreciate it 🙂

---

<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:** [June 21, 2022, 5:36pm UTC](https://forums.unrealengine.com/t/solved-cant-enable-raytracing-in-ue5-gtx-1060-nvidia-pascal/231479/56 "2022-06-21T17:36:30Z")

</div>

Hi @ydem

There is a link to the new 5.0.2 in the post  
['s GPULightmass 5.0.2 by](https://forums.unrealengine.com/t/luoshuangs-gpulightmass/109474/2269)

---

<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:** [June 21, 2022, 5:55pm UTC](https://forums.unrealengine.com/t/solved-cant-enable-raytracing-in-ue5-gtx-1060-nvidia-pascal/231479/57 "2022-06-21T17:55:46Z")

</div>

Hey @Jimbohalo10,

I see that this is the GPU Lightmass, I’m using lumen and dynamic light, and can’t see the D3D12RHI DLL in there.

Do those recompiled DLLs allow this command line to execute? : D3D12.DXR.AllowEmulatedRayTracing = 1

---

<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:** [June 21, 2022, 9:44pm UTC](https://forums.unrealengine.com/t/solved-cant-enable-raytracing-in-ue5-gtx-1060-nvidia-pascal/231479/58 "2022-06-21T21:44:40Z")

</div>

> [@ydem](#):
>
> D3D12.DXR.AllowEmulatedRayTracing = 1

Hi @ydem  
Here is my output log for the command carried out as a console command.

> LogShaderCompilers: Display: ================================================  
> Cmd: r.AllowStaticLighting  
> r.AllowStaticLighting = “1” LastSetBy: ProjectSetting

To prove command working induced error

> Cmd: r.AllowStaticLighting =1  
> Warning: Processing the console input parameters the leading ‘=’ is ignored  
> (only needed for ini files).  
> Error: r.AllowStaticLighting is read only!

from $ notepad Config/DefaultEngine.ini

```auto
[/Script/Engine.RendererSettings]
; exposure control and tone mapping settings
r.Tonemapper.Sharpen=2
r.DefaultFeature.AutoExposure.ExtendDefaultLuminanceRange=True
r.DefaultFeature.Bloom=False
r.DefaultFeature.AutoExposure=False
r.DefaultFeature.MotionBlur=False
r.SceneRenderTargetResizeMethod=2
;add render emulator
r.D3D12.DXR.AllowEmulatedRayTracing = 1

```

Here is my Project settings

 ![Screenshot (213)](https://d3kjluh73b9h9o.cloudfront.net/original/4X/a/0/6/a06b8bf4548a163433de4da9d813a6e651b6f32d.png)

---

<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:** [June 21, 2022, 9:48pm UTC](https://forums.unrealengine.com/t/solved-cant-enable-raytracing-in-ue5-gtx-1060-nvidia-pascal/231479/59 "2022-06-21T21:48:40Z")

</div>

Thanks, seems like the raytracing only worked after I added the DLL from the earlier post in here : [Solved : Cant Enable RayTracing in UE5 (gtx 1060)(Nvidia Pascal) - #44 by Farshid](https://forums.unrealengine.com/t/solved-cant-enable-raytracing-in-ue5-gtx-1060-nvidia-pascal/231479/44)

Now I have also path tracing working! Thank you all for sharing the files.

---

<div class="post-metadata">

**Author:** ![pewpewpewpewped](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/pewpewpewpewped/32/467708_2.png) [@pewpewpewpewped](https://forums.unrealengine.com/u/pewpewpewpewped)\
**Post date:** [July 15, 2022, 11:03am UTC](https://forums.unrealengine.com/t/solved-cant-enable-raytracing-in-ue5-gtx-1060-nvidia-pascal/231479/60 "2022-07-15T11:03:17Z")

</div>

@[Farshid](https://forums.unrealengine.com/u/Farshid) Hey, it seems like the google drive link is down, if this is still working could you please re-upload it? please and thank you.

---

<div class="post-metadata">

**Author:** ![Farshid](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/farshid/32/874107_2.png) [@Farshid](https://forums.unrealengine.com/u/Farshid)\
**Post date:** [July 20, 2022, 5:59pm UTC](https://forums.unrealengine.com/t/solved-cant-enable-raytracing-in-ue5-gtx-1060-nvidia-pascal/231479/61 "2022-07-20T17:59:20Z")

</div>

Excuse me  
I deleted the file by mistake  
And I don’t have this file anymore  
It is better to ask others to upload the file

---

<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 21, 2022, 6:54pm UTC](https://forums.unrealengine.com/t/solved-cant-enable-raytracing-in-ue5-gtx-1060-nvidia-pascal/231479/62 "2022-07-21T18:54:07Z")

</div>

Ydem do you still have the DLL? Would you mind sharing it? If not, does anyone else have it?

Thank you!

---

<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 21, 2022, 11:15pm UTC](https://forums.unrealengine.com/t/solved-cant-enable-raytracing-in-ue5-gtx-1060-nvidia-pascal/231479/63 "2022-07-21T23:15:02Z")

</div>

This one?

[UnrealEditor-D3D12RHI.zip](https://forums.unrealengine.com/uploads/short-url/9SYm2s2XJ2hpOotUMASupQlq17Q.zip) (914.9 KB)

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

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