Hi, I’ve recently updated to Unity 2022 and since then I get the following error message:
“NullReferenceException: Object reference not set to an instance of an object
UnityEditor.ShaderGraph.Drawing.MaterialGraphEditWindow.OnDisable () (at ./Library/PackageCache/com.unity.shadergraph@14.0.4/Editor/Drawing/MaterialGraphEditWindow.cs:417)”
The thing is that everything still works perfectly fine, but this error message keeps popping up all the time.
It may seem to work fine, but do I have to worry that this might be able to crash an app?
Does anybody now what I need to do?
What version are you on? I have the same error occurring on 2022.2.5f1, but not on 2022.2.1f1.
I’ve rolled back to 2022.2.1f1 for now, however upon doing so I had to reinstall the Universal RP package in safe mode.
2022.2.5f1 apparently changed URP version for me.
Thanks for the reply. I’m using 2022.2.2f1. My initial thought was to remove shadergraph, then install it again. but unity won’t allow that anymore. I’ll try what you did later.
same error in unity 2022.2.2 I cant find a way to fix it. I delete the universal RP and the error still appeared .then download URP the error still appears .Did you fix it ? if yes how?