when my player collides with enemy, I reset the scene using
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.