Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Question Begginner problem Help needed Graphs.Edge.Wakeup issue

Discussion in 'Scripting' started by FirstBB8Droid, Jun 1, 2020.

  1. FirstBB8Droid

    FirstBB8Droid

    Joined:
    May 17, 2020
    Posts:
    39
    I'm makeing a unity fps game and I have been trying to implement enemy healthbars above their head. I have started to get a error that almost seems completely different from what I would expect
    I keep on getting
    NullReferenceException: Object reference not set to an instance of an object
    UnityEditor.Graphs.Edge.WakeUp () (at <17db1b4b8cf240039d4619a6dccfb28c>:0)
    UnityEditor.Graphs.Graph.DoWakeUpEdges (System.Collections.Generic.List`1[T] inEdges, System.Collections.Generic.List`1[T] ok, System.Collections.Generic.List`1[T] error, System.Boolean inEdgesUsedToBeValid) (at <17db1b4b8cf240039d4619a6dccfb28c>:0)
    UnityEditor.Graphs.Graph.WakeUpEdges (System.Boolean clearSlotEdges) (at <17db1b4b8cf240039d4619a6dccfb28c>:0)
    UnityEditor.Graphs.Graph.WakeUp (System.Boolean force) (at <17db1b4b8cf240039d4619a6dccfb28c>:0)
    UnityEditor.Graphs.Graph.WakeUp () (at <17db1b4b8cf240039d4619a6dccfb28c>:0)
    UnityEditor.Graphs.Graph.OnEnable () (at <17db1b4b8cf240039d4619a6dccfb28c>:0)
    If you need any code or anything to help, please, just ask.