Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: Alex Chouls on February 04, 2015, 12:04:04 PM

Title: How to Share Playmaker Projects
Post by: Alex Chouls on February 04, 2015, 12:04:04 PM
When sharing Playmaker projects please be careful not to include Playmaker dlls.

Exporting a Unitypackage:

In the unitypackage dialog, please uncheck:
Assets/PlayMaker/PlayMaker.dll
Assets/PlayMaker/Editor/PlayMakerEditor.dll

Also uncheck the Assets/PlayMaker/Versions folder if it's there.

On the other end, users will need to import PlayMaker before importing the exported project.

Preview Version:

Playmaker ships with a Preview version that lets you view and run FSMs but not edit them. This is useful if you want to share a working project with someone who doesn't own Playmaker.

To install the preview version import:
Assets/PlayMaker/Versions/PlayMakerPreview.unitypackage

Then DELETE the Assets/PlayMaker/Versions folder before sharing the project. This is necessary since the Versions folder contains default versions of the dlls.

Bug Reports

Projects submitted to Fogbugz or uploaded with a private download link can include Playmaker dlls.
Projects shared on the forum or with public download links should NOT include Playmaker dlls!


We hope to include tools to streamline this process soon...
Title: Re: How to Share Playmaker Projects
Post by: @_rgkd on February 04, 2015, 03:21:37 PM
Thanks so much for this, exactly the explanation I needed. I knew it was possible, I just didn't want to accidentally export the full version of playMaker attempting to figure it out myself.
Title: Re: How to Share Playmaker Projects
Post by: nemirc on March 31, 2015, 11:39:24 PM
Hello, I was going to start a thread to ask this question but I decided to reply here in case anyone else has the same question.

If I want to share my playmaker controller with other people (who don't have playmaker), I need to include ONLY my stuff or should I also include the playmaker folder (in "assets") BUT exclude the playmaker dlls and the versions (as explained on the original thread), but I should also include the preview version so those who don't have playmaker can still use the FSM?

I just want to make sure I export what I'm supposed to export, but don't include what I'm not supposed to include.
Title: Re: How to Share Playmaker Projects
Post by: jeanfabre on April 01, 2015, 01:38:03 AM
Hi,

 On Unity 4.x you do the following:

1 From the versions folder you install the PlayMaker Preview.
2 Verify that you can't edit the fsms anymore
3 REMOVE the Versions folder
4 Share project.

On Unity 5.x haven't done it myself, let me test and I'll got back to you

 Typically, if you want to share an ongoing development, you should create a github or bitbucket private repository, and ignore the PlayMaker folder altogether, then you can switch the PlayMaker to preview and package this so that the person can simply install that preview once, then you can keep working as usual on both side without worrying about the preview setup everytime you have something new to share

 Bye,

 Jean
Title: Re: How to Share Playmaker Projects
Post by: nemirc on April 02, 2015, 12:27:48 AM
Hi, another question. What if I wanted to distribute my project in the Asset Store? I can't find a link to the Preview version anywhere, so I don't know if I should distribute the Preview version with my project and make it clear they can only modify my project if they have the full version of PM, or flat out making it available just to PM owners?
Title: Re: How to Share Playmaker Projects
Post by: jeanfabre on April 02, 2015, 01:22:07 AM
Hi,

I suspect the preview version is meant to be used this way. I think it's better than a package that will produce errors because PM needs to be installed.

You can pm me with your final package before submitting, and I'll double check if you want.

In all cases, you should mention it loud and clear so that you don't get bad reviews of people who did not expect having to buy PM on top of your asset.

Good luck with this!

Bye,

 Jean
Title: Re: How to Share Playmaker Projects
Post by: SPACE GAMER on August 25, 2016, 08:31:12 PM
1.Does this work with a Unity collab project?
2. Will it effect the project if anyone else try's to build on the other end?
3.If the project is already started without playmaker should it effect anything if I add it at a later point in the project if I follow the first steps mentioned earlier?
4.and last but not least this might be a repeated question but can other people edit other things in the project if I add it to an existing project?
Title: Re: How to Share Playmaker Projects
Post by: jeanfabre on August 29, 2016, 04:54:52 AM
Hi,

 - Unity collab will require every developer to have a PlayMaker license, since you won't be able to rule out the playmaker folder.
- Yes it will affect anyone trying to build, since you need PlayMaker installed to build.
- Projects opened in Unity to work with must be fully operational, this means PlayMaker is required to do anything within Unity with that project (else it will throw errors, and Unity doesn't allow scene to play if there are errors).


Bye,

 Jean
Title: Re: How to Share Playmaker Projects
Post by: Tetriser on October 28, 2016, 09:10:23 PM
Hi,

I have a project that I developed with PlayMaker. And I want to share it with other developers publicly.
I've followed the instructions on the OP, but there's no PlayMaker.dll in "Assets\PlayMaker", so I just removed the PlayMakerEditor.dll in "Assets\PlayMaker\Editor".


Just one question, how about the "Assets\PlayMaker\Install" folder, should I remove that?  ???
Title: Re: How to Share Playmaker Projects
Post by: jeanfabre on November 02, 2016, 04:59:35 AM
Hi,

 yes.

 basically, everything has to go but the PlaymakerGlobal asset you'll find in "Plugins/PlayMaker/Resources" IF you have globals.

 else the PlayMaker folder and all PlayMaker relate files inside plugins folder has to be deleted.

 watch out as well if you use templates, their default project folder is inside PlayMaker/.

 Bye,

 Jean
Title: Re: How to Share Playmaker Projects
Post by: transparenthands on December 22, 2016, 07:26:54 AM
Thanks for sharing great information its really help me
Title: Re: How to Share Playmaker Projects
Post by: Mahi on February 06, 2017, 05:51:47 AM
Hello, I have quite good experience with playmaker. I thought of an alternate solution for sharing projects with other users in preview mode(only viewable fsm content). Once the base project is set with preview mode, I exported the playmaker, gizmos, iTween and plugins folders as a unity package(i.e playmaker preview package). So any user can download this package and content package to work in their own project environments. Users get to see only preview mode and I have tested thoroughly. Can this solution violate your license?

Excuse for typos/grammar

Thanks,
Mahi
Title: Re: How to Share Playmaker Projects
Post by: jeanfabre on February 08, 2017, 02:51:31 PM
Hi,

 can you send me such a package, I'll check it out and tell you if everything is ok.

 Bye,

 Jean
Title: Re: How to Share Playmaker Projects
Post by: unearthly on July 10, 2017, 08:20:42 PM
Hi, I was wondering about the reasons why people share projects? And whether I could I send someone a test scene, to see where I have bugs and how my Playmaker FSM's could better made?
Title: Re: How to Share Playmaker Projects
Post by: djaydino on July 10, 2017, 10:25:19 PM
Hi,
People Share their project for various reasons.
For example when multiple people work on a project, for tutorial samples, for trouble shooting,... :)

You can make a post on the help section and explain your problem (best is to add some pictures or videos) and if needed you can place a link to your project there.
Btw if there are other paid 3rd party assets.
You are probably also not allowed to share them.
Title: Re: How to Share Playmaker Projects
Post by: akaravias on January 26, 2018, 11:55:51 AM
When i am going to Assets > Export Package, i am not seeing the following:

Assets/PlayMaker/PlayMaker.dll
Assets/PlayMaker/Editor/PlayMakerEditor.dll

Any ideas?  The top most folder that i see is "Gizmos"...

It looks like this process may have changed in more recent updates as this thread is quite old now.  If anyone could provide detailed steps on how to export/share a project with a different machine that would be very helpful.  I want to be able to work on my home project on my work pc. 

Also any steps on how to use the preview version would also be handy.  I have seen some references about importing a Preview version but have no idea how to go about this.

Any help would be much appreciated.

Thanks.
Title: Re: How to Share Playmaker Projects
Post by: jeanfabre on January 30, 2018, 03:59:40 AM
Hi,

 The best is to use an online repository system like github or bitbucket, and then you can push and pull from any computers ( use source tree client app for ease).

If you are not sharing this package, you can include everything, not problem, else indeed you need to remove the dll, they are inside the plugins folder.

(https://i.imgur.com/GMRelg3.png)

 Bye,

 Jean
Title: Re: How to Share Playmaker Projects
Post by: akaravias on January 30, 2018, 09:10:34 AM
Thanks very much!

Do i also need to de-select the .dll.mdb file?

Also, do you know much about using a Preview version of Playmaker?  On machines which do not have a license?

Thanks again.
Title: Re: How to Share Playmaker Projects
Post by: jeanfabre on January 31, 2018, 03:48:36 AM
Hi,

 just the dll will be fine, but you simplu uncheck the whole PlayMaker Plugin folder.

also, be careful to also not include the installer packages featured inside Assets/Playmaker/Editor/Install

 Bye,

 Jean
Title: Re: How to Share Playmaker Projects
Post by: hx on February 07, 2018, 06:35:31 AM
Hi guys,
can i share the playmaker project without playmaker installed?
here is the issue: i am working with playmaker, and i want to share the playmaker project to the other. but the other doesnt have playmaker installed, he works with scripts. can i convert playmaker project as script project to him so that he can use that?
ps. he doesnt need to modify the playmaker project.
Title: Re: How to Share Playmaker Projects
Post by: djaydino on February 07, 2018, 06:01:43 PM
Hi.
Sorry but Playmaker can not be to scripts.
Title: Re: How to Share Playmaker Projects
Post by: hx on February 09, 2018, 08:44:54 AM
Hi.
Sorry but Playmaker can not be to scripts.

Hi thank your for your reply. so if i work with playmaker, and the other works with scripts, the other should have playmaker installed firstly, so he can open my project and edit it in scripts, right? would you recommand that? would the performance be kind of worse with that?

thanks in advance.
Title: Re: How to Share Playmaker Projects
Post by: jeanfabre on February 20, 2018, 02:07:50 AM
Hi,

 Yes, If your project uses PlayMaker, then it must be inside the Project Assets, regardless of who is working with it or if you work as a team.

Performances are not affected, Projects can be a mix of PlayMaker and scripts, it's totally fine and actually recommanded and totally supported out of the box. You use PlayMaker as much or as little as you wish.


Bye,

 Jean
Title: Re: How to Share Playmaker Projects
Post by: plenoal15 on January 12, 2019, 02:44:59 PM
Hello, i am begginer. I do not understand this post. If I want to publish my game on Steam, do I have to do what appears in this post? Thank you.
Title: Re: How to Share Playmaker Projects
Post by: Alex Chouls on January 12, 2019, 03:05:00 PM
No. This is just if you want to share the source project.
Title: Re: How to Share Playmaker Projects
Post by: heavygunner on February 11, 2019, 11:14:52 PM
Hi !

I wanna share this project on Youtube. Now, before exporting unitypackagae, I have to delete Version folder & Install folder only right?

No need to remove playmaker.dll & playmakereditor.dll right?

Thank you.
Title: Re: How to Share Playmaker Projects
Post by: heavygunner on February 13, 2019, 03:23:33 AM
Hi !

I wanna share this project on Youtube. Now, before exporting unitypackagae, I have to delete Version folder & Install folder only right?

No need to remove playmaker.dll & playmakereditor.dll right?

Thank you.
I did it.
Once Installed Preview version, I deleted Versions folder & Install folder. Then, opened that as new folder. I see preview version only. When I hit Install Playmaker, It said Coulnd't Install or something. it is working :)
Title: Re: How to Share Playmaker Projects
Post by: Padenlee on October 11, 2019, 08:00:43 PM
I'm working on sharing a bunch of playmaker projects with my YouTube audience and I'm wanting to do it right. Here is my assumed process from reading this thread, I go to Assets>Export then uncheck:

Playmaker/Editor/Installs
Playmaker/Versions/PlaymakerDefault.unitypackage
Plugins/Playmaker

This will export a playmaker project that will not run on other peoples computers unless they also have Playmaker or Playmaker Preview installed? I want to include PlaymakerPreview.unitypackage so someone can install it and run the project.

Is there a way to send the exported package with the PlaymakerPreview installed so it will work out of the box in anyones project?

If imported into an existing project it will not overwrite anything existing FSM's right?

Thanks again for any assistance awesome PM community!
Title: Re: How to Share Playmaker Projects
Post by: jeanfabre on November 13, 2019, 01:27:55 AM
Hi,

 no you need to do this slightly differently.

 - delete the playmakerEditor.dll ( else importing preview fails for some reasons)
 - import the playmaker preview package

 - uncheck the install  folder during export
 - uncheck the version folder during export

then that should be ok. you can run it by me, send me a package, and I'll double check it's all good.

 Bye,

 Jean
Title: Re: How to Share Playmaker Projects
Post by: OnyxCauseway on July 29, 2020, 02:14:37 PM
We're a two-person team who's been using PlayMaker in our project until now with two licenses. However, we're adding some additional collaborators to our project who will not be using PlayMaker, but need to be able to use Play Mode and have all of our scripts still compile.

We have a private repository and we want to allow our new collaborators access to this repository without sharing the various PlayMaker files that they shouldn't have access to because they don't have a license. We've set up our ignore file in accordance with some other posts we found (mostly this one: https://hutonggames.com/playmakerforum/index.php?topic=18518.0) and attempted to import the preview package, but that doesn't seem to result in anything being picked up by our version control system and our collaborators end up with a bunch of scripts that won't compile (referencing various PlayMaker things) and unable to play the game.

Do you have any additional guidance for how to work in a private repository where only the members actively using PlayMaker tooling will have licenses and therefore access to edit PlayMaker things, whereas others without a license could still work in the project without access to license-required PlayMaker files?

Thanks!
Title: Re: How to Share Playmaker Projects
Post by: Lucielu on May 19, 2021, 04:39:22 PM
Thx for this. I needed this and the explanation is great. Thanks for sharing
Title: Re: How to Share Playmaker Projects
Post by: Christoph on April 29, 2023, 09:00:18 AM
We're a two-person team who's been using PlayMaker in our project until now with two licenses. However, we're adding some additional collaborators to our project who will not be using PlayMaker, but need to be able to use Play Mode and have all of our scripts still compile.

We have a private repository and we want to allow our new collaborators access to this repository without sharing the various PlayMaker files that they shouldn't have access to because they don't have a license. We've set up our ignore file in accordance with some other posts we found (mostly this one: https://hutonggames.com/playmakerforum/index.php?topic=18518.0) and attempted to import the preview package, but that doesn't seem to result in anything being picked up by our version control system and our collaborators end up with a bunch of scripts that won't compile (referencing various PlayMaker things) and unable to play the game.

Do you have any additional guidance for how to work in a private repository where only the members actively using PlayMaker tooling will have licenses and therefore access to edit PlayMaker things, whereas others without a license could still work in the project without access to license-required PlayMaker files?

Thanks!
Did you solve that? I think that’s most probably the usual case when working in a team and would be good to know what to do here.
Title: Re: How to Share Playmaker Projects
Post by: djaydino on May 01, 2023, 08:14:20 AM
Hi.
I think as long as you use a private repository its ok not to remove PM