Search Issue Tracker
Won't Fix
Votes
0
Found in [Package]
9.0.0-preview.13
Issue ID
1238937
Regression
Yes
[Shader Graph] Package upgrade errors are thrown when ShaderGraph is upgraded from 8.0.1 to 9.0.0 preview as a dependency
When URP version 8.0.1 is installed alongwith HDRP version 9.0.0, console is spammed with ShaderGraph package upgrade errors which is a dependency of both URP and HDRP. Refer the attached screenshot
Steps to reproduce:
1) Create a new project
2) Window > Package Manager > Install URP version 8.0.1
3) Window > Package Manager > Install HDRP version 9.0.0-preview.13 (latest)
Actual result: Package upgrade errors spam the console
Expected result: No errors should be thrown in console
Occurring on upgrading Shader Graph package from 8.0.1 to 9.0.0-preview.13 as a dependency package
Working fine on upgrading Shader Graph package from 7.3.1 to 8.0.1 as a dependency package
Workaround: Rebuild the library folder
Environment: Both Windows and Mac
Stack trace:
1)
Library\PackageCache\com.unity.render-pipelines.universal@8.0.1\Editor\ShaderGraph\Interfaces\ISpriteLitSubShader.cs(5,37): error CS0246: The type or namespace name 'ISubShader' could not be found (are you missing a using directive or an assembly reference?)
2) Library\PackageCache\com.unity.render-pipelines.universal@8.0.1\Editor\ShaderGraph\SubShaders\UniversalSpriteLitSubShader.cs(220,99): error CS0246: The type or namespace name 'ShaderPass' could not be found (are you missing a using directive or an assembly reference?)
3) Library\PackageCache\com.unity.render-pipelines.universal@8.0.1\Editor\ShaderGraph\MasterNodes\SpriteLitMasterNode.cs(14,33): error CS0246: The type or namespace name 'MasterNode<>' could not be found (are you missing a using directive or an assembly reference?)
4) Library\PackageCache\com.unity.render-pipelines.universal@8.0.1\Editor\ShaderGraph\SubShaders\UniversalSpriteLitSubShader.cs(242,80): error CS0246: The type or namespace name 'ShaderPass' could not be found (are you missing a using directive or an assembly reference?)
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
- Text Object position shifts when selecting multiple Text Objects and expanding the Extra Settings in the Inspector
- Keywords on Material Variants aren't automatically saved when changed on original Material through Shader Graph
- Light Probes get baked when calling LightProbes.Tetrahedralize
- Shadows flicker and cause visual artifacts when modifying a GameObject's bounds using Swizzle (Y Mask) and Sine Time nodes
- [WebGL] Frame rate drops by 5-20 fps when moving cursor or touch input in the Player
Resolution Note:
This is a compatibility issue. As of now, we can not load multiple versions of the same package side-by-side. This is more of a feature request.