Search Issue Tracker

Not Reproducible

Votes

1

Found in

2017.3.0b5

Issue ID

959851

Regression

Yes

UnityEditor.Graphs.Edge.WakeUp () Null Ref thrown when animating a camera

Themes

-

This issue happens on Mac OSX only.
There's a console error that keeps spamming when animating a camera throught the scene.

Repro:
- open attached project on OSX, with Unity 2017.3 0b5
- press play
- press stop
- notice the error in the console

Bug only happens in 2017.3 0b5

Not reproducible with 2017.3 0b4 or earlier

Comments (51)

  1. DerDicke

    Jan 23, 2019 11:26

    Having that thing on Win7, Unity 2018.2.18 right now.

  2. ReSY

    Dec 05, 2018 17:14

    Windows 10, Unity 2018.2.18. I change something in Animation window. When i hit play error is appeared. Animator windows is blank.

    NullReferenceException: Object reference not set to an instance of an object
    UnityEditor.Graphs.Edge.WakeUp () (at C:/buildslave/unity/build/Editor/Graphs/UnityEditor.Graphs/Edge.cs:114)
    UnityEditor.Graphs.Graph.DoWakeUpEdges (System.Collections.Generic.List`1 inEdges, System.Collections.Generic.List`1 ok, System.Collections.Generic.List`1 error, Boolean inEdgesUsedToBeValid) (at C:/buildslave/unity/build/Editor/Graphs/UnityEditor.Graphs/Graph.cs:387)
    UnityEditor.Graphs.Graph.WakeUpEdges (Boolean clearSlotEdges) (at C:/buildslave/unity/build/Editor/Graphs/UnityEditor.Graphs/Graph.cs:286)
    UnityEditor.Graphs.Graph.WakeUp (Boolean force) (at C:/buildslave/unity/build/Editor/Graphs/UnityEditor.Graphs/Graph.cs:272)
    UnityEditor.Graphs.Graph.WakeUp () (at C:/buildslave/unity/build/Editor/Graphs/UnityEditor.Graphs/Graph.cs:250)
    UnityEditor.Graphs.Graph.OnEnable () (at C:/buildslave/unity/build/Editor/Graphs/UnityEditor.Graphs/Graph.cs:245)

  3. GameDBharat

    Oct 17, 2018 11:27

    Windows 10 shows error in Unity 2018.2.11f1.

    I have got this error when unity engine was refreshing.

    Error:
    eValid) (at C:/buildslave/unity/build/Editor/Graphs/UnityEditor.Graphs/Graph.cs:387)
    UnityEditor.Graphs.Graph.WakeUpEdges (Boolean clearSlotEdges) (at C:/buildslave/unity/build/Editor/Graphs/UnityEditor.Graphs/Graph.cs:286)
    UnityEditor.Graphs.Graph.WakeUp (Boolean force) (at C:/buildslave/unity/build/Editor/Graphs/UnityEditor.Graphs/Graph.cs:272)
    UnityEditor.Graphs.Graph.WakeUp () (at C:/buildslave/unity/build/Editor/Graphs/UnityEditor.Graphs/Graph.cs:250)
    UnityEditor.Graphs.Graph.OnEnable () (at C:/buildslave/unity/build/Editor/Graphs/UnityEditor.Graphs/Graph.cs:245)

  4. wpatel

    Sep 27, 2018 14:09

    Windows 10 shows error in Unity 2018.2.6f1.

    First occurred for me when adding an Animation Controller which could not find a child object to animate. After fixing it, the Null reference error showed up for UnityEditor.Graphs.Edge.WakeUp ().

    Error persisted through Scenes. Vanished after restarting Unity.

  5. playsidepaul

    Sep 04, 2018 07:36

    Still getting this error on occasion in 2018.2.1f1.

    NullReferenceException: Object reference not set to an instance of an object
    UnityEditor.Graphs.Edge.WakeUp () (at /Users/builduser/buildslave/unity/build/Editor/Graphs/UnityEditor.Graphs/Edge.cs:114)
    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 /Users/builduser/buildslave/unity/build/Editor/Graphs/UnityEditor.Graphs/Graph.cs:387)
    UnityEditor.Graphs.Graph.WakeUpEdges (System.Boolean clearSlotEdges) (at /Users/builduser/buildslave/unity/build/Editor/Graphs/UnityEditor.Graphs/Graph.cs:286)
    UnityEditor.Graphs.Graph.WakeUp (System.Boolean force) (at /Users/builduser/buildslave/unity/build/Editor/Graphs/UnityEditor.Graphs/Graph.cs:272)
    UnityEditor.Graphs.Graph.WakeUp () (at /Users/builduser/buildslave/unity/build/Editor/Graphs/UnityEditor.Graphs/Graph.cs:250)
    UnityEditor.Graphs.Graph.OnEnable () (at /Users/builduser/buildslave/unity/build/Editor/Graphs/UnityEditor.Graphs/Graph.cs:245)

  6. Mr-Slat

    Jul 28, 2018 18:13

    Voting is disabled though

  7. Mr-Slat

    Jul 28, 2018 18:12

    It still happens with 2018.1f

  8. diegoleao

    Jul 12, 2018 19:51

    I have the same problem on 2018.1.1f1 on Windows 10, but I don't know if it is related to the camera.

    NullReferenceException: Object reference not set to an instance of an object
    UnityEditor.Graphs.Edge.WakeUp () (at C:/buildslave/unity/build/Editor/Graphs/UnityEditor.Graphs/Edge.cs:114)
    UnityEditor.Graphs.Graph.DoWakeUpEdges (System.Collections.Generic.List`1 inEdges, System.Collections.Generic.List`1 ok, System.Collections.Generic.List`1 error, Boolean inEdgesUsedToBeValid) (at C:/buildslave/unity/build/Editor/Graphs/UnityEditor.Graphs/Graph.cs:387)

  9. giorgos_gs

    May 24, 2018 06:56

    It happens in 2018.1.0f2 Windows too.

  10. jackhearts

    Jan 22, 2018 22:28

    Had the same issue on Mac OSX unity 2017.3.0f3. Happened when I wrote a simple non-monobehaviour class that set animator states.

    The bug made my animator controller+override controller for that game object come up blank in the animator window. Thought it was the code so spent ages trying to debug before I noticed. Restarted Unity and it's fine.

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.