Search Issue Tracker
Fixed in 2022.1.X
Fixed in 2020.3.X, 2021.1.X, 2021.2.X
Votes
0
Found in
2021.2
2022.1
Issue ID
1348862
Regression
No
Pass.CompileVariant throws errors when iterating over all subshaders and passes of a new surface shader
STR:
1. Create a new surface shader.
2. Put the attached script into the `Assets/Editor` folder.
3. Run the script from the menu "MyMenu/Compile!".
Expected: no errors are printed in the console.
Actual: console is spammed with some errors about subshaders not being found.
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- [iOS] WebCamDevice.availableResolutions returns a single resolution with width and height both 0 on some iOS devices
- Editor freezes when selecting a GameObject in Play Mode with a script containing a public byte array
- Saving moves Toggle Button Group buttons to the wrong place in hierarchy
- [iOS] Visual artifacts are visible when the camera's feed is rendered to a texture
- Error "cannot map expression to ps_4_0 instruction set" in Shader Graph preview when using the GATHER_RED_TEXTURE2D macro in custom hlsl function
Add comment