Search Issue Tracker
Fixed in 9.0.0-preview.34
Votes
0
Found in [Package]
9.0.0-preview.14
Issue ID
1270380
Regression
No
[ShaderGraph] References are broken when importing a Material with all dependencies included in a .unitypackage
How to reproduce:
1. Open the attached project
2. Open the Project Window
3. Select the "Distortion" Material
4. Right-Click it and choose "Select Dependencies" from the context menu
5. Right-Click the selected Assets and export them (Export Package option)
6. Create a new URP template project
7. Make sure it has VFX and Shader Graph Packages installed
8. Import the exported .unitypackage
Expected result: No broken references to the Material (Material's Shader is not "Hidden/Error")
Actual result: Material has broken references and the ShaderGraph Asset cannot be opened
Reproducible with: 2019.4.9f1, 2020.1.3f1, 2020.2.0a21 (7.3.1, 9.0.0-preview.14)
Not reproducible with: 2020.2.0a21 (9.0.0-preview.34, 10.0.0-preview.27)
Couldn't test with: 2018.4.26f1
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
- Texture2D hash changes inside of an AssetBundle when rebuilding a SpriteAtlas bundle with an empty AssetPostprocessor Script enabled
- Aniso Level still applies when Generate MipMap is disabled in Texture Import Settings
- Mipmap Limit Groups long names are not truncated when creating a new Mipmap Limit Group with a long name
- “ArgumentException: Invalid double parameter.” error is thrown when Infinity is typed into the Fixed Timestep field
- GameObject becomes gray when using HDRP and STP together on macOS
Resolution Note (fix version 9.0.0-preview.34):
Package fix available in Unity 2020.1.0b13 and above