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

Package: SRP Lightweight Template

-

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)

  1. 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.

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.