Search Issue Tracker
By Design
Votes
0
Found in
6000.0.21f1
Issue ID
UUM-82615
Regression
Yes
Sprites are incorrectly occluded by Sprite Physics Shape culling when behind in sorting order
Reproduction steps:
1. Open the attached “Blades of Lore - U6.0.19f - issue.zip” project
2. Open the “Rooms” Scene (Assets > Scenes)
3. Enter the Play mode
4. In the Game view press the “Create Room” button
5. Press the “Start Game” button
6. Press '3' on the numpad
7. Observe the spawned character in the Game view
Expected result: No GameObjects get clipped out
Actual result: GameObject in the characters hand randomly clips out
Reproducible with: 6000.0.19f1, 6000.0.21f1
Not reproducible with: 2022.3.47f1, 6000.0.18f1
Couldn’t test with: 2021.3.44f1 (Unfixable compiler errors)
Reproduced on: Windows 10 (User reported), Windows 11
Not reproducible on: No other environment tested
Note:
- Part of the wooden structure in the background which uses the same shader also gets clipped out
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
- Texture2D hash changes inside of an AssetBundle when rebuilding a SpriteAtlas bundle with an empty AssetPostprocessor Script enabled
- Aniso Level still applies when Generate MipMap is disabled in Texture Import Settings
- Mipmap Limit Groups long names are not truncated when creating a new Mipmap Limit Group with a long name
- “ArgumentException: Invalid double parameter.” error is thrown when Infinity is typed into the Fixed Timestep field
- GameObject becomes gray when using HDRP and STP together on macOS
Resolution Note:
The issue seems to be with mixing 2D Sorting Order/Layer but also using DepthWrite/Test in RimLight shader. This can result in non-deterministic order of rendering and can result in artifacts.
Would suggest either use URP-2D/Sorting Order/Layer
[or]
URP/Depth-Write
The issue in the scene seems to be with MimicSprite in Mureal.Prefab rendered with RimLight shader (that has Z-Depth enabled). Disabling Depth-Write in RimLight shader or disabling the Object resolves the issue.