diff --git a/Packages/com.unity.shadergraph/Editor/Drawing/Views/MaterialGraphView.cs b/Packages/com.unity.shadergraph/Editor/Drawing/Views/MaterialGraphView.cs index c61c86d35fb..bf1f6e553cf 100644 --- a/Packages/com.unity.shadergraph/Editor/Drawing/Views/MaterialGraphView.cs +++ b/Packages/com.unity.shadergraph/Editor/Drawing/Views/MaterialGraphView.cs @@ -40,10 +40,15 @@ public MaterialGraphView() Assembly graphViewAssembly = null; foreach (var assembly in AppDomain.CurrentDomain.GetAssemblies()) { - var assemblyName = assembly.GetName().ToString(); - if (assemblyName.Contains("GraphView")) + try { - graphViewAssembly = assembly; + if (assembly.GetName().ToString().Contains("GraphView")) + graphViewAssembly = assembly; + } + catch (Exception) + { + // ignored, some user assemblies may fail here + // https://youtrack.jetbrains.com/issue/RIDER-112939 } }