Search Issue Tracker
By Design
Votes
0
Found in [Package]
2018.4.0f1
2019.1.0a1
2019.2.0a1
2019.2.0b7
2019.3.0a1
Issue ID
1166786
Regression
No
Sprites Clip through Transparent Objects when at a certain Distance or Angle to the Camera
How to reproduce:
1. Open the attached project named Case_1166786
2. Open the "test" Scene
2. Move the camera around and observe a sprite on a blue plane
Expected result: Sprite is partially covered by the transparent plane no matter the camera angle or distance
Actual result: Sprite clips through the plane depending on the angle and distance to the plane
Reproducible with: 2018.4.3f1, 2019.1.9f1, 2019.2.0b8, 2019.3.0a8
Could not test with: 2017.4.29f1(No PackageManager)
Reproducible with package versions: 3.3.0, 4.1.0, 5.16.1, 6.5.3, 6.7.1
Notes:
1. The issue happens when using ShaderGraph and standard shader transparent materials depending on the version used.
2. The issue with standard shaders is reproducible using 2018.4.3f1 and LWRP 4.1.0 but is not reproducible when using 2019.3.0a8 and LWRP 6.5.3(Behavior shown in Track_1166786_V1)
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 functionality is by design. If both renderers are sprite-renderers, SortingOrder/Layer can be used. But in this case its mixing Sprites and Meshes in perspective mode in which sorting is simply by distance of the object from camera and hence the issue.