Search Issue Tracker
Fixed
Fixed in 6000.0.22f1
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
- [Android] The Player screen turns black when playing a video under certain conditions
- Search window icons at the bottom are cut off when Search window is resized vertically
- "Try something else?" text label is cut off when searching for a long text in the Search window
- Rendering Debugger window sections do not have a minimum width set when resizing with the slider in the middle of the window
- Last segment of a Sprite Shape Spline is affected by other segments' Sprite Variant change when no edge Sprite is selected
Resolution Note:
I followed the steps and was unable to make this issue occur.
Resolution Note (fix version 6000.0.22f1):
Fixed by inlining shader code directly in the custom code nodes instead of referencing an external code file.