Hey everyone, have a weird lighting issue I can’t figure out, randomly my lighting gets super blown out, sometimes when I launch the game it’s fine, next time it’s blown out - it’s also strange, cause it can be fine in one screen, but once I move to another screen it’s blown out but goes back to normal when I load into a new screen.
-I may have figured this out - I didn’t realize I was getting an error about mobile needing a material tagged as isSky. I did that this morning and so far I haven’t hit this issue, but will report back if I do.-
EDIT - I lied, it just happen again after starting about 20 times without running into an issue.
OK now it happen in the editor when I loaded a level - this is driving me insane, and I have NO idea why this is happening. Every single item in my map, except the SkyAtmosphere turned white, you can see it happen to the camera, all static meshes, etc.
Hey there @Ozgalis! A majority of the time I’ve seen this, it has to do with either certain lights being duplicated unknowingly, an error with a specific light which could be corrupted, or if you have baked lighting that also may need to be purged and rebuilt.
My first recommendation is to go through and disable each light and note their effect on the scene, if this still occurs with all lights disabled, the issue may not be lighting. Setting the rendering mode to Unlit also handles this test but won’t tell us which light may be at fault.
Thanks for the response, I’ll give that a shot - it seems to be a random occurrence, it doesn’t happen every time I load a level or start the game so might take some time to check each light, but will report back of that doesn’t seem to help.
Awesome. Though if it’s inconsistent and only sometimes looks like this and sometimes not, it could be related to how they are getting rendered. If it were consistent and the lights weren’t at fault, I’d say it might be time to dump the DerivedDataCache and rebuild the shaders completely. Let me know how it goes and we can proceed from there.
So after messing around with it, it appears that the issue may have been my Sky Light causing the issue, I was never able to figure out why and since this is just a mobile game that doesn’t need really nice lighting I deleted it. So far I haven’t seen the issue pop up again.
For reference, it appeared to be jacking up the Intensity Scale of my Sky Light for some unknown reason. I appreciate all the help getting here @SupportiveEntity
Thanks for the heads up! It may have actually been related to a light duplication bug I’ve been seeing reported lately. If you come across any of your lights seemingly “Doubling”, please let me know. Have a great day!