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
- Test Runner’s vertical scrollbar overlaps with the up and down arrows and upper toolbar tabs when the window is minimized
- The Input Field view is not updated when deleting lines of text
- The scrollbar does not respect empty lines in the Input Field
- “Texture Atlas Viewer“ button text overlaps another button when the UI Toolkit Debugger is narrowed
- Thresholds are no longer automatically calculated after deleting Motion fields in Blendtrees
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