Search Issue Tracker

Fixed

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!

  1. Resolution Note:

    Fixed by another internal issue: UUM-36912: SHADOWS_SCREEN keyword doesnt get reset after LightMode=Always pass

Comments (2)

  1. wavebbs

    Oct 14, 2022 04:44

    Hi, We have met this issue too, how is going ?

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.