Search Issue Tracker
Fixed
Fixed in 2020.3.43f1, 2021.3.16f1, 2022.2.0b15, 2023.1.0a18
Votes
0
Found in
2020.3.40f1
2021.3.11f1
2022.1.17f1
2022.2.0b8
2023.1.0a12
Issue ID
UUM-15295
Regression
No
Stencil broken when rendering sprites with GPU instancing on
Reproduction steps:
1. Open the “IN17478_SpriteInstancing“ project
2. Open the “Main” scene
3. Observe the arrow sprites in the Game view
Expected result: The sprites are clipped by the grey background sprite using the stencil
Actual result: The sprites are not clipped
Reproduced in: 2020.3.40f1, 2021.3.11f1, 2022.1.17f1, 2022.2.0b8, 2023.1.0a12
Reproduced using: macOS Monterey 12.0.1 (Intel), Windows 10
Notes:
1. Expected result can be seen when “Enable GPU Instancing” is disabled for “SpriteMat” material
2. Also reproduced in Player
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 warnings appear when Painting Trees on Terrain using Terrain Sample Assets
- Environment Samples count resets to 2048 when entering a higher number
- GameObject cannot be disabled when an Animator references an Animation Clip containing the GameObject's "IsActive" property
- Console errors are thrown when resolving Scene view shortcut conflicts with "Rebind to selected command" checked
- Spots of bad lighting appear on assets when the lighting is generated in a Scene
Resolution Note (fix version 2023.1.0a18):
Fixed case where Stencil is broken when rendering sprites with GPU instancing on
This fix will be available on Unity 2023.1.0a18 and above
Resolution Note (fix version 2022.2.0b15):
Fix broken stencil when rendering sprites with GPU instancing on
This is available on Unity 2022.2.0b15 and above
Resolution Note (fix version 2021.3.16f1):
Fixed in 2021.3.16f1
Resolution Note (fix version 2020.3.43f1):
Fixed in 2020.3.43f1