# 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:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![stepharamburu](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@stepharamburu](https://forums.unrealengine.com/u/stepharamburu)\
**Post date:** [April 16, 2022, 3:17am UTC](https://forums.unrealengine.com/t/build-lighting-make-crash-unreal-5/530122/1 "2022-04-16T03:17:32Z")

</div>

Hi. Using a Unreal 5 VR template with nothing new on there, just the basic template, any time I do “build lighting” the program crash showing this message on crash reporter window:  
Assertion failed: CurrentGPUVirtualAddress != 0 [File:D:\build++UE5\Sync\Engine\Source\Runtime\D3D12RHI\Private\D3D12DescriptorCache.cpp] [Line: 729]  
My PC specs: i7 6700k 32GB RAM Video RTX3060ti

---

<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 18, 2022, 7:31am UTC](https://forums.unrealengine.com/t/build-lighting-make-crash-unreal-5/530122/2 "2022-04-18T07:31:27Z")

</div>

This is happening to me as well on multiple maps, including default VR template map. I have previously had no issues using Build Lighting with UE5EA and also UE4.

Same crash error message too:  
Assertion failed: CurrentGPUVirtualAddress != 0 [File:D:\build++UE5\Sync\Engine\Source\Runtime\D3D12RHI\Private\D3D12DescriptorCache.cpp] [Line: 729]

Any help at all is appreciated!

---

<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.

---

<div class="post-metadata">

**Author:** ![stepharamburu](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@stepharamburu](https://forums.unrealengine.com/u/stepharamburu)\
**Post date:** [April 19, 2022, 3:06am UTC](https://forums.unrealengine.com/t/build-lighting-make-crash-unreal-5/530122/4 "2022-04-19T03:06:06Z")

</div>

Yes, the problem was resolved baking lighting on DirectX11. Thank you!

---

<div class="post-metadata">

**Author:** ![eduardoavdr](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@eduardoavdr](https://forums.unrealengine.com/u/eduardoavdr)\
**Post date:** [April 24, 2022, 1:55pm UTC](https://forums.unrealengine.com/t/build-lighting-make-crash-unreal-5/530122/5 "2022-04-24T13:55:57Z")

</div>

Thank you!! it works!! I was really desperate!!

---

<div class="post-metadata">

**Author:** ![Jgxxxx](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Jgxxxx](https://forums.unrealengine.com/u/Jgxxxx)\
**Post date:** [October 6, 2024, 8:50pm UTC](https://forums.unrealengine.com/t/build-lighting-make-crash-unreal-5/530122/6 "2024-10-06T20:50:49Z")

</div>

This is still happening
