Hi,
When Exporting a package, there are several pitfalls to avoid:
-- PlayMaker Custom Actions are not detected by Unity Dependency check, so they are always left out and difficult to list properly.
-- PlayMaker global variables needs to be exported as an asset and included in the package for fsm's to work properly ( if using global vars of course)
-- PlayMaker.dll file is often included in package, where actually, it should NEVER be included at all.
It's been a while I meant to start on this, and I finally manage to get around building a first version of it. So I built a small editor utils to do the following:
1: Open the scene you want to export
2: Go to the menu "PlayMaker/Tools/Addons/Export Current Scene"
It will provide you with the following:
-- A saving dialog inc ase the scene needs saving
-- A reminder to deselect the PlayMaker.dll file
-- A dialog to export AND include PlayMaker global variables assets in the package
-- A final check on the scene to select also all custom actions used in that scene
-- Finally, Unity Export dialog is then shown, and will include the playmaker global asset is selected, and all custom actions used ( you are left with deselecting the playmaker.dll file)
I'd like to improve a number of things, like begin able to select several scenes, and prefabs ( not instanciated in the scene, yet custom actions would be needed, so this is a tricky situation...)
Feedback most welcome, and I encourage you to use this if you want to share your stuff on this forum, it will save time and corrupted package, missing custom actions and globals ( me being the first target....)
Bye,
Jean