# Build Lighting make Crash Unreal 5

**URL:** <https://forums.unrealengine.com/t/build-lighting-make-crash-unreal-5/530122>\
**Category:** Feedback & Requests\
**Tags:** unreal-engine\
**Created:** [April 16, 2022, 3:17am UTC](https://forums.unrealengine.com/t/build-lighting-make-crash-unreal-5/530122 "2022-04-16T03:17:32Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![feralmoans](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/feralmoans/32/974428_2.png) [@feralmoans](https://forums.unrealengine.com/u/feralmoans)\
**Post date:** [April 19, 2022, 2:01am UTC](https://forums.unrealengine.com/t/build-lighting-make-crash-unreal-5/530122/3 "2022-04-19T02:01:30Z")

</div>

Resolved this issue by switching project from DX12 to DX11, per this solution:

> [@OpenXR VR Template | Feedback and Discussion](https://forums.unrealengine.com/t/openxr-vr-template-feedback-and-discussion/246425/99):
>
> Hey @Kavan - thanks for the report. This comes as a surprise as I was baking lighting and flipping project settings up until days prior to release… however, I was able to reproduce the issue and I have a workaround: In Project Settings → Platforms → Windows → Targeted RHIs → Default RHI. Change from DirectX 12 to DirectX 11. OR In /Project/Config/DefaultEngine.ini, change DefaultGraphicsRHI=DefaultGraphicsRHI\_DX12, to DefaultGraphicsRHI=DefaultGraphicsRHI\_DX11 I’ve logged the issue and will…

I believe this might prevent UE5 features like Nanite from working though? Hoping for a fix in a patch soon.

---

_[View the full topic](https://forums.unrealengine.com/t/build-lighting-make-crash-unreal-5/530122)._
