# UE5 breaks the preview window of the Material Editor if Ray Traced Skylight is enabled

**URL:** <https://forums.unrealengine.com/t/ue5-breaks-the-preview-window-of-the-material-editor-if-ray-traced-skylight-is-enabled/785917>\
**Category:** Rendering\
**Tags:** skylight, Ray-Tracing, unreal-engine, editor, question\
**Created:** [March 7, 2023, 9:22pm UTC](https://forums.unrealengine.com/t/ue5-breaks-the-preview-window-of-the-material-editor-if-ray-traced-skylight-is-enabled/785917 "2023-03-07T21:22:37Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![MisterPixel](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/misterpixel/32/629747_2.png) [@MisterPixel](https://forums.unrealengine.com/u/MisterPixel)\
**Post date:** [March 7, 2023, 9:22pm UTC](https://forums.unrealengine.com/t/ue5-breaks-the-preview-window-of-the-material-editor-if-ray-traced-skylight-is-enabled/785917/1 "2023-03-07T21:22:37Z")

</div>

Ok, so my Material Editor’s preview window became corrupted some days ago and basically the “ground level” was pitch black, no matter what I did. However, after much debugging, I finally found the culprit: it’s because I enabled Ray Traced Skylight. BUT I have no idea why this happens, nor do I know how to fix it (apart from disabling it, duh… 🙃). BUT what if someone really needs/wants a ray traced skylight without completely messing up his preview window in the Material Editor? It’s really frustrating, as it prevents you from properly constructing your material’s visual appearance if the ground is always black. In typical fashion, I did [a YouTube video](https://www.youtube.com/watch?v=uK8WO0fnZM4) explaining it all:

[![](https://d3kjluh73b9h9o.cloudfront.net/original/4X/b/2/2/b22dc62461ccfac27857d6a6a3051e32b43e1570.jpeg "[Part 4] Severe problems in Unreal Engine 5... 🤔") ](https://www.youtube.com/watch?v=uK8WO0fnZM4)

Any explanation or suggestion on how to make these 2 things work together?  
Thanks so much!!!

---

<div class="post-metadata">

**Author:** ![pablish80](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@pablish80](https://forums.unrealengine.com/u/pablish80)\
**Post date:** [March 29, 2023, 4:17pm UTC](https://forums.unrealengine.com/t/ue5-breaks-the-preview-window-of-the-material-editor-if-ray-traced-skylight-is-enabled/785917/2 "2023-03-29T16:17:15Z")

</div>

I have the same issue since i started using ue5.1 and know some other people that have it too. I found the same workaround with the skylight (can’t really call it a solution) but would love to know if there’s a real fix for this.
