Search Issue Tracker
Fixed in 2022.2.X
Fixed in 2020.3.X, 2021.3.X, 2022.1.X
Votes
1
Found in
2019.4
2020.3
2021.1
2021.2
2021.2.0a12
2022.2
Issue ID
1328077
Regression
No
Shaders controlling cull mode via a property get incorrectly rendered in the shadow caster pass
How to reproduce:
1. Open attached project "ShadersCull.zip" and scene "Test"
2. In Project window, select Assets/A.mat
3. In Inspector window, change CullMode to 2 and back to 0
4. In Scene View, observe changes in the shadows of "Sphere1" and "Sphere2" GameObjects
5. If no changes occur, repeat steps 3-4 using Assets/B.mat
Expected result: The spheres' shadows have different cull modes
Actual result: Both of the spheres' shadows have the same cull mode in the shadow caster pass
Reproducible with: 2019.4.24f1, 2020.3.5f1, 2021.1.4f1, 2021.2.0a14
Could not test with: 2018.4.34f1 (compilation errors break project)
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
- Manual reference page for Grid Selection is missing
- Awaitable.NextFrameAsync causes GC Alloc 0.7 KB when using CancellationToken
- Prefab "Overrides" list item popups are overridden when navigating with keyboard arrow keys
- Alpha Tolerance setting does not affect generated outlines when generating Custom Physics Shape in the Sprite Editor
- The information/help message section misses a margin in the "Profiler" window
Resolution Note (fix version 2022.2):
Fixed in 2022.2.0a9
Resolution Note (fix version 2022.1):
Fixed in 2022.1.0b15
Resolution Note (fix version 2021.3):
Fixed in 2021.3.1f1