Search Issue Tracker
Fixed in 2021.3.29f1
Fixed in 2023.2.0b2
Votes
2
Found in
2021.3.2f1
2022.2.0a13
2023.1.0b12
2023.2.0a8
Issue ID
UUM-1841
Regression
Yes
Culling masks do not work with baked lighting
Steps to reproduce:
1. Clone Adventure-Sample-Game project
2. Open Market scene
3. Pan viewport camera around
4. Notice that the realtime shadowmap is offset
Notes:
- Reproduces in: 2021.1.0a5, 2021.1.0b1, 2021.1.0f1, 2021.2.0a5, 2021.2.0b1, 2021.2.0b8, 2021.2.4f1, 2021.2.18f1, 2021.3.0f1, 2021.3.2f1, 2022.1.1f1, 2022.2.0a1, 2022.2.0a2, 2022.2.0a5, 2022.2.0a13
- Does not reproduce in: 2021.1.0a1, 2021.1.0a4, 2021.1.0a3, 2020.3.33f1, 2020.3.34f1
- Reproduces both on Windows and macOS
- Reproduces with all lighting modes (Subtractive, Baked Indirect, Shadowmask)
- Introduced by this PR: [https://ono.unity3d.com/unity/unity/pull-request/113230]
- Clearing baked lightmap data resolves the issue
- Does not reproduce when CharacterLight Culling Mask property is changed from Characters to Everything
Expected result:
!Expected-2020.3.34f1.png|thumbnail!
Actual result:
!Actual-2021.3.2f1.png|thumbnail!
Comments (2)
-
wavebbs
Oct 14, 2022 04:44
Hi, We have met this issue too, how is going ?
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 2021.3.29f1):
Fixed by another internal issue: UUM-36912: SHADOWS_SCREEN keyword doesnt get reset after LightMode=Always pass
Resolution Note (fix version 2023.2.0b2):
Fixed by another internal issue: UUM-36912: SHADOWS_SCREEN keyword doesnt get reset after LightMode=Always pass