Search Unity

Spot Light Disappears

Discussion in 'Global Illumination' started by totsboy, Jun 26, 2019.

  1. totsboy

    totsboy

    Joined:
    Jul 12, 2013
    Posts:
    253
    Hello,
    I have a problem where the spot lights I use for my car headlights disappears in certain areas.



    A have a lot of lights in the scene, mostly baked. This one specifically is set as Mixed.
    I also noticed that if I create the headlights again, they appear normally, so I thought it could be some priority issue?

    Any ideas what this could be?
     
  2. kristijonas_unity

    kristijonas_unity

    Unity Technologies

    Joined:
    Feb 8, 2018
    Posts:
    1,080
    If you are using Shadowmask lighting mode, it might be that you have too many overlapping mixed lights in your scene. Try switching to the Light Overlap scene debug mode, and take note of any lights that are marked as red. You can read more about it here - https://docs.unity3d.com/Manual/LightMode-Mixed.html
     
  3. uy3d

    uy3d

    Unity Technologies

    Joined:
    Aug 16, 2016
    Posts:
    187
    You may be running into the per pixel light limit. You can increase that via the project settings' graphics options. The head lights should also be tagged as important.