Search Issue Tracker

Won't Fix

Votes

0

Found in

6000.0.11f1

6000.1.0a7

7000.0.0a1

Issue ID

UUM-75899

Regression

Yes

Production Ready Shaders - 66 errors on import

-

*Steps to reproduce:*
# Create a new URP project.
# Window > Package Manager > Shader Graph > Samples, import Production Ready Shaders.
# Observe the console.

*Actual results:* 66 errors on import.

*Expected results:* No errors.

*Reproducible with versions:* 6000.0.11f1, 6000.0.5f1 (17.0.3)

*Not reproducible with versions:* 2022.3.35f1 (14.0.11), there are still errors, but they are different. See also UUM-74847 as there are errors with different conditions. 

*Can't test with versions:* 6000.0.4f1 (17.0.3) & 2021.3, sample is not available.

*Tested on (OS):* MacOS Intel - 12.7.4

*Notes:*
* Not sure about the regression/FAV on this one as this sample is not available in U6 4f1 which uses the same package version as 5f1 (where the sample is available).
Marking as a regression because the same errors do not repro in 2022.3.35f1. Contact ticket reporter if you require further testing.

Multiple KeyNotFoundException errors similar to:
{code:java}
KeyNotFoundException: The given key 'bcc5be5ab9ee6314a9a679d3e54b5a21' was not present in the dictionary.
System.Collections.Generic.Dictionary`2[TKey,TValue].get_Item (TKey key) (at <ce95f63947c64e4bbf5929ebe610c440>:0)
UnityEditor.ShaderGraph.ShaderSubGraphImporter.ContainsCircularDependency (UnityEditor.GUID assetGUID, System.Collections.Generic.Dictionary`2[TKey,TValue] dependencyMap, System.Collections.Generic.List`1[T] ancestors) (at ./Library/PackageCache/com.unity.shadergraph/Editor/Importers/ShaderSubGraphImporter.cs:479)
UnityEditor.ShaderGraph.ShaderSubGraphImporter.ContainsCircularDependency (UnityEditor.GUID assetGUID, System.Collections.Generic.Dictionary`2[TKey,TValue] dependencyMap, System.Collections.Generic.List`1[T] ancestors) (at ./Library/PackageCache/com.unity.shadergraph/Editor/Importers/ShaderSubGraphImporter.cs:481)
UnityEditor.ShaderGraph.ShaderSubGraphImporter.GatherDescendentsFromGraph (UnityEditor.GUID rootAssetGuid, System.Boolean& containsCircularDependency, System.Collections.Generic.HashSet`1[UnityEditor.GUID]& descendentGuids) (at ./Library/PackageCache/com.unity.shadergraph/Editor/Importers/ShaderSubGraphImporter.cs:430)
UnityEditor.ShaderGraph.ShaderSubGraphImporter.ProcessSubGraph (UnityEditor.ShaderGraph.SubGraphAsset asset, UnityEditor.ShaderGraph.GraphData graph, UnityEditor.ShaderGraph.ShaderGraphImporter+AssetImportErrorLog importLog) (at ./Library/PackageCache/com.unity.shadergraph/Editor/Importers/ShaderSubGraphImporter.cs:246)
UnityEditor.ShaderGraph.ShaderSubGraphImporter.OnImportAsset (UnityEditor.AssetImporters.AssetImportContext ctx) (at ./Library/PackageCache/com.unity.shadergraph/Editor/Importers/ShaderSubGraphImporter.cs:85)
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr, Boolean&) (at /Users/bokken/build/output/unity/unity/Modules/IMGUI/GUIUtility.cs:219){code}
Multiple SubGraph errors similar to:
{code:java}
Sub Graph at Assets/Samples/Shader Graph/17.0.3/Production Ready Shaders/Environment/Rock/RockMacroDetail.shadersubgraph has 5 error(s), the first is: Validation: Could not find Sub Graph asset with GUID 1586fe714d6c2424284e2ccf5296d73c.
UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&){code}
Multiple ShaderGraph errors similar to:
{code:java}
Shader Graph at Assets/Samples/Shader Graph/17.0.3/Production Ready Shaders/Environment/Details/Grass/GrassWindTerrainDetails.shadergraph has 8 error(s), the first is: Validation: Could not find Sub Graph asset with GUID 1586fe714d6c2424284e2ccf5296d73c.
UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&){code}
Multiple Problem detected while importing Prefab errors similar to:
 
{code:java}
Problem detected while importing the Prefab file: 'Assets/Samples/Shader Graph/17.0.3/Production Ready Shaders/Prefabs/Demo.prefab'. The file might be corrupt or have a missing Variant parent or nested Prefabs. See details below. Errors: Nested Prefab problem. Missing Nested Prefab Asset: 'InfoStand (Missing Prefab with guid: 96048391e5bc0af49b1edfa6e3a2427c)' Nested Prefab problem. Missing Nested Prefab Asset: 'Turntable (Missing Prefab with guid: e4f6e5cde45e5a74889ac74289723680)'   UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&){code}
 

  1. Resolution Note:

    There are no fixes planned for this Bug

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.