PlayMaker Help & Tips > PlayMaker Help

PM 1.5 Run FSM is very buggy

(1/2) > >>

CatchCo:
I recently downloaded playmaker 1.5 and decided to make a new project to test out the new features. I've remade the project a couple of times and the results are always the same. A description is provided below.

The issue:
After adding a "Run FSM" Action to an existing Fsm and clicking Edit, the PlayMaker Editor window jumps to an empty Fsm with no start state. It is not modifiable. Furthermore this error is reported at about 100 times a second:

--- Code: ---NullReferenceException: Object reference not set to an instance of an object
HutongGames.PlayMakerEditor.StateInspector.Update ()
HutongGames.PlayMakerEditor.InspectorPanel.Update ()
HutongGames.PlayMakerEditor.FsmEditor.Update ()
FsmEditorWindow.Update () (at Assets/PlayMaker/Editor/FsmEditorWindow.cs:247)
System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) (at /Applications/buildAgent/work/3df08680c6f85295/mcs/class/corlib/System.Reflection/MonoMethod.cs:222)
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) (at /Applications/buildAgent/work/3df08680c6f85295/mcs/class/corlib/System.Reflection/MonoMethod.cs:232)
System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) (at /Applications/buildAgent/work/3df08680c6f85295/mcs/class/corlib/System.Reflection/MethodBase.cs:115)
UnityEditor.HostView.Invoke (System.String methodName, System.Object obj)
UnityEditor.HostView.Invoke (System.String methodName)
UnityEditor.HostView.SendUpdate ()
UnityEditor.EditorApplication.Internal_CallUpdateFunctions ()

--- End code ---

A slight work around:
If you make a template using the template window you are able to choose that with the Run Fsm. However after making the first template, the subsequent templates do not work. They just show a blank Fsm Window with no ability to do anything. Sometimes they generate the same error.

My Setup
I am running Unity free + iOS version 4.0.1f2. I have just downloaded playmaker 1.5. My project is completely new, this is not an upgrade.

hrrsn:
Think I'm also having this error but without the error log.

If it helps, on a mac running latest 10.8 with Unity Pro 4, from fresh. 4 was fine, 5 is "loosing focus" and not enabling editing without re-instating the PlayMaker Editor via the menubar and replacing the one I have in my workspace.

dasbin:
Alex has confirmed the blank FSM window will be fixed for 1.5.1 (currently in beta).

For now, the workaround is to make sure the FSM window doesn't get covered over in play mode - put the FSM editor tab somewhere other than alongside the game window tab, and turn off Maximize on Play.

Alex Chouls:
CatchCo, I'm unable to repro the error you posted. Any chance you could send me a video capture?

CatchCo:
Sure, I can reproduce it every time. Here is a link to an example where I:


* Create a blank project
* Create an empty Game object
* Add an Fsm
* Add a Run Fsm action to the only state.
* Click on Edit Template
* And watch the error counter blow up.
I also show the playmaker version i'm using at one point in the video. If you watch it with annotations on, you will see my commentary.

Not a valid youtube URL

Navigation

[0] Message Index

[#] Next page

Go to full version