Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice

Occlusion Culling disables my point lights.

Discussion in 'Editor & General Support' started by numandina, Jun 4, 2015.

  1. numandina

    numandina

    Joined:
    Feb 22, 2013
    Posts:
    11
    Hi.

    I am using Unity Pro. Forward Lighting.

    Spot lights by themselves work fine and looks great.

    Occlusion Culling by itself works well.

    However, when I have a scene containing a point or spot light, enabling occlusion culling makes the light disappear even if they're in an area being rendered.

    Is there a way to make spot lights work with OC, or at the very least exempt from culling?

    Thanks.

    PS. I asked this on Unity Answers but received no response..
     
    Last edited: Jun 4, 2015
  2. cowtrix

    cowtrix

    Joined:
    Oct 23, 2012
    Posts:
    319
    Hey numandina. That sounds like weird behaviour - OC should cull point lights well. Rebake the OC to be sure. If that still doesn't work, disable the Occludee Static flag on the light and OC shouldn't touch it.
     
  3. numandina

    numandina

    Joined:
    Feb 22, 2013
    Posts:
    11
    Hi. After toying with it for a few hours Unity crashed and on reboot everything was working fine. Turns out I just had to restart Unity.