Shader Graph Crashes, When Opening Graph

Hi there

Wanted to play with shadergraph again after some time.

Created a new 3d project in Unity 2018.3.12f1, i installed shadergraph 4.10

Created a PBR graph, but when i tried to open it i get this error, and my IDE (rider) opens:

Exception thrown while invoking [OnOpenAssetAttribute] method

UnityEditor.ShaderGraph.ShaderGraphImporterEditor:OnOpenAsset (int,int)' : NullReferenceException: Object reference not set to an instance of an object

UnityEditor.Experimental.UIElements.GraphView.IconBadge.AttachTo (UnityEngine.Experimental.UIElements.VisualElement target, UnityEngine.SpriteAlignment align) (at /Users/builduser/buildslave/unity/build/Modules/GraphViewEditor/IconBadge.cs:143)

UnityEditor.ShaderGraph.Drawing.MaterialNodeView.Initialize (UnityEditor.ShaderGraph.AbstractMaterialNode inNode, UnityEditor.ShaderGraph.Drawing.PreviewManager previewManager, UnityEditor.Experimental.UIElements.GraphView.IEdgeConnectorListener connectorListener) (at Library/PackageCache/com.unity.shadergraph@3.3.0-preview/Editor/Drawing/Views/MaterialNodeView.cs:155)

UnityEditor.ShaderGraph.Drawing.GraphEditorView.AddNode (UnityEditor.Graphing.INode node) (at Library/PackageCache/com.unity.shadergraph@3.3.0-preview/Editor/Drawing/Views/GraphEditorView.cs:322)

UnityEditor.ShaderGraph.Drawing.GraphEditorView..ctor (UnityEditor.EditorWindow editorWindow, UnityEditor.ShaderGraph.AbstractMaterialGraph graph) (at Library/PackageCache/com.unity.shadergraph@3.3.0-preview/Editor/Drawing/Views/GraphEditorView.cs:150)

UnityEditor.ShaderGraph.Drawing.MaterialGraphEditWindow.Initialize (System.String assetGuid) (at Library/PackageCache/com.unity.shadergraph@3.3.0-preview/Editor/Drawing/MaterialGraphEditWindow.cs:521)

UnityEditor.ShaderGraph.ShaderGraphImporterEditor.ShowGraphEditWindow (System.String path) (at Library/PackageCache/com.unity.shadergraph@3.3.0-preview/Editor/Importers/ShaderGraphImporterEditor.cs:45)

UnityEditor.ShaderGraph.ShaderGraphImporterEditor.OnOpenAsset (System.Int32 instanceID, System.Int32 line) (at Library/PackageCache/com.unity.shadergraph@3.3.0-preview/Editor/Importers/ShaderGraphImporterEditor.cs:55)

UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)

I tried other versions of Shader Graph does not do any difference. :frowning:

Any clue what to do?

It’s on newest OSX.

Problem solved.

The released version today 2019.1 and the matching Shader Graph works :slight_smile: