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
- Mono Windows Builds don't produce full log callstacks when generating logs
- AssetBundles fail to load when running in Built Players for Mobile Devices
- UI elements with text gets bigger and grey when Player window is moved to another screen with different resolution
- System name accepts multiline text but crops it on confirmation, duplicates input, and shrinks the field when empty
- UI element scale and position are wrong in project build when DRS is changed with HDR and Software Dynamic Resolution enabled
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.