Search Issue Tracker

Fixed in 5.2.1



Found in [Package]


Issue ID




[LWRP] Light layer culling not working

Package: Scriptable Render Pipeline Lightweight


SRP Repo: Issue #1647

Culling mask/layer of directional light doesn't work properly.

-Create new project by selecting Lightweight RP (Preview) (uses lightweight 1.1.4-preview)
-Disable light auto bake, clear generated lighting
-Set Directional Light culling mask to Water Layer Only & Realtime Mode
= Lights which should only affect water layer does affect default layer assets

  1. Resolution Note (fix version 5.2.1):

    Unity 2019.1.0a10 or above is needed.

Comments (11)

  1. vishnu93

    Dec 31, 2019 12:22

  2. mattone593

    Oct 27, 2019 06:19


  3. DaresFireson

    Apr 11, 2019 05:11

    I have the same problem with two cameras

  4. Khaldanis1

    Feb 12, 2019 01:05

    yeah this is bad

  5. deus0

    Jan 24, 2019 07:08

    Isn't working for me in Unity 2018.3.2f1

  6. CloudyVR

    Jan 13, 2019 02:28

    Not fixed in 2018, after baking, lights still affect indirect no matter what layer mask is. Very bad design imo.

  7. zed69

    Nov 15, 2018 16:09

    Doesn't work in Legacy too without Render Pipeline Asset

  8. Immu

    Sep 20, 2018 15:14

    Good to know, thanks Phil :)

  9. phil_lira

    Sep 18, 2018 14:50

    A little update on this issue. In order to support this feature efficiently in all platforms it will require some changes added to Unity. i.e, it's not something I can fix in the package. So it will take a few weeks until this is fixed but I just wanted to let you know it's being worked on.

  10. Immu

    Aug 23, 2018 09:14

    According to devs, it's 'not a bug' - the feature is just 'not ready' (marking it as 'not ready' when using LWRP would have been nice feedback).

    Anyway, just for info, it's not ready in 3.0.0-preview either.

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.