Figure: Diagnostic workflow: Inspect visible lights → Region-based light lists → Check GPU cost and version
Figure: Diagnostic workflow: Inspect visible lights → Region-based light lists → Check GPU cost and version

Cause and mechanism

Forward+ selects relevant lights for regions of the screen before shading objects. If lights disappear or flicker, check the platform's visible-light limit, custom Shader light loops, and shadow limits separately. A fixed limit of 32 lights per tile does not apply to every URP configuration.

Check and correct the setup

  1. Check the installed URP and graphics API limits; Unity 6.0 documents 256 visible lights on desktop.
    Inspect lights affecting each region
    Inspect lights affecting each region
  2. Compare URP Lit with custom shaders and inspect Forward+ light loops and variants.
    Inspect lights affecting each region
    Inspect lights affecting each region
  3. Reduce counts and ranges to isolate the trigger; distinguish missing lighting from missing shadows.
    Inspect lights affecting each region
    Inspect lights affecting each region

Limits and verification

Changing a limit does not make lighting unlimited. Check moving-camera behavior and GPU cost on target hardware.

A focused diagnostic setup

Begin with a standard Lit floor, a few lights and shadows disabled. Separate custom-shader behavior from visible-light and shadow limits.

Test in this order

  1. Verify the Forward+ renderer and version/API limits.
    Inspect lights affecting each region
    Inspect lights affecting each region
  2. Add lights incrementally, recording whether illumination or only shadows disappear.
    Inspect lights affecting each region
    Inspect lights affecting each region
  3. Compare standard Lit replacement and reduced ranges before inspecting custom light loops/keywords.
    Inspect lights affecting each region
    Inspect lights affecting each region

Interpret the result

Universal failure and custom-shader-only failure have different next steps. Missing shadows also require atlas/light-shadow checks rather than assuming an undocumented tile limit.

Related explanations

References