Search Issue Tracker
Fixed in 2023.1.0a26
Fixed in 2022.2.4f1
Votes
1
Found in
2022.2.0b16
Issue ID
UUM-21478
Regression
No
Light layers only work with Directional light
To reproduce:
- Open the attached project
- In UniversalRP-HighQuality asset, under Lighting section, toggle "Use Rendering Layers"
- Look into Scene, Game View and Builds on Android and iOS.
Result: Lighting from Spot and Point lights disappears in Scene and Game views when "Use Rendering Layers" is enabled.
Also affects: 2023.1.0a24
Comments (2)
-
Disastorm
Dec 23, 2022 12:46
Ok tested it in a new project.
Render Layers only works properly in Deferred rendering, it does not work in Forward or Forward+.
Light Culling Mask only works properly in Forward, it does not work properly in Forward+ or Deferred.So effectively:
Forward: selective lighting can only be done with Culling Masks
Deferred: selective lighting can only be done with Render Layers.
Forward+: selective lighting can not be done in any way. -
Disastorm
Dec 18, 2022 16:45
Seems to still be happening in 2022.2.1f.
Not really any workaround either because when disabling "Use Rendering Layers" the light Culling Mask also does not work at all.
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Texture2D hash changes inside of an AssetBundle when rebuilding a SpriteAtlas bundle with an empty AssetPostprocessor Script enabled
- Aniso Level still applies when Generate MipMap is disabled in Texture Import Settings
- Mipmap Limit Groups long names are not truncated when creating a new Mipmap Limit Group with a long name
- “ArgumentException: Invalid double parameter.” error is thrown when Infinity is typed into the Fixed Timestep field
- GameObject becomes gray when using HDRP and STP together on macOS
Resolution Note (fix version 2023.1.0a26):
Fixed by https://issuetracker.unity3d.com/product/unity/issues/guid/UUM-20184
Resolution Note (fix version 2022.2.4f1):
Fixed by https://issuetracker.unity3d.com/product/unity/issues/guid/UUM-20184