# New BUG (regression). Shadows destroyed since UE5.2

**URL:** <https://forums.unrealengine.com/t/new-bug-regression-shadows-destroyed-since-ue5-2/1162423>\
**Category:** Issues and Bug Reporting\
**Tags:** bug, Shadows, unreal-engine, bug-report, Rendering, Lumen, Lighting\
**Created:** [May 11, 2023, 11:48am UTC](https://forums.unrealengine.com/t/new-bug-regression-shadows-destroyed-since-ue5-2/1162423 "2023-05-11T11:48:09Z")\
**Posts on this page:** 1\
**Showing post:** 9

<div class="post-metadata">

**Author:** ![Amanda.Schade](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Amanda.Schade](https://forums.unrealengine.com/u/Amanda.Schade)\
**Post date:** [May 19, 2023, 9:43pm UTC](https://forums.unrealengine.com/t/new-bug-regression-shadows-destroyed-since-ue5-2/1162423/9 "2023-05-19T21:43:13Z")

</div>

For the original issue here, it’ll be fixed in the next release.

In the meantime, you can switch to SM6 to solve the problem—go to Project Settings → Platforms → Windows → D3D12 Targeted Shader Format → SM6) or run with -sm6 on your commandline.

Hope that helps!

---

_[View the full topic](https://forums.unrealengine.com/t/new-bug-regression-shadows-destroyed-since-ue5-2/1162423)._
