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
- "Shader warning in 'Hidden/Light2D': implicit truncation of vector type" is thrown when building Universal 2D template
- AI Assistant breaks compilation of packages using System.Runtime.CompilerServices.Unsafe via auto-referencing
- Unity Hub checks the "Documentation" module by default on the 6.4 and 6.5 streams despite that it was unchecked with the previous installs
- Shortcut that toggles between Dopesheet and Curves Views in the Animation Window's Timeline is mislabed
- Property List Items Overlap onto the Property List's top edge when scrolling through a long Property List
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