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
- "Unsupported texture format R16 for a swizzle" error and texture is not correctly rendered when using texture Swizzle and reimporting texture asset
- Tab order is incorrect after re-ordering
- [Ubuntu] Red squares instead of ticks in dropdown options
- Multiple simultaneous input with the touch screen sometimes leaves button in not default state
- Crash on ShowDelayedContextMenu(bool) when changing the Size options of a Visual Element in the UIToolkit Inspector
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.