Hi,
I've got a strange bug (unity 4.0.1f2, playmaker 1.5.4) with the Control variables for FSM and prefabs depending if playmaker editor is displayed or not.
Here are the steps to reproduce the bug :
Note : I usually have my workspace with Scene view, Game view, and Playmaker Editor tabs in the central window (see attached screenshot), it seems important in the process to recreate the bug.
- Create a new projet, import playmaker package
- Create a cube in the scene
- Add FSM
- Create a float variable (for example but any type should do)
- Tick "show in inspector" for this variable
- Drag drop the cube in the project view to make a new prefab
- Switch to scene view (click on scene view tab) so the Playmaker Editor isn't displayed anymore (very important... it took me a long time to find that but it seems that if the playmaker editor window is displayed when you do the next step, everything works as expected and will work forever for this instance)
- Create one instance of the cube, set its variable to 1 from inspector
- Press play...
- Variable has been reset to default value (0)
It seems that if you want to reproduce this bug more than 1 time for a single project, you need to choose another name for your test variable.
Edit : Forgot to send a bug report via Playmaker menu, just did it now (Case 648).