Hi despite all the posts I have found none seem to fix my problem. I am testing restarting a level, but every time it restarts the lighting glitches out. I have included before and after pictures and the code.
void Update()
{
if (gameObject.transform.position.y <= -9.5f)
{
Application.LoadLevel(“Roll a ball”);
}
}
Before then After:
That’s an editor-only problem related to the “Auto” build setting in the Lighting menu.
To fix, pop open the Lighting window, uncheck Auto, and build your scene’s lighting. The problem then is that you have large lightmaps that may need to be committed to your project’s source control.
2 Likes

