Hello internet gurus!
We are working on our first game, and since switching to using level streaming, we are having no end of trouble with getting baked lighting into our packaged game. I’ve trawled through here and Reddit and found many people with similar issues but all of the suggestions that have solved their issues don’t seem to have worked for us and I’m at a loose end!
Our setup is:
- we have a persistent level which contains very little except a few data blueprints to be queried at runtime
- we then have a lobby map as a sublevel, set to always loaded (admittedly, this could be part of the persistent level, but this map functions fine with baked lighting)
- we also have 3 other sublevels that are our game levels, these aren’t directly connected to anything else (player is teleported to and from them), have all their own lighting contained within their levels, and don’t overlap with any other levels. These are all set to be loaded via blueprint.
- The player enters the game into the lobby, then selects a level to play via a menu and the corresponding sublevel is loaded using load streaming level by name.
- in the lobby the light bake is fine, on any of the streamed in sub levels the lighting is not present, all the walls are just black
Things we’ve tried:
- having the lights in their sublevels (the same level as the geometry it will affect) and building all levels from the persistent level
- The same as above but building from within each map
- The same again but with each level set to a lighting scenario
- Having all the lights in the persistent level and building all levels
- Having all lights in a separate “lighting” sub level set to always loaded and building from within persistent level
- Same as above but with the “Lighting” sub level set to a lighting scenario
All of these have the same effect, lights in the lobby are fine, but any dynamically streamed level has no lighting. Which leads me to assume that the baked lighting is being removed when the level is loaded/reloaded, but I have no idea what to do about it.
Any suggestions or points in a direction to look would be much appreciated!