when my player collides with enemy, I reset the scene using
scenemanager.LoadScene(SceneManager.GetActiveScene().buildIndex;
but on loading my first scene the lighting is gone.
I unchecked the auto checkbox in lighting window and generated Lighting.
But now on compiling it is showing error "Baking Lighting data asset failed".
Please help in fixing this error.!
and how can i get back lighting on resetting the scene.![alt text][1]
[1]: /storage/temp/96686-error.jpg
↧