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
- Animator window has a dropdown button that throws “MissingReferenceException” error on a new project when the previous project had a GameObject with an animation
- Animator State name overflows outside the visual box when the State has a long name
- UI Document file remains marked as Dirty after Undoing made changes
- Switching between UI Documents with different Canvas sizes marks the UXML file as dirty
- m_Modifications block serializes incorrectly when replacing source prefabs
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.