# Upgrading to Unreal Engine 5.1 Breaks Lighting

**URL:** <https://forums.unrealengine.com/t/upgrading-to-unreal-engine-5-1-breaks-lighting/694121>\
**Category:** Rendering\
**Tags:** unreal-engine, Lighting, question\
**Created:** [November 19, 2022, 2:00am UTC](https://forums.unrealengine.com/t/upgrading-to-unreal-engine-5-1-breaks-lighting/694121 "2022-11-19T02:00:33Z")\
**Posts on this page:** 18\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mr.Fishward](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/mr.fishward/32/1073376_2.png) [@Mr.Fishward](https://forums.unrealengine.com/u/Mr.Fishward)\
**Post date:** [November 19, 2022, 2:00am UTC](https://forums.unrealengine.com/t/upgrading-to-unreal-engine-5-1-breaks-lighting/694121/1 "2022-11-19T02:00:34Z")

</div>

I want to update to Unreal Engine 5.1, as it actually seems to run on my M1 Mac running macOS Ventura, but when I upgrade I run into to a couple of errors with my lighting. The most noticeable error is when building my lighting the engine crashes and produces this error:  
`Assertion failed: LightId.IsValid() [File:D:\build\++UE5\Sync\Engine\Source\Runtime\Engine\Private\MapBuildData.cpp] [Line: 776]`

When that error does not occur, Unreal Engine will build the lighting, but then any Blueprint actors with light components as a child of it will disappear. I have tried adding a static mesh with an added light component as a child, and that worked just fine, however, doing this takes a lot of time and I would instead stick to using Blueprints that work on my Windows PC.

If anyone would like to tinker with my current project files and setup, here is the link to my repository: [GitHub - ZachDNichols/LiDAR: A game made inspired by Portal, made in Unreal Engine 5](https://github.com/ZachDNichols/LiDAR)

Any response will be super helpful. Thank you!

---

<div class="post-metadata">

**Author:** ![Riggs](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Riggs](https://forums.unrealengine.com/u/Riggs)\
**Post date:** [November 19, 2022, 4:31am UTC](https://forums.unrealengine.com/t/upgrading-to-unreal-engine-5-1-breaks-lighting/694121/2 "2022-11-19T04:31:00Z")

</div>

I can confirm lighting brakes in one way or another after upgrading a project to 5.1, all my lights which previously were dynamic pointlights appear now as stationary, and afrer making them dynamic most of them are creating weird artifacts that appear and dissapear based on the distance just as they used to in the prevew version, lumen seem to have more artifacts and be more unestable than in 5.0.

---

<div class="post-metadata">

**Author:** ![Mr.Fishward](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/mr.fishward/32/1073376_2.png) [@Mr.Fishward](https://forums.unrealengine.com/u/Mr.Fishward)\
**Post date:** [November 19, 2022, 5:11am UTC](https://forums.unrealengine.com/t/upgrading-to-unreal-engine-5-1-breaks-lighting/694121/3 "2022-11-19T05:11:20Z")

</div>

Hm, interesting, seems like this isn’t _the_ version to use for better macOS support.

---

<div class="post-metadata">

**Author:** ![SupportiveEntity](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@SupportiveEntity](https://forums.unrealengine.com/u/SupportiveEntity)\
**Post date:** [November 19, 2022, 5:57am UTC](https://forums.unrealengine.com/t/upgrading-to-unreal-engine-5-1-breaks-lighting/694121/4 "2022-11-19T05:57:08Z")

</div>

Hey there @Mr.Fishward! Welcome to the community! It seems like this is a pretty consistent issue with UE5.1 on many MacOS devices (mostly Mac). If possible you can help the bug get patched by submitting a detailed bug report here:

> **[Report a Bug](https://www.unrealengine.com/en-US/support/report-a-bug)**
>
> Unreal Engine is the world’s most open and advanced real-time 3D creation platform for photoreal visuals and immersive experiences.

---

<div class="post-metadata">

**Author:** ![Mr.Fishward](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/mr.fishward/32/1073376_2.png) [@Mr.Fishward](https://forums.unrealengine.com/u/Mr.Fishward)\
**Post date:** [November 19, 2022, 11:01pm UTC](https://forums.unrealengine.com/t/upgrading-to-unreal-engine-5-1-breaks-lighting/694121/5 "2022-11-19T23:01:33Z")

</div>

Thanks, @SupportiveEntity. It is worth noting thought that the issue with the lighting was primarily occurring on my Windows PC.

---

<div class="post-metadata">

**Author:** ![SupportiveEntity](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@SupportiveEntity](https://forums.unrealengine.com/u/SupportiveEntity)\
**Post date:** [November 19, 2022, 11:05pm UTC](https://forums.unrealengine.com/t/upgrading-to-unreal-engine-5-1-breaks-lighting/694121/6 "2022-11-19T23:05:56Z")

</div>

Interesting! Definitely pop as much information in the report as possible if you have a moment! It’s hard to identify the lighting issues as much of it comes down to the rendering code, and that by far is one of the hardest aspects to determine quick community fixes for. Most of the time I leave it to the real masters on the team to work out at the engine level!

---

<div class="post-metadata">

**Author:** ![Jabroni\_Waldo](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Jabroni\_Waldo](https://forums.unrealengine.com/u/Jabroni_Waldo)\
**Post date:** [December 10, 2022, 11:46pm UTC](https://forums.unrealengine.com/t/upgrading-to-unreal-engine-5-1-breaks-lighting/694121/7 "2022-12-10T23:46:09Z")

</div>

Was there any resolution to this issue? I’m on PC and updated a project to 5.1 and also am having lighting issues now. Some of my static meshes with lighting components no longer have the ability to edit the lighting and are way too bright. Seems like the only thing I’m able to do is remove the mesh from the environment.

---

<div class="post-metadata">

**Author:** ![SupportiveEntity](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@SupportiveEntity](https://forums.unrealengine.com/u/SupportiveEntity)\
**Post date:** [December 11, 2022, 12:42am UTC](https://forums.unrealengine.com/t/upgrading-to-unreal-engine-5-1-breaks-lighting/694121/8 "2022-12-11T00:42:20Z")

</div>

Hey there @Jabroni_Waldo! Welcome back to the community! So there’s been a couple of Quick Fixes rolled out for MacOS in regards to lighting but none for windows as of yet. Your issue seems a bit different than many that have been reported. Are your lights details grayed out or just not changing regardless of setting? Are the meshes Emissive? As with Lumen it does provide light from emissive materials.

MacOS lighting fixes:

> [@Current Available Quick-Fix Solutions](https://forums.unrealengine.com/t/current-available-quick-fix-solutions/2829):
>
> Since the launch of Unreal Engine, we have been working as quickly as possible to resolve important issues as they have been reported to us. Once an important fix has been made, we sometimes respond directly to the affected users by providing a QFE (“Quick Fix Engineering”) which we share here on the forums. These QFEs eventually get rolled into the hotfixes and major version release updates that we provide for all, but until those updates we want to make sure that they are available to the sel…

---

<div class="post-metadata">

**Author:** ![Jabroni\_Waldo](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Jabroni\_Waldo](https://forums.unrealengine.com/u/Jabroni_Waldo)\
**Post date:** [December 18, 2022, 6:26pm UTC](https://forums.unrealengine.com/t/upgrading-to-unreal-engine-5-1-breaks-lighting/694121/9 "2022-12-18T18:26:24Z")

</div>

Hello there, sorry for the delayed response. I was able to resolve my issue. The meshes had emissive lighting active, which I hadn’t realized, and so now that they’re disabled (or greatly lowered), I’m able to get the look I want! Thank you!

---

<div class="post-metadata">

**Author:** ![Mr.Fishward](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/mr.fishward/32/1073376_2.png) [@Mr.Fishward](https://forums.unrealengine.com/u/Mr.Fishward)\
**Post date:** [February 9, 2023, 2:11pm UTC](https://forums.unrealengine.com/t/upgrading-to-unreal-engine-5-1-breaks-lighting/694121/10 "2023-02-09T14:11:50Z")

</div>

This is still an issue I am having in Unreal Engine 5.1.1. I am unsure if it is an Engine bug or something I have done, but I may have to unfortunately rewrite the codebase for my game.

---

<div class="post-metadata">

**Author:** ![SupportiveEntity](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@SupportiveEntity](https://forums.unrealengine.com/u/SupportiveEntity)\
**Post date:** [February 10, 2023, 5:27am UTC](https://forums.unrealengine.com/t/upgrading-to-unreal-engine-5-1-breaks-lighting/694121/11 "2023-02-10T05:27:29Z")

</div>

I believed 5.1.1 had added that QFE (or similar fix) so it must be a different issue than that one fixed. Could you try spinning up a fresh project and testing it out there to see if it’s a project side issue? (I doubt it is, but it’s a good test)

---

<div class="post-metadata">

**Author:** ![Mr.Fishward](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/mr.fishward/32/1073376_2.png) [@Mr.Fishward](https://forums.unrealengine.com/u/Mr.Fishward)\
**Post date:** [February 24, 2023, 6:26pm UTC](https://forums.unrealengine.com/t/upgrading-to-unreal-engine-5-1-breaks-lighting/694121/12 "2023-02-24T18:26:25Z")

</div>

I was able to spin up a new project. When trying to upgrade a project I get an error causing the engine to consistently crash. I am going to have to manually upgrade my game it looks like.

---

<div class="post-metadata">

**Author:** ![JRFernandes](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@JRFernandes](https://forums.unrealengine.com/u/JRFernandes)\
**Post date:** [March 20, 2023, 3:16pm UTC](https://forums.unrealengine.com/t/upgrading-to-unreal-engine-5-1-breaks-lighting/694121/13 "2023-03-20T15:16:50Z")

</div>

Continuando a discussão de [Upgrading to Unreal Engine 5.1 Breaks Lighting](https://forums.unrealengine.com/t/upgrading-to-unreal-engine-5-1-breaks-lighting/694121/11):

With Unreal Engine 5.1.1 when turning on three spot Light or RectLight or point Light in a blue print that has a function to turn on and off through another blueprint of a switch, the graphics engine starts to crash and the FPS is unstable and varying wildly .

---

<div class="post-metadata">

**Author:** ![Mr.Fishward](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/mr.fishward/32/1073376_2.png) [@Mr.Fishward](https://forums.unrealengine.com/u/Mr.Fishward)\
**Post date:** [March 20, 2023, 8:49pm UTC](https://forums.unrealengine.com/t/upgrading-to-unreal-engine-5-1-breaks-lighting/694121/14 "2023-03-20T20:49:14Z")

</div>

I am unsure if that is my issue. Thank you for the input however!

---

<div class="post-metadata">

**Author:** ![Mr.Fishward](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/mr.fishward/32/1073376_2.png) [@Mr.Fishward](https://forums.unrealengine.com/u/Mr.Fishward)\
**Post date:** [March 30, 2023, 2:27am UTC](https://forums.unrealengine.com/t/upgrading-to-unreal-engine-5-1-breaks-lighting/694121/15 "2023-03-30T02:27:24Z")

</div>

Upgrading to Unreal Engine 5.2 fixed the issue.

---

<div class="post-metadata">

**Author:** ![fullmoonGames](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@fullmoonGames](https://forums.unrealengine.com/u/fullmoonGames)\
**Post date:** [May 5, 2023, 7:08am UTC](https://forums.unrealengine.com/t/upgrading-to-unreal-engine-5-1-breaks-lighting/694121/16 "2023-05-05T07:08:54Z")

</div>

I have 5.1.1 on my MacBook Pro. I have some meshes grayed out and others are over exposed and when I build the lighting it fails and never goes over 0% progress.  
If the moderators wants to reproduce the problem, I’m just observing the Assetsville Town that I just downloaded from the Marketplace and the lighting is broken in it.

---

<div class="post-metadata">

**Author:** ![SupportiveEntity](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@SupportiveEntity](https://forums.unrealengine.com/u/SupportiveEntity)\
**Post date:** [May 6, 2023, 9:43pm UTC](https://forums.unrealengine.com/t/upgrading-to-unreal-engine-5-1-breaks-lighting/694121/17 "2023-05-06T21:43:43Z")

</div>

Hey there @fullmoonGames! Welcome to the community! Unfortunately I don’t have an up to date MacOS rig to test this out on, but we can try to check it out!

Are there any errors in the build log when this occurs? Are your lights static or stationary? Could we see the lighting errors?

---

<div class="post-metadata">

**Author:** ![angelman](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@angelman](https://forums.unrealengine.com/u/angelman)\
**Post date:** [October 28, 2023, 4:51am UTC](https://forums.unrealengine.com/t/upgrading-to-unreal-engine-5-1-breaks-lighting/694121/18 "2023-10-28T04:51:49Z")

</div>

I am running 5.2 and have the same issue. I have a large level with 10s thousands of assets. Everything has been fine until now. A large number of assets have been added for set dressing and I get the same assertion Lightid is valid error noted above.
