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
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
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Articulation Body with 'Revolute' Joint Type has erratic behavior when Upper Limit is set to above 360
- WebGL Player fails to render Scene when Terrain with Detail Mesh is added and WebGPU Graphics API is used
- Inconsistent errors are logged when different types are passed into the Query "Q<>" method in UIToolkit and the ancestor VisualElement is null
- Crash on GetMaterialPropertyByIndex when opening a specific Scene
- Discrepancies in the styling are present when using a TSS file instead of a USS file in custom EditorWindow
TharosTheDragon
Aug 14, 2024 10:38
Resolved as "not reproducible"? Unity staff, you have a very clear and very consistent call stack for this error. Have you bothered to check what might be null in UnityEditor.Graphs.Edge.WakeUp?
unity_4DD83BE5C1211237DA21
Jan 16, 2024 09:30
having this message: NullReferenceException: Object reference not set to an instance of an object
UnityEditor.Graphs.Edge.WakeUp () (at <ccafc680ec6e4ca5b98d6fe58cdb4445>: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 <ccafc680ec6e4ca5b98d6fe58cdb4445>:0)
someone help?
hamza_gulistan
Oct 31, 2023 11:36
Window 11 , unity 2021.3.17f
NullReferenceException: Object reference not set to an instance of an object
UnityEditor.Graphs.Edge.WakeUp () (at <a31f1ba8e689484984b8d32e3f901c80>: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 <a31f1ba8e689484984b8d32e3f901c80>:0)
UnityEditor.Graphs.Graph.WakeUpEdges (System.Boolean clearSlotEdges) (at <a31f1ba8e689484984b8d32e3f901c80>:0)
UnityEditor.Graphs.Graph.WakeUp (System.Boolean force) (at <a31f1ba8e689484984b8d32e3f901c80>:0)
UnityEditor.Graphs.Graph.WakeUp () (at <a31f1ba8e689484984b8d32e3f901c80>:0)
UnityEditor.Graphs.Graph.OnEnable () (at <a31f1ba8e689484984b8d32e3f901c80>:0)
giorgos_gs
Oct 12, 2023 14:31
Still happens in 2023.1.16f1 on Windows 11. I am seeing this bug over 5 years! Unity old and new CEO: Where do you spend the money on?
zaibi786
Aug 03, 2023 10:33
Still happening in Unity 2022.3.5
Rioneer
Jul 13, 2023 23:57
Not fixed, still persists on 2021lts version
DigiPhysics
Mar 14, 2023 16:08
Unity 2021.3.16f1
Still getting this error
NullReferenceException: Object reference not set to an instance of an object
UnityEditor.Graphs.AnimationStateMachine.Graph.GenerateConnectionKey (UnityEditor.Graphs.Node srcNode, UnityEditor.Graphs.Node dstNode) (at <00578d709e2b43b38413b2b2b34f6fbe>:0)
UnityEditor.Graphs.AnimationStateMachine.Graph.GetEdgeInfo (UnityEditor.Graphs.Edge edge) (at <00578d709e2b43b38413b2b2b34f6fbe>:0)
UnityEditor.Graphs.AnimationStateMachine.EdgeGUI.DoEdges () (at <00578d709e2b43b38413b2b2b34f6fbe>:0)
UnityEditor.Graphs.AnimationStateMachine.GraphGUI.OnGraphGUI () (at <00578d709e2b43b38413b2b2b34f6fbe>:0)
UnityEditor.Graphs.AnimatorControllerTool.StateMachineView (UnityEngine.Rect position, System.Single zoomLevel) (at <00578d709e2b43b38413b2b2b34f6fbe>:0)
UnityEditor.Graphs.AnimatorControllerTool.DoGraph (UnityEngine.Rect graphRect, System.Single zoomLevel) (at <00578d709e2b43b38413b2b2b34f6fbe>:0)
kashidevlab
Oct 15, 2022 08:06
Same issue with me. Animation are not running
hiloliddin
Oct 08, 2022 13:08
MacOS-12.6, Unity 2021.3.11f1 (latest at the moment) Still receiving this error
NullReferenceException: Object reference not set to an instance of an object
UnityEditor.Graphs.Edge.WakeUp () (at /Users/bokken/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/bokken/buildslave/unity/build/Editor/Graphs/UnityEditor.Graphs/Graph.cs:387)
UnityEditor.Graphs.Graph.WakeUpEdges (System.Boolean clearSlotEdges) (at /Users/bokken/buildslave/unity/build/Editor/Graphs/UnityEditor.Graphs/Graph.cs:286)
UnityEditor.Graphs.Graph.WakeUp (System.Boolean force) (at /Users/bokken/buildslave/unity/build/Editor/Graphs/UnityEditor.Graphs/Graph.cs:272)
UnityEditor.Graphs.Graph.WakeUp () (at /Users/bokken/buildslave/unity/build/Editor/Graphs/UnityEditor.Graphs/Graph.cs:250)
UnityEditor.Graphs.Graph.OnEnable () (at /Users/bokken/buildslave/unity/build/Editor/Graphs/UnityEditor.Graphs/Graph.cs:245)
alghimo
Oct 04, 2022 14:41
I had the same error, and what's worse the animation states were not showing at all in the animator tab. I found out that, instead of closing the editor, I can just go to the animator tab, click the options (the three dots on the top right), and select "UI Toolkit Live Reload". Hope this helps someone :)