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
- Automatic LOD fails and SRP Batcher incompatibility occurs when using spline-based quad-topology meshes
- Editor crashes on D3D12GetInterface when repeatedly enabling and disabling 256 text components
- Flickering bright white dots in the Scene when the Android Platform is selected and DX11 Graphics API is used with Iris(R) Xe Graphics GPU
- Inconsistent capitalization and misaligned text in multiple query blocks in Search window
- “Remove Unused Overrides” available on not loaded Scene and throws “ArgumentException: The scene is not loaded” warning
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.