Spot lighting not working

Hi All,

I’m pretty new to Unity and basically learning it as I go with a HoloLens project. One issue I am having that I’m not sure how to solve is that spot lighting does not seem to be working when deployed.

It works in the Game editor, but not in HoloLens. I took some screenshots to show:


This is the lighting in the editor. And this is what I see when I deploy to HoloLens

Any idea why there is such a difference??I made sure I took out all the area lights, etc…

Thanks for any ideas

Hello,

I can see my spotlight in a simple project on a plane, could you provide some more details please?

How far is the light from the surface of the floor plane?
How are you building the project?
What are the settings of the spot light set to?

Thank you,
Wesley

You might check that your pixel light count isn’t set to 0 but I doubt this is the issue since it works in the editor. The pixel light count is found under Edit → Project Settings → Quality in the inspector and the first entry under “Rendering”.

Please file a bug if you can’t get it resolved.

I am using unity 2018.2.2 and spotlight and it works in editor but does not show when build it. Any suggestions?

I have the same problem, I have no idea how to fix it