playMaker

Author Topic: Cannot save templates in Unity 5[SOLVED]  (Read 5543 times)

Stryck

  • Playmaker Newbie
  • *
  • Posts: 4
Cannot save templates in Unity 5[SOLVED]
« on: September 25, 2015, 01:51:44 PM »
Hi folks,
  I haven't seen a good solution anywhere, but for some reason I cannot save any FSM templates anywhere in my unity project.  I always get the following error "Templates can only be saved in the Project's Assets folder".

I am attempting to save them in /projectroot/assets/...
I have tried many different locations but always get the same error.  Not being able to use templates is causing us to have to duplicate many FSM's and is becoming unmaintainable.

Thanks!
« Last Edit: February 14, 2017, 02:07:36 AM by jeanfabre »

mdotstrange

  • Hero Member
  • *****
  • Posts: 555
    • Can't code? Who cares! Make games anyway!
Re: Cannot save templates in Unity 5
« Reply #1 on: September 25, 2015, 02:03:25 PM »
Have you tried saving them in Assets/Playmaker/Templates ?

Indie game dev and instructor at the Strange School. Learn Playmaker at the Strange School!

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: Cannot save templates in Unity 5
« Reply #2 on: September 25, 2015, 02:26:22 PM »
Hi,

 it's possible also that a parent folder of your project is called "assets" or contains the word "Assets", and this is going to fix on the up coming release of PlayMaker.

 Bye,

 Jean

Stryck

  • Playmaker Newbie
  • *
  • Posts: 4
Re: Cannot save templates in Unity 5
« Reply #3 on: September 26, 2015, 12:47:52 PM »
Hi guys,
  Thanks for the replies.  We used to have an Assets folder inside of the standard assets folder, however I renamed that to "Content" instead. 

The full path to my directory is:
E:\work\Fighter\trunk\

As suggested, I tried a template to:
E:\work\Fighter\trunk\assets\playmaker\Templates

But get the same error.

Is there an ETA on the fixed version?

Thanks!


Alex Chouls

  • Administrator
  • Hero Member
  • *****
  • Posts: 4000
  • Official Playmaker Support
    • LinkedIn
Re: Cannot save templates in Unity 5
« Reply #4 on: September 26, 2015, 01:37:51 PM »
Hi, I'm unable to reproduce the problem here...

Are you sure you're selecting a directory inside your project? Check the full path in the save dialog. In the current version the save dialog sometimes does not default to the project directory, so it's easy to select a destination outside of the project.

If you still can't save, please post the Unity and PlayMaker versions you're using?  Thanks!

rjdrag

  • Playmaker Newbie
  • *
  • Posts: 6
Re: Cannot save templates in Unity 5
« Reply #5 on: September 30, 2015, 04:59:41 PM »
I am also having this issue.  I'm on Unity V5.2.1f1 and playmaker V1.7.8.3p2

Alex Chouls

  • Administrator
  • Hero Member
  • *****
  • Posts: 4000
  • Official Playmaker Support
    • LinkedIn
Re: Cannot save templates in Unity 5
« Reply #6 on: October 01, 2015, 12:36:27 AM »
Can you confirm that you're definitely trying to save a template inside the project's asset folder? Please double check the path in the save dialog.

rjdrag

  • Playmaker Newbie
  • *
  • Posts: 6
Re: Cannot save templates in Unity 5
« Reply #7 on: October 01, 2015, 01:50:16 PM »
My file path is:  C:\Users\rjdrag\Desktop\Unity Projects\Practice\assets
It seems correct, and I can't save out a new template.

I did find a work-around:

1. Copy/Paste in a template file from another project
2. Duplicate and edit to make new templates

Stryck

  • Playmaker Newbie
  • *
  • Posts: 4
Re: Cannot save templates in Unity 5
« Reply #8 on: November 20, 2015, 01:10:22 AM »
I checked the path several times, it all looks correct.  Still having the same problem  :'(.

E:\work\Fighter\trunk\assets\playmaker\Templates

dudebxl

  • Hero Member
  • *****
  • Posts: 602
Re: Cannot save templates in Unity 5
« Reply #9 on: November 20, 2015, 11:32:52 AM »
+1 had the same problem. I had the problem after inputting more than 32char as template name. I restarted unity5.2 and problem is gone.. for now..  :o

Stryck

  • Playmaker Newbie
  • *
  • Posts: 4
Re: Cannot save templates in Unity 5
« Reply #10 on: January 10, 2016, 11:24:35 PM »
Hey folks,
  Fixed the problem.  Playmaker is expecting "Assets" as a case-sensitive folder even though Windows isn't case sensitive. Seems like that should have been a two answer as a fix, not months later.