- Home /
Android - Problem with lights animation
I have a very strange problem with three lights. I've created a Java script where a light increases its intensity value at a certain time and i've given this script to two spot lights. The third one is an omni light which remains always at the same intensity. This all works fine but when i create the apk file (it's an Android project) and try it on a mobile phone, at the choosen time the first (spot) light and the third (omni) light increase their intensity, while the second (spot) light intensity remains the same! it's like on the apk file the Java script that controls the second spot light has been transferred to the third (omni) light! Can someone explain me why this happens?
Answer by Mz3D · Oct 01, 2012 at 04:39 PM
Ok for everyone who might need this information: the problem was in the number of pixel light set in the quality settings. After increasing that number the lights are rendered correctly. I didn't notice any performance decrease either on a low end mobile.
Your answer
![](https://koobas.hobune.stream/wayback/20220613081727im_/https://answers.unity.com/themes/thub/images/avi.jpg)