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?
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.