Slate Forums › Support › Animator Track "PlayableGraph" Error
Hi~
I make a test Cutscene like this, it’s work good in most times.
But still report some errors:
This PlayableGraph is invalid. It may have been deleted.
at (wrapper managed-to-native) UnityEngine.Experimental.Director.PlayableGraph:DestroyInternal (UnityEngine.Experimental.Director.PlayableGraph&)
at UnityEngine.Experimental.Director.PlayableGraph.Destroy () [0x00002] in C:\buildslave\unity\build\artifacts\generated\common\runtime\PlayableGraphBindings.gen.cs:173
at Slate.AnimatorTrack.Restore () [0x0005e] in E:\TestUnity\TestSlate\Assets\ParadoxNotion\SLATE Cinematic Sequencer\Directables\Tracks\Runtime\Actor\AnimatorTrack.cs:273
at Slate.AnimatorTrack.OnReverse () [0x00002] in E:\TestUnity\TestSlate\Assets\ParadoxNotion\SLATE Cinematic Sequencer\Directables\Tracks\Runtime\Actor\AnimatorTrack.cs:135
at Slate.CutsceneTrack.Slate.IDirectable.Reverse () [0x00002] in E:\TestUnity\TestSlate\Assets\ParadoxNotion\SLATE Cinematic Sequencer\Framework\CutsceneTrack.cs:111
at Slate.StartTimePointer.Slate.IDirectableTimePointer.TriggerBackward (Single currentTime, Single previousTime) [0x00064] in E:\TestUnity\TestSlate\Assets\ParadoxNotion\SLATE Cinematic Sequencer\Framework\TimePointers.cs:74
at Slate.Cutscene.Internal_SamplePointers (Single currentTime, Single previousTime) [0x000a9] in E:\TestUnity\TestSlate\Assets\ParadoxNotion\SLATE Cinematic Sequencer\Framework\Cutscene.cs:536
UnityEngine.Debug:LogError(Object, Object)
Slate.Cutscene:Internal_SamplePointers(Single, Single) (at Assets/ParadoxNotion/SLATE Cinematic Sequencer/Framework/Cutscene.cs:538)
Slate.Cutscene:ReSample() (at Assets/ParadoxNotion/SLATE Cinematic Sequencer/Framework/Cutscene.cs:573)
Slate.CutsceneEditor:<OnGUI>m__5() (at Assets/ParadoxNotion/SLATE Cinematic Sequencer/Design/Editor/Windows/CutsceneEditor.cs:737)
UnityEditor.EditorApplication:Internal_CallDelayFunctions()
And then the Animator is not work.
Please fix this, thanks.
Unity 5.6.0p3
Slate 1.70
Hello,
Thanks for the report.
Please try opening up AnimatorTrack.cs and replace line #273 with this code:
1 2 3 4 5 |
if (graph.IsValid()){ graph.Destroy(); } |
This change should prevent the error and handle it correctly. If the error ever appears again, please let me know.
Thank you.
Join us on Discord: https://discord.gg/97q2Rjh
Thanks for your reply, it’s working good now.
But report another error:
NullReferenceException: Object reference not set to an instance of an object
Slate.CutsceneEditor.ShowTimeLines (Rect centerRect) (at Assets/ParadoxNotion/SLATE Cinematic Sequencer/Design/Editor/Windows/CutsceneEditor.cs:1764)
Slate.CutsceneEditor.OnGUI () (at Assets/ParadoxNotion/SLATE Cinematic Sequencer/Design/Editor/Windows/CutsceneEditor.cs:683)
System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) (at /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.Reflection/MonoMethod.cs:222)
Just curious, when you will release next version?
NullReferenceException: Object reference not set to an instance of an object
Slate.Cutscene.Validate () (at Assets/ParadoxNotion/SLATE Cinematic Sequencer/Framework/Cutscene.cs:774)
Slate.Cutscene.OnValidate () (at Assets/ParadoxNotion/SLATE Cinematic Sequencer/Framework/Cutscene.cs:997)
NullReferenceException: Object reference not set to an instance of an object
Slate.CutsceneEditor.OnSceneGUI (UnityEditor.SceneView sceneView) (at Assets/ParadoxNotion/SLATE Cinematic Sequencer/Design/Editor/Windows/CutsceneEditor.cs:516)
UnityEditor.SceneView.CallOnSceneGUI () (at C:/buildslave/unity/build/Editor/Mono/SceneView/SceneView.cs:2397)
UnityEditor.SceneView.HandleSelectionAndOnSceneGUI () (at C:/buildslave/unity/build/Editor/Mono/SceneView/SceneView.cs:1715)
UnityEditor.SceneView.OnGUI () (at C:/buildslave/unity/build/Editor/Mono/SceneView/SceneView.cs:1585)
System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) (at /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.Reflection/MonoMethod.cs:222)
NullReferenceException: Object reference not set to an instance of an object
Slate.Cutscene.OnDrawGizmos () (at Assets/ParadoxNotion/SLATE Cinematic Sequencer/Framework/Cutscene.cs:1009)
UnityEditor.DockArea:OnGUI()
NullReferenceException: Object reference not set to an instance of an object
Slate.CutsceneEditor.OnGUI () (at Assets/ParadoxNotion/SLATE Cinematic Sequencer/Design/Editor/Windows/CutsceneEditor.cs:644)
System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) (at /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.Reflection/MonoMethod.cs:222)
Hello,
Next version will be coming this week.
About the errors, can you please let me know WHEN these errors are happening?
I honestly have not encounter any of these while working with Slate.
What are you doing when these happen? Is there any way for me to reproduce these errors?
Please let me know.
Thanks!
Join us on Discord: https://discord.gg/97q2Rjh
Thanks for your reply.
I am sorry for I can’t give more infomations for now, because this is a temp test project..it’s happen very accidental, hard to descript the steps…
Thanks again.