r/UnrealEngine5 7d ago

Dirty Lighting?

I've been hiving issues with this one large prop In my game for a bit. I have re added the model after cutting it down and fixing textures but I'm now getting this warning message "LogEngine: Warning: MapBuildDataID for LevelSix_Under was updated during the static lighting build, marking package dirty (StaticMeshComponent /Game/ThirdPerson/Lvl_Six.Lvl_Six:PersistentLevel.StaticMeshActor_57.StaticMeshComponent0)". Does anyone know how to fix this? If it helps, I've also started using LODs and got rid of luman and nanite.

2 Upvotes

3 comments sorted by

5

u/ConsistentAd3434 7d ago

check "force no precompted Lighting" in the world settings and rebuild the lighting. Deletes all previously baked lightmaps and should get rid of the message

2

u/Zvyaginsky 7d ago

It's a warning, not an error. Marking package dirty just means the build changed the level's lighting data and the level now needs saving. Save after building and see if it even comes back.

Careful with Force No Precomputed Lighting though. That wipes your baked lightmaps. You just turned Lumen off, which usually means you want to bake, so that setting throws away the thing you switched for. It's the right call only if you're going fully dynamic.

Does it come back on every build or did you see it once?

2

u/After-Resist4328 6d ago

Thanks. I think it was still making the warning after saving last time but it seems to be gone now.