Search Issue Tracker

By Design

Votes

0

Found in [Package]

13.1.x

Issue ID

SGB-10

Regression

No

Selection outline is incorrect when using custom Sprite Shader Graph materials

Package: Shader Graph

-

How to reproduce:
1. Open the user attached "2doutline.zip" project
2. Select the "Circle" GameObject in the "SampleScene" Scene

Expected result: The outline is circle-shaped
Actual result: The outline is not circle-shaped

Reproducible with: 13.1.2 (2022.2.0a2), 13.1.5 (2022.1.0b5)
Couldn't test with: 7.7.1 (2019.4.35f1) - No circle sprites available, 10.8.1 (2020.3.27f1), 12.1.4 (2021.2.9f1) - No outline shown

Note:
- Reproducible on a new project
- Not reproducible with HDRP, the outline is circle-shaped but the material itself is not circle-shaped

  1. Resolution Note:

    User will need to consider the differences between URP and HDRP when authoring their shaders, in this scenario their goal should be achievable. It's not guaranteed that the same implementation will always function the same between SRP's.

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.