I have created an empty game object…
inside of it a cube and a spotlight
OnCollisionEnter the light goes off…
It works fine when there is just one game object or when i duplicate it…
The problem is when i make three or more then some of the lights are turned off by themselves and i can’t figure out what is the problem.
I tried many things but none of them were successful…
Thank you for the answers
I am sorry that i did not give more details…
However changing the render mode to important did the work.
Change the number of pixel lights to more than 2 in Quality setting.