Search Unity

Question lights display issues

Discussion in 'Global Illumination' started by Arsanox, Apr 17, 2023.

  1. Arsanox

    Arsanox

    Joined:
    Apr 17, 2023
    Posts:
    4
    Good morning,

    Here is a small video that shows the problems I am having

    Some lights come on when I approach them, others stay off and others are on normally.

    However, they are all set in the same way, and the same results when I export to FBX





    Thanks for you help
     
  2. wwWwwwW1

    wwWwwwW1

    Joined:
    Oct 31, 2021
    Posts:
    769
    Hi, looks like there're many lights in the scene and the project uses URP 12.

    The default URP Forward path allows at most 8 lights per object. You can switch from Forward rendering path to Deferred (no per object lights limitations) in the URP renderer asset.

    As for shadows, you need to increase the additional lights shadow atlas resolution from 512 to something much higher in the URP asset (not URP renderer asset).

    Note: having many lights that cast real-time shadows can be performance expensive. You can try baking them (check lightmapping troubleshooting guide) if possible.
     
    Last edited: Apr 18, 2023
    kristijonas_unity likes this.
  3. Arsanox

    Arsanox

    Joined:
    Apr 17, 2023
    Posts:
    4
    Thank that's excatly that
     
    wwWwwwW1 likes this.