# UE5 Crash when building lighting on default VR Template

**URL:** <https://forums.unrealengine.com/t/ue5-crash-when-building-lighting-on-default-vr-template/530772>\
**Category:** XR Development\
**Tags:** unreal-engine, Cooking-Failed\
**Created:** [April 16, 2022, 7:10pm UTC](https://forums.unrealengine.com/t/ue5-crash-when-building-lighting-on-default-vr-template/530772 "2022-04-16T19:10:28Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![NightWolf7578](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@NightWolf7578](https://forums.unrealengine.com/u/NightWolf7578)\
**Post date:** [May 20, 2022, 6:41pm UTC](https://forums.unrealengine.com/t/ue5-crash-when-building-lighting-on-default-vr-template/530772/5 "2022-05-20T18:41:54Z")

</div>

Changing the RHI to default under Platforms - Windows in the project fixed the issue for me.

---

_[View the full topic](https://forums.unrealengine.com/t/ue5-crash-when-building-lighting-on-default-vr-template/530772)._
