playMaker

Author Topic: DebugFlow NullReferenceException  (Read 1997 times)

ergin

  • Junior Playmaker
  • **
  • Posts: 86
DebugFlow NullReferenceException
« on: June 12, 2016, 12:42:36 PM »
Hello,

When I Insert a Toggle Breakpoint and click Next (Most bottom Debug Toolbar) after the break, error below is diplayed. (In only happens when logging is disabled from preferences:

Thanks

Playmaker 1.8.1
Unity5.3.4f1

Quote
NullReferenceException: Object reference not set to an instance of an object
HutongGames.PlayMakerEditor.DebugFlow.FindNextLogEntry (HutongGames.PlayMaker.FsmLogEntry fromEntry, HutongGames.PlayMaker.FsmLogType[] logTypes) (at c:/Users/Alex/Documents/Unity/Playmaker/Projects/Playmaker.source.unity/Assets/PlayMaker/Editor/Classes/DebugFlow.cs:452)
HutongGames.PlayMakerEditor.DebugFlow.SelectNextTransition () (at c:/Users/Alex/Documents/Unity/Playmaker/Projects/Playmaker.source.unity/Assets/PlayMaker/Editor/Classes/DebugFlow.cs:370)
HutongGames.PlayMakerEditor.DebugToolbar.DoDebugFlowControls () (at c:/Users/Alex/Documents/Unity/Playmaker/Projects/Playmaker.source.unity/Assets/PlayMaker/Editor/Classes/DebugToolbar.cs:118)
HutongGames.PlayMakerEditor.DebugToolbar.OnGUI (Single width) (at c:/Users/Alex/Documents/Unity/Playmaker/Projects/Playmaker.source.unity/Assets/PlayMaker/Editor/Classes/DebugToolbar.cs:27)
HutongGames.PlayMakerEditor.FsmEditor.OnGUI () (at c:/Users/Alex/Documents/Unity/Playmaker/Projects/Playmaker.source.unity/Assets/PlayMaker/Editor/Classes/FsmEditor.cs:541)
HutongGames.PlayMakerEditor.FsmEditorWindow.DoGUI () (at Assets/PlayMaker/Editor/FsmEditorWindow.cs:95)
HutongGames.PlayMakerEditor.BaseEditorWindow.OnGUI () (at c:/Users/Alex/Documents/Unity/Playmaker/Projects/Playmaker.source.unity/Assets/PlayMaker/Editor/Classes/BaseEditorWindow.cs:72)
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)

Alex Chouls

  • Administrator
  • Hero Member
  • *****
  • Posts: 4000
  • Official Playmaker Support
    • LinkedIn
Re: DebugFlow NullReferenceException
« Reply #1 on: June 12, 2016, 01:19:47 PM »
Thanks for the bug report, I'll investigate.

DebugFlow needs logging info, so I probably need to link these settings in preferences...