Multiple light sources?
I've got a problem with multiple light sources. I know that multiple lights is a huge performance hog on mobile, so I wouldn't be surprised if this isn't supported. But when you try and use it in the editor, it breaks all kinds of stuff.
I have a directional light in my lens, and I want to add a point light that wil be toggled on and off (with the muzzle flash of a gun).
When I add the point light, even if I disable it in the project window, it is always on. If I delete this point light it is removed, but the directional light fails to work.
Also, in code I tried to enable/disable the light and it doesn't work at all. It's always on.
Are multiple light sources just not supported? Or are certain combinations only allowed?
Hello Ralph,
I tried to replicate the issue that you're having with the light sources but everything worked fine with lights.
Yes, multiple light sources are supported but it's not recommended for low end mobile devices.
What I would suggest is to start a new clean project and let us know if the problem still exists.
Best,
Amir