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. Dismiss Notice

Question URP Limit of 8 lights per object?

Discussion in 'Universal Render Pipeline' started by Digitex1, Dec 9, 2021.

  1. Digitex1

    Digitex1

    Joined:
    Aug 28, 2017
    Posts:
    41
    Hello,

    I'm kind of confused about how the limit of 8 lights per object work in URP:

    I got a sample scene (Project in Unity 2020 targeting Mobile device with URP 11).

    I create a simple 3d cube to serve as a plane and created 8 Real-time spotlights in the scene (no directional). For some reason ONLY 4 spotlights are visible. WHY? o_Oo_O



    If I zoom in on the invisible lights, they become visible. Here is a screenshot of the URP asset settings:



    Does anyone have an idea about the reason?

    Thanks in advance!
     
  2. Digitex1

    Digitex1

    Joined:
    Aug 28, 2017
    Posts:
    41
    Found it. for some reason, even though I've put the right URP asset in the Graphics tab in Project Settings, I found a different asset in the Quality Tab for the 3 different levels: low / medium & High and by changing that to my URP asset. problem solved.
     
    DevDunk and DEEnvironment like this.
  3. DevDunk

    DevDunk

    Joined:
    Feb 13, 2020
    Posts:
    4,404
    Good you fixed it!
    If you want more light, you could try 2021.2 with deferred rendering! (or bake them if possible)