Search Issue Tracker

Fixed in 2022.1.X

Fixed in 2021.2.X

Votes

1

Found in

2021.2

2022.1

Issue ID

1368666

Regression

Yes

Assertion triggered when using Compile and show code button in Shader inspector

Shader System

-

STR:
1. Make a new project from 3D template.
2. Create a new unlit shader.
3. Open the new shader inspector, select a custom graphics API or "All platforms".
4. Click on "Compile and show code".

Expected: no assertion is triggered
Actual: several assertions are triggered (buildTarget.platform >= kFirstValidStandaloneTarget)

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.