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
- TreeView Child display toggle styling becomes reversed when clicking and dragging it
- Null is returned when using FocusOutEvent.relatedTarget
- Unity_BaseInstanceID is always zero when rendering multiple meshes and instancing with the same buffer
- UI Document button's text does not resize relatively when size in percentage (%) is used
- Event.current.mousePosition has an offset of 1px along the y-axis in WebGL build when the mouse button is released
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