Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - Nikaas

Pages: [1]
Unity is 5.6.2 and PM is 1.8.5.f8

When Playmaker's tab is de-maximized the selected FSM disappears as if no playmaker fsm component exists on the game object. To show the FSM  again the game object must be deselected and selected again.

Same happens in OnEnter and OnUpdate but only for FsmGameObject variables (there could be others, I haven't tried all var types).

Here is a video:

Notice how the int value is adding up on each run only when the game object / prefab is selected.

The code of the action is
Code: [Select]
public class Add : FsmStateAction
public FsmInt intVariable;
public FsmInt add;

public override void Awake()
intVariable.Value += add.Value;

public override void OnUpdate()

Unity is 5.6.0f3 and Playmaker 1.8.4.

They persist.

But what I noticed is that this only happens if the gameObject/prefab is selected when hitting play. The FSM parent is even disabled on playmode (i.e. there is  gameObject.SetActive(false) at the parent's Awake). All tests i done were on the starting state.

Additionally I noticed this happens if the vars are set at OnEnter, but there only FSMGameObject persist.

State machine variables doesn't seem to revert back to initial values at the end of playmode - this happens in the scene object and more strangely in its prefab too. The var change must be during action's Awake().

Feature Requests / Re: remove feature
« on: May 29, 2016, 02:21:19 PM »
Wouldn't DOTween be a better replacement?

Yes , I'm with 1.8.1. But the thing that must be maximized is not "Game" tab (Play mode is not necessary too).

Instead the thing that trigger it is: maximize a docked PM tab then restore it to docked state. Now changing the active GOs in the hierarchy no longer updates the PM window, same with FSM dropdown (but its still changes the active GO). Looks like in both cases the active object is changing, but PM window is not updating properly.

edit: Sent bug report too.

Some time ago me and another guy reported a bug here. But the bug is still present in the new version.

Any chance for a download link with the fixed file only?


Up until today I was with PM1.8.0 beta. Today I downloaded the new (1.8.1) version and ran update checker. But after it warned that this version now includes a lot of the actions I downloaded from the site/ecosystem i decided to full wipe everything Playmaker and install it afresh. (if i remember correctly after 1.8.1 import the welcome screen no longer worked correctly - it showed only the border of the window without any content).

After a full wipe and clean import of Playmaker the installation dropdown menu doesn't show and i got error - Assets/PlayMaker/Editor/PlayMakerEditorStartup.cs(22,13): error CS0103: The name `PlayMakerGlobals' does not exist in the current context

BTW if I comment line 22 in PlayMakerEditorStartup.cs the dropdown menu/welcome screen shows.

Is there any fix for this problem? And is it ok to install using the workaround?

I have the same issue. Its extremely annoying as I maximize Unity tabs all the time.

The problem appears after PM window is restored to docked state from maximized state. If PM tab/window is closed and then reopened it works fine until its demaximized again.

The actual problem is that PM editor is not changing to the currently selected gameObject FSM - i.e. "Select Game Object" dropdown (Number 2 on the Selection Toolbar screenshot) doesn't work (it actually changes the game object, but the FSM is not changed), same problem if gameObject is changed through standard hierarchy selection.

 As OP said it can be forced to change to the active gameObject's FSM by (1) digging in the hierarchy to find the GO and click on the Edit button on the component, or (2) by selecting the Recent button (top left on the PM window) and hoping for the desired FSM to be in the list.

Pages: [1]