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

Package: Shader Graph

-

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

  1. Resolution Note (fix version 9.0.0-preview.34):

    Package fix available in Unity 2020.1.0b13 and above

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.