# Lighting building error

**URL:** <https://forums.unrealengine.com/t/lighting-building-error/2017037>\
**Category:** Game Development\
**Tags:** unreal-engine, question\
**Created:** [September 12, 2024, 1:23am UTC](https://forums.unrealengine.com/t/lighting-building-error/2017037 "2024-09-12T01:23:04Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![DripTheSeawing](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/driptheseawing/32/951357_2.png) [@DripTheSeawing](https://forums.unrealengine.com/u/DripTheSeawing)\
**Post date:** [September 12, 2024, 1:23am UTC](https://forums.unrealengine.com/t/lighting-building-error/2017037/1 "2024-09-12T01:23:04Z")

</div>

I’m making a marble racing game and I’m trying to optimize it some, so I set my main directional light to Static. But whenever I build my lighting it goes black like in the first image and appears to have canceled or something. But as soon as I edit a parameter on the light, such as rotation, it returns to normal. I haven’t been able to successfully build lighting yet.  
Lighting after build attempt

 ![MyProject6 - Unreal Editor 2024_09_11 20_10_45](https://d3kjluh73b9h9o.cloudfront.net/original/4X/9/f/f/9ffe65973e445bd688f1c2e8768e09a54923a44c.jpeg)

lighting after changing a parameter

 ![MyProject6 - Unreal Editor 2024_09_11 20_11_05](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/8/3/78371a0a16020d4b4e80ac5434d602a40976451e.jpeg)

error message log

 ![Message Log 2024_09_11 20_11_13](https://d3kjluh73b9h9o.cloudfront.net/original/4X/3/3/8/3386612d50cf99bb2fb3264c10936c1c81607136.png)
