playMaker

Author Topic: Template disappeared  (Read 981 times)

wightwhale

  • Playmaker Newbie
  • *
  • Posts: 2
Template disappeared
« on: May 11, 2020, 08:40:29 PM »
Hi I commited / merged some files with playmaker FSM based on templates and now when I go to edit the template they're empty. Can you tell me where all the template / FSM info is saved so I can see what i've lost? Is there a best strategy for working with playmaker in a git team environment?

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 7624
    • jinxtergames
Re: Template disappeared
« Reply #1 on: May 13, 2020, 02:24:20 AM »
Hi.
Templates have there own save file  (with ".asset" extension).
The default save location is Assets/PlayMaker/Templates.
you should be able to revert the change if you use git.

For best strategy :
Don't work both on the same scenes/prefabs at the same time, to prevent merging.

Broken Stylus

  • Beta Group
  • Hero Member
  • *
  • Posts: 773
Re: Template disappeared
« Reply #2 on: May 13, 2020, 01:22:50 PM »
Also, don't forget to get out of the prefab if you want to save the scene with a keyboard shortcut.  ;)

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 7624
    • jinxtergames
Re: Template disappeared
« Reply #3 on: May 14, 2020, 01:53:57 AM »
Hi.
Also NEVER push/pull when unity is still open.
So thing are not stored until you close unity, especially (nested) prefabs and templates.

also if you changed something on a prefab and when you play the behavior is incorrect, try restarting unity 1st