When entering play mode one of my prefabs seemingly breaks its lighting. The prefab is instantiated as the child of another prefab and everything works fine till exiting play mode. After that even in scene view (with lighting toggled on) the light is not working with any parameters. I can set any parameter on the light component without any change. Yet when I duplicate the light or create a new light, it gets rendered correctly. The light is neither switched off, nor has it any wrong parameters. I can repair the light by duplicating it inside the prefab and lighting will work, till I hit “Play” again. Can anybody explain what I’m missing? Something with Forward rendering path maybe? Each Room has it’s own mesh, so currently it’s 2 lights per mesh at most. That shouldn’t be a problem.
Tested with Unity 2018.3.5f1 and 2018.3.6f1.