Playmaker Feedback

NOTE: This board is no longer active and will be removed soon. Please use the Bug Report tool inside PlayMaker or the PlayMaker Forums instead. Thanks!

Links:
Online Manual
Version History
Roadmap
FAQ

Removing FSM causes Null Ref Exceptions

Version 1.0.4005.17772
If you remove the Play Maker FSM Component from a Game Object through the inspector by right clicking and selecting Remove Component from the drop down menu, a selection stays in the drop down list for the FSM, with it's name removed.
e.g. ": FSM"
If you select this from the drop down, Unity sends these error messages to the console


NullReferenceException
HutongGames.PlayMakerEditor.FsmErrorChecker.CheckActionParameter (HutongGames.PlayMaker.FsmState state, HutongGames.PlayMaker.FsmStateAction action, System.Reflection.FieldInfo field)
HutongGames.PlayMakerEditor.FsmErrorChecker.CheckActionForErrors (HutongGames.PlayMaker.FsmState state, HutongGames.PlayMaker.FsmStateAction action)
HutongGames.PlayMakerEditor.FsmErrorChecker.CheckFsmForErrors (HutongGames.PlayMaker.Fsm fsm)
HutongGames.PlayMakerEditor.FsmErrorChecker.CheckForErrors ()
HutongGames.PlayMakerEditor.FsmEditor.SelectFsm (HutongGames.PlayMaker.Fsm fsm)
HutongGames.PlayMakerEditor.FsmEditor.OnSelectionChange ()
FsmEditorWindow.OnSelectionChange () (at Assets/PlayMaker/Editor/FsmEditorWindow.cs:164)
System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture)
Rethrow as TargetInvocationException: Exception has been thrown by the target of an invocation.
System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture)
System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters)
UnityEditor.HostView.Invoke (System.String methodName, System.Object obj)
UnityEditor.HostView.Invoke (System.String methodName)
UnityEditor.HostView.OnSelectionChange ()



NullReferenceException
HutongGames.PlayMakerEditor.FsmErrorChecker.CheckActionParameter (HutongGames.PlayMaker.FsmState state, HutongGames.PlayMaker.FsmStateAction action, System.Reflection.FieldInfo field)
HutongGames.PlayMakerEditor.FsmErrorChecker.CheckActionForErrors (HutongGames.PlayMaker.FsmState state, HutongGames.PlayMaker.FsmStateAction action)
HutongGames.PlayMakerEditor.FsmErrorChecker.CheckFsmForErrors (HutongGames.PlayMaker.Fsm fsm)
HutongGames.PlayMakerEditor.FsmErrorChecker.CheckForErrors ()
HutongGames.PlayMakerEditor.FsmEditor.OnFocus ()
FsmEditorWindow.OnFocus () (at Assets/PlayMaker/Editor/FsmEditorWindow.cs:159)
System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture)
Rethrow as TargetInvocationException: Exception has been thrown by the target of an invocation.
System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture)
System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters)
UnityEditor.HostView.Invoke (System.String methodName, System.Object obj)
UnityEditor.HostView.Invoke (System.String methodName)
UnityEditor.HostView.OnFocus ()



MissingReferenceException: The object of type 'PlayMakerFSM' has been destroyed but you are still trying to access it.
Your script should either check if it is null or you should not destroy the object.
HutongGames.PlayMakerEditor.FsmEditor.SelectFsm (HutongGames.PlayMaker.Fsm fsm)
HutongGames.PlayMakerEditor.FsmEditor.SelectFsm (System.Object userdata)
UnityEditor.GenericMenu.CatchMenu (System.Object userData, System.String[] options, Int32 selected)
James Murchison Send private email
Monday, January 10, 2011
 
 
In addition, once you close the playMaker window and re-open it, the selection causing the errors disappears.
James Murchison Send private email
Monday, January 10, 2011
 
 
Thanks. This is fixed in the next beta - coming soon!
Alexander Chouls Send private email
Tuesday, January 11, 2011
 
 
Fixed in Beta2.
Alexander Chouls Send private email
Saturday, January 15, 2011
 
 

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics
 
Powered by FogBugz