Case Status
Log In

Wiki

Options

 
Home ยป TroubleShooting
Index
Navigation
Community Wiki

TroubleShooting

ALWAYS Backup Your Project Before Updating Playmaker or Unity!

Ideally you should use source control so you can see exactly what's changed, roll back changes etc.

NOTE: Projects saved with PlayMaker 1.8 cannot be opened with older versions of PlayMaker!

Unity 5.3 Support
Unity 5.3 users should install the 1.8.0 beta.
 
There are known issues with 1.7.8.4 and Unity 5.3 that are fixed in 1.8.
 
Duplicate Files After Updating in Unity 5.0 - 5.2

NOTE: Unity 5.3 now overwrites files instead of silently making a duplicate. In most cases this should work a lot better!

Unity 5 changed the way assets are imported from unitypackages. Instead of overwriting files, if internal asset GUIDs don't match, Unity creates a duplicate file, appending " 1" to the name. Older projects might have Playmaker files with different GUIDs (e.g., files copy/pasted in Finder/Explorer or downloaded from the forums), resulting in duplicate files when importing an update. These duplicate files generally cause errors and need to be removed!

If you import PlayMaker and find that you have duplicate files, please see "How to safely replace an old Playmaker installation" below.

 
How To Safely Replace An Old Playmaker Installation With The Latest Version

NOTE: You only need to remove old files if you have errors after importing an update.

CAUTION: There are some files in the PlayMaker folder that you might want to keep! Follow these steps carefully:

  1. Backup your project before proceeding!
  2. Move PlayMaker/Resources/PlayMakerGlobals.asset out of the PlayMaker folder, into another "Resources" Folder. It's important that it remains in a "Resources" folder as it is a special folder within Unity.
  3. Move PlayMaker/Templates folder outside of the PlayMaker folder if you have saved templates (this is the default folder for saved templates)
  4. Delete the PlayMaker/ folder
  5. Delete Plugins/PlayMaker/ folder if it exists
  6. Import the latest version of PlayMaker
  7. Restart Unity
 
Missing Scripts After Updating PlayMaker
Unity uses GUIDs to store references to components. If the GUID for a component changes then Unity loses the reference to the component and you get a Missing Script error. 
 

You can manually re-assign the missing script in the Unity Inspector or use this guide to fix references across the whole project.

 
Get/Set Property Lost References When Upgrading To Unity 5

In Unity 5, Component properties like RigidBody, Collider etc. have been removed from GameObject. You now have to target these components explicitly.

Please check this thread for more information.

 
Missing Playmaker Menu

If the Playmaker menu is not available in the Unity Main Menu after importing Playmaker:

  • Have you installed Playmaker from the Welcome Screen.
  • Click the main menu bar. It doesn't redraw after importing a package.
  • Check the Unity Console for errors. Any error (not just Playmaker errors) can stop editor extensions from compiling. Fix any errors you find in the Unity Console. Most of the time this is the problem.
  • Sometimes Anti-Virus software can interfere with Unity imports. Try disabling your virus checker while importing.
  • Close the Playmaker Editor when importing updates. E.g., Load a default window layout.
  • Restart Unity.
  • Restart your computer.

Other things to try: NOTE: Backup your project first!!

  • Delete the project/Temp folder if it exists.
  • Delete the project/Library/ScriptAssemblies folder and restart.
  • Switch to another project, or make a new project, and reset the Layout to a default (e.g., Tall), then load the original project.
  • Google Drive and Dropbox folders can interfere with Unity Projects. Try moving your project out of these "special" folders.

If all else fails, try re-downloading the Playmaker unitypackage, maybe it was corrupted on download.

 
Globals Missing When Exporting a Unitypackage
  • Globals are stored in PlayMaker/Resources/PlayMakerGlobals.asset. You have to manually add this asset to the exported unitypackage. See Import/Export Globals.
  • NOTE: When you import PlayMakerGlobals.asset it will overwrite the current globals in the project. If you want to MERGE the globals into the project, use the Playmaker Export/Import Globals tools.
 
Editor Performance Tips

If you notice the Playmaker Editor slowing down with larger projects, try these workarounds:

 
ITween Conflicts
  • Playmaker ships with iTween included. If you get errors about multiple iTween definitions, you probably have 2 copies of iTween in your project. Remove one to fix the errors.
  • If you're using javascript to access iTween you should move the iTween directory into an Assets/Plugin folder.
 
Photon Build Errors

Error building Player: SystemException: \'System.Net.Sockets\' are supported only with Unity Android Pro. Referenced from assembly \'Photon3Unity3D\'

Photon is not supported in iOS and Android Basic builds. I you do not have Unity Pro, delete the Photon Unity Networking folder.

If you don't have Unity Pro, you can get Photon Plus, which will allow you to publish without Unity pro.

 
Unity Crashes When Updating Playmaker
 
Errors When Trying to Remove iTween

To remove iTween from Playmaker:

  1. Delete the PlayMaker/Actions/iTween folder
  2. Delete PlayMaker/Include/iTweenFsmEvents.cs
  3. Delete the iTween folder
 
No Active State:

When running, the FSM has no active state (no State being green).

  • Check that you're not looking at a prefab or template. These never have an active state since they do not exist in the scene.
  • Click in the Graph View and hit F to frame the currently active state.
  • Check if the PlayMakerFSM component on the GameObject is enabled.
  • Check if the GameObject is active.
 
Cannot store GameObject as Object variable with Get Component:

GameObject is not a valid component type, but the action was modified to account for this:

http://hutonggames.com/playmakerforum/index.php?topic=6264.msg30693#msg30693

Tags:

Last modified on 5/1/2016 7:49 PM by User.

  • RSS Feed