Playmaker Forum

Bug Reporting => PlayMaker Bug Reporting => Topic started by: artician on July 06, 2011, 01:11:17 PM

Title: Undo causes stuck FSM [FIXED]
Post by: artician on July 06, 2011, 01:11:17 PM
Subject line is probably not the best description, but here's how to reproduce:

Select an object without an FSM.
In the FSM editor window, right click and select "Add FSM Component"
Hit CTRL-Z (or your OS's undo shortcut).

Notice the component is removed from the object in the inspector, but the FSM and initial state is still displayed in the FSM Editor window.  Right clicking in the FSM Editor window and selecting "Remove FSM Component" does not cause the initial FSM graph to disappear.  FSM still displays when deselecting and reselecting the object.

I was unable to find a way to fix the FSM Editor window from reporting an FSM on the object in question.
Title: Re: Undo causes stuck FSM
Post by: Alex Chouls on July 06, 2011, 01:27:26 PM
This is fixed in the 1.2 update.

In 1.1 you should be able to remove the FSM by either closing and re-opening the Playmaker editor, or pressing play then stop. Unity will complain about a component not on the object and remove it...