Search Issue Tracker
In Progress
Fix In Review for 6000.0.X
Votes
0
Found in
6000.0.10f1
Issue ID
UUM-75818
Regression
Yes
Feature Examples - 51 errors on import
*Steps to reproduce:*
# Create a new URP project.
# Window > Package Manager > Shader Graph > Samples, import Feature Examples.
# Observe the console.
*Actual results:* 51 errors on import.
*Expected results:* No errors.
*Reproducible with versions:* 6000.0.11f1, 6000.0.5f1
*Not reproducible with versions:* 6000.0.4f1, 2022.3.35f1.
*Can't test with versions:* 2021.3.40f1 (12.1.15), no Feature Examples available.
*Tested on (OS):* MacOS Intel - 12.7.4
*Notes:*
* ~22 of these errors are present that do continue to repro in 6000.0.4f1 and below - see ticket UUM-75837
KeyNotFoundException errors with message similar to:
{code:java}
KeyNotFoundException: The given key '62ad4455d271ca24aac0b75094d0ccff' 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}
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
- Spot Light with 'Box' Shape stops working when it collides with Mesh
- Accepting Asset Store EULA endless loop in Package Manager window
- “InvalidOperationException: Sequence contains no matching element“ error when reenabling a custom Debug Draw Mode
- Prefab that contains a layout group is marked as changed by the Editor when opened
- Emission animation does not appear when the "Emission Map" parameter is set to black in a Lit material
Resolution Note (fix version 6000.0):
Fixed by inlining shader code directly in the custom code nodes instead of referencing an external code file.