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
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
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
- Sampling a texture using an HLSL file throws shader errors and the code does not compile
- "Graphics.CopyTexture called with null source texture" error when Base Camera of an Overlay Camera is removed with DX11 Graphics API and Compatibility Mode enabled
- WebGL sends wrong value with large numbers when SendMessage function is used
- Errors and warnings are thrown after installing Visual Effect Graph Learning Samples
- Add Behaviour dropdown has a part in which the dropdown outline is cut out when the Add Behaviour dropdown is opened
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.