NullReferenceException: Object reference not set to an instance of an object

Hello,

I keep getting this message in my console but my game works just fine…It does not take me to any line on my script.

NullReferenceException: Object reference not set to an instance of an object
UnityEditor.Graphs.Edge.WakeUp () (at :0)
UnityEditor.Graphs.Graph.DoWakeUpEdges (System.Collections.Generic.List1[T] inEdges, System.Collections.Generic.List1[T] ok, System.Collections.Generic.List`1[T] error, System.Boolean inEdgesUsedToBeValid) (at :0)
UnityEditor.Graphs.Graph.WakeUpEdges (System.Boolean clearSlotEdges) (at :0)
UnityEditor.Graphs.Graph.WakeUp (System.Boolean force) (at :0)
UnityEditor.Graphs.Graph.WakeUp () (at :0)
UnityEditor.Graphs.Graph.OnEnable () (at :0)

Seems like a bug in the editor. Does it persist when you restart the editor?

I have to say I’ve encountered very strange editor asserts from the start of this week, they usually go away with a restart.

Agree with WarmedxMints… but also check if all your packages are up to date, and perhaps do a Reimport-All from the Project panel. Otherwise it can likely just be ignored.

It’s probably just because 2020.

3 Likes

truth

1 Like