Search Unity

  1. Good news ✨ We have more Unite Now videos available for you to watch on-demand! Come check them out and ask our experts any questions!
    Dismiss Notice

PlayMaker - Visual Scripting for Unity

Discussion in 'Assets and Asset Store' started by Alex-Chouls, Dec 31, 2010.

  1. Alex-Chouls

    Alex-Chouls

    Joined:
    Mar 24, 2009
    Posts:
    2,419
    600 likes this.
  2. Alex-Chouls

    Alex-Chouls

    Joined:
    Mar 24, 2009
    Posts:
    2,419
    Lars-Steenhoff likes this.
  3. Alex-Chouls

    Alex-Chouls

    Joined:
    Mar 24, 2009
    Posts:
    2,419
    #PlayMakerTip: Drag and drop GameObjects and Components to open context-sensitive action menus.
     
  4. Alex-Chouls

    Alex-Chouls

    Joined:
    Mar 24, 2009
    Posts:
    2,419
  5. Ladace

    Ladace

    Joined:
    Dec 7, 2014
    Posts:
    35
    Hey @Alex-Chouls

    I've been using PlayMaker and it's great. After I upgraded my project to 2018.2 it broke because it tries to load the classes which are removed. It only happens in the player after building the game.

    Please patch it really soon! Thank you for maintaining this excellent tool!

    Here's part of the log file:

    Code (csharp):
    1. Initialize engine version: 2018.2.0f2 (787658998520)
    2. GfxDevice: creating device client; threaded=1
    3. Direct3D:
    4.     Version:  Direct3D 11.0 [level 11.1]
    5.     Renderer: Intel(R) HD Graphics 630 (ID=0x5912)
    6.     Vendor:  
    7.     VRAM:     4190 MB
    8.     Driver:   23.20.16.4973
    9. Begin MonoManager ReloadAssembly
    10. - Completed reload, in  0.086 seconds
    11. TypeLoadException: Could not load type 'UnityEngine.NetworkPlayer' from assembly 'UnityEngine, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null'.
    12.  
    13. (Filename:  Line: -1)
    14.  
    15. TypeLoadException: Could not load type 'UnityEngine.NetworkPlayer' from assembly 'UnityEngine, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null'.
    16.  
    17. (Filename:  Line: -1)
    18.  
    19. TypeLoadException: Could not load type 'UnityEngine.NetworkDisconnection' from assembly 'UnityEngine, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null'.
    20.  
    21. (Filename:  Line: -1)
    22.  
    23. TypeLoadException: Could not load type 'UnityEngine.NetworkConnectionError' from assembly 'UnityEngine, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null'.
    24.  
    25. (Filename:  Line: -1)
    26.  
    27. TypeLoadException: Could not load type 'UnityEngine.NetworkMessageInfo' from assembly 'UnityEngine, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null'.
    28.  
    29. (Filename:  Line: -1)
    30.  
    31. TypeLoadException: Could not load type 'UnityEngine.BitStream' from assembly 'UnityEngine, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null'.
    32.  
    33. (Filename:  Line: -1)
    34.  
    35. TypeLoadException: Could not load type 'UnityEngine.BitStream' from assembly 'UnityEngine, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null'.
    36.  
    37. (Filename:  Line: -1)
    38.  
    39. TypeLoadException: Could not load type 'UnityEngine.MasterServerEvent' from assembly 'UnityEngine, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null'.
    40.  
    41. (Filename:  Line: -1)
    42.  
    43. <RI> Initializing input.
    44.  
    45. <RI> Input initialized.
    46.  
    47. <RI> Initialized touch support.
    48.  
    49. UnloadTime: 0.380017 ms
    50. WwiseUnity: Initialize sound engine ...
    51. (Filename: C:\buildslave\unity\build\Runtime/Export/Debug.bindings.h Line: 43)
    52.  
    53. WwiseUnity: Sound engine initialized.
    54. (Filename: C:\buildslave\unity\build\Runtime/Export/Debug.bindings.h Line: 43)
    55.  
    56. Version: Alpha 1.2.4a
    57.  
    58. (Filename: C:\buildslave\unity\build\Runtime/Export/Debug.bindings.h Line: 43)
    59.  
    60. TypeLoadException: A type load exception has occurred.
    61.  
    62. Rethrow as TypeInitializationException: An exception was thrown by the type initializer for HutongGames.PlayMaker.Fsm
    63.  
    64. (Filename:  Line: -1)
    65.  
    66. TypeLoadException: A type load exception has occurred.
    67.  
    68. Rethrow as TypeInitializationException: An exception was thrown by the type initializer for HutongGames.PlayMaker.Fsm
    69.  
    70. (Filename:  Line: -1)
    71.  
    72. TypeLoadException: A type load exception has occurred.
    73.  
    74. Rethrow as TypeInitializationException: An exception was thrown by the type initializer for HutongGames.PlayMaker.Fsm
    75.  
    76. (Filename:  Line: -1)
    77.  
    78. TypeLoadException: A type load exception has occurred.
    79.  
    80. Rethrow as TypeInitializationException: An exception was thrown by the type initializer for HutongGames.PlayMaker.Fsm
    81.  
    82. (Filename:  Line: -1)
    83.  
    84. TypeLoadException: A type load exception has occurred.
    85.  
    86. Rethrow as TypeInitializationException: An exception was thrown by the type initializer for HutongGames.PlayMaker.Fsm
    87.  
    88. (Filename:  Line: -1)
    89.  
    90. TypeLoadException: A type load exception has occurred.
    91.  
    92. Rethrow as TypeInitializationException: An exception was thrown by the type initializer for HutongGames.PlayMaker.Fsm
    93.  
    94. (Filename:  Line: -1)
    95.  
    96. TypeLoadException: A type load exception has occurred.
    97.  
    98. Rethrow as TypeInitializationException: An exception was thrown by the type initializer for HutongGames.PlayMaker.Fsm
    99.  
    100. (Filename:  Line: -1)
    101.  
    102. TypeLoadException: A type load exception has occurred.
    103.  
    104. Rethrow as TypeInitializationException: An exception was thrown by the type initializer for HutongGames.PlayMaker.Fsm
    105.  
    106. (Filename:  Line: -1)
    107.  
    108. TypeLoadException: A type load exception has occurred.
    109.  
    110. Rethrow as TypeInitializationException: An exception was thrown by the type initializer for HutongGames.PlayMaker.Fsm
    111.  
    112. (Filename:  Line: -1)
    113.  
    114. Progression xml is valid.
    115. (Filename: C:\buildslave\unity\build\Runtime/Export/Debug.bindings.h Line: 43)
    116.  
    117. TypeLoadException: A type load exception has occurred.
    118.  
    119. Rethrow as TypeInitializationException: An exception was thrown by the type initializer for HutongGames.PlayMaker.Fsm
    120.  
    121. (Filename:  Line: -1)
    122.  
    123. TypeLoadException: A type load exception has occurred.
    124.  
    125. Rethrow as TypeInitializationException: An exception was thrown by the type initializer for HutongGames.PlayMaker.Fsm
    126.  
    127. (Filename:  Line: -1)
    128.  
    129. TypeLoadException: A type load exception has occurred.
    130.  
    131. Rethrow as TypeInitializationException: An exception was thrown by the type initializer for HutongGames.PlayMaker.Fsm
    132.  
    133. (Filename:  Line: -1)
    134.  
    135. TypeLoadException: A type load exception has occurred.
    136.  
    137. Rethrow as TypeInitializationException: An exception was thrown by the type initializer for HutongGames.PlayMaker.Fsm
    138.  
    139. (Filename:  Line: -1)
    140.  
    141. TypeLoadException: A type load exception has occurred.
    142.  
    143. Rethrow as TypeInitializationException: An exception was thrown by the type initializer for HutongGames.PlayMaker.Fsm
    144.  
    145. (Filename:  Line: -1)
    146.  
    147. TypeLoadException: A type load exception has occurred.
    148.  
    149. Rethrow as TypeInitializationException: An exception was thrown by the type initializer for HutongGames.PlayMaker.Fsm
    150.  
    151. (Filename:  Line: -1)
    152.  
    153. TypeLoadException: A type load exception has occurred.
    154.  
    155. Rethrow as TypeInitializationException: An exception was thrown by the type initializer for HutongGames.PlayMaker.Fsm
    156.  
    157. (Filename:  Line: -1)
    158.  
     
  6. Alex-Chouls

    Alex-Chouls

    Joined:
    Mar 24, 2009
    Posts:
    2,419
    Hi @Ladace, have you imported and installed 1.9.0.p4? Can you confirm the version info you see in PlayMaker > Help > About PlayMaker.

    Also if you're updating an existing project, please update PlayMaker first and then Unity. So: update in the Asset store to get the latest version of Playmaker, import and install Playmaker, then load the project in the latest version of Unity.
     
    Ladace likes this.
  7. Ladace

    Ladace

    Joined:
    Dec 7, 2014
    Posts:
    35
    Upgrading to 1.9.0p4 fixed it. Thank you for your help! I thought I had upgrade Playmaker to the latest version with the tool provided in PlayMaker welcome screen window.
     
  8. Alex-Chouls

    Alex-Chouls

    Joined:
    Mar 24, 2009
    Posts:
    2,419
    Glad to hear it, thanks for the update!
     
  9. Alex-Chouls

    Alex-Chouls

    Joined:
    Mar 24, 2009
    Posts:
    2,419
    Check out the powerful video plugin AVPro on the Asset Store - includes full PlayMaker support :)
     
  10. Alex-Chouls

    Alex-Chouls

    Joined:
    Mar 24, 2009
    Posts:
    2,419
  11. Alex-Chouls

    Alex-Chouls

    Joined:
    Mar 24, 2009
    Posts:
    2,419
  12. Alex-Chouls

    Alex-Chouls

    Joined:
    Mar 24, 2009
    Posts:
    2,419
  13. Alex-Chouls

    Alex-Chouls

    Joined:
    Mar 24, 2009
    Posts:
    2,419
    Last edited: Jul 17, 2018
  14. Alex-Chouls

    Alex-Chouls

    Joined:
    Mar 24, 2009
    Posts:
    2,419
  15. Alex-Chouls

    Alex-Chouls

    Joined:
    Mar 24, 2009
    Posts:
    2,419
    Coming Soon: New features are tagged as NEW in the Guided Tour window :)
    GuidedTour_NEW.png
     
  16. Alex-Chouls

    Alex-Chouls

    Joined:
    Mar 24, 2009
    Posts:
    2,419
  17. Alex-Chouls

    Alex-Chouls

    Joined:
    Mar 24, 2009
    Posts:
    2,419
  18. Alex-Chouls

    Alex-Chouls

    Joined:
    Mar 24, 2009
    Posts:
    2,419
    Check out Combat Core an awesome sci-fi arena brawler #MadeWithPlaymaker

    "As a designer and artist without strong coding skills, with Playmaker I’m able to bring my ideas to life without any limits."
    Micah Betts
     
  19. Alex-Chouls

    Alex-Chouls

    Joined:
    Mar 24, 2009
    Posts:
    2,419
  20. stevenatunity

    stevenatunity

    Joined:
    Apr 17, 2015
    Posts:
    105
    Looking forward to native tweening :) Any ETA for 1.9.1 on the Asset Store?
     
    Alex-Chouls likes this.
  21. Alex-Chouls

    Alex-Chouls

    Joined:
    Mar 24, 2009
    Posts:
    2,419
    Soon :) but probably a couple of weeks still, it's quite a big update and needs a lot of testing. PM me if you want to join the beta group.
     
    stevenatunity likes this.
  22. Alex-Chouls

    Alex-Chouls

    Joined:
    Mar 24, 2009
    Posts:
    2,419
  23. Alex-Chouls

    Alex-Chouls

    Joined:
    Mar 24, 2009
    Posts:
    2,419
    Check out Kid Goblin: Puzzle Crush a cool retro puzzle adventure game #MadeWithPlaymaker by a solo dev:
     
  24. Alex-Chouls

    Alex-Chouls

    Joined:
    Mar 24, 2009
    Posts:
    2,419
    Update for PlayMaker Photon Networking available on the PlayMaker Ecosystem.

    Make sure you first update PlayMaker, PUN, and the Ecosystem assets before updating Unity (gives a chance to assets to provide support to newer version of Unity).

    PunUpdate.jpg

    Follow https://twitter.com/JeanAtPlayMaker for Photon updates!
     
  25. Alex-Chouls

    Alex-Chouls

    Joined:
    Mar 24, 2009
    Posts:
    2,419
    Check out Pirate Pop Mega Quiz for iOS, 100% made with Playmaker, and featured by Apple!
     
  26. Alex-Chouls

    Alex-Chouls

    Joined:
    Mar 24, 2009
    Posts:
    2,419
  27. Alex-Chouls

    Alex-Chouls

    Joined:
    Mar 24, 2009
    Posts:
    2,419
  28. Alex-Chouls

    Alex-Chouls

    Joined:
    Mar 24, 2009
    Posts:
    2,419
  29. Alex-Chouls

    Alex-Chouls

    Joined:
    Mar 24, 2009
    Posts:
    2,419
  30. Alex-Chouls

    Alex-Chouls

    Joined:
    Mar 24, 2009
    Posts:
    2,419
  31. Alex-Chouls

    Alex-Chouls

    Joined:
    Mar 24, 2009
    Posts:
    2,419
  32. Alex-Chouls

    Alex-Chouls

    Joined:
    Mar 24, 2009
    Posts:
    2,419
    Check out this behind the scenes look at Unruly Heroes, a gorgeous game using Playmaker for rapid prototyping:

    https://unity.com/madewith/unruly-heroes
    "Each of the teams is familiar with Playmaker to aid prototyping, and can build new gameplay scenarios quickly. In fact, they were able to create a PVP mode (a feature they’re proud to include for local and online play) for the game without needing to solicit their programming team."
     
  33. Alex-Chouls

    Alex-Chouls

    Joined:
    Mar 24, 2009
    Posts:
    2,419
    Check out High Hell, the awesome new game from the creator of Heavy Bullets, both 100% #MadeWithPlaymaker

    "Playmaker is what makes my games happen. It's the one tool in Unity I couldn't live without."
    Terri Vellmann
     
  34. Alex-Chouls

    Alex-Chouls

    Joined:
    Mar 24, 2009
    Posts:
    2,419
  35. Alex-Chouls

    Alex-Chouls

    Joined:
    Mar 24, 2009
    Posts:
    2,419
  36. Alex-Chouls

    Alex-Chouls

    Joined:
    Mar 24, 2009
    Posts:
    2,419
  37. Alex-Chouls

    Alex-Chouls

    Joined:
    Mar 24, 2009
    Posts:
    2,419

    "Playmaker is the smoothest and most intuitive way for non-coders to implement functionality into our games!"
    Andreas N Grøntved, Lead Animator, Playdead
     
  38. Alex-Chouls

    Alex-Chouls

    Joined:
    Mar 24, 2009
    Posts:
    2,419
  39. Alex-Chouls

    Alex-Chouls

    Joined:
    Mar 24, 2009
    Posts:
    2,419
  40. Alex-Chouls

    Alex-Chouls

    Joined:
    Mar 24, 2009
    Posts:
    2,419
  41. Alex-Chouls

    Alex-Chouls

    Joined:
    Mar 24, 2009
    Posts:
    2,419
  42. Alex-Chouls

    Alex-Chouls

    Joined:
    Mar 24, 2009
    Posts:
    2,419
    Check out Poi, two kids on a grand adventure now on Nintendo Switch #MadeWithPlaymaker

    "PlayMaker is the very heart of Poi -- every character, enemy and cinematic was built from the ground up using the powerful and intuitive visual scripting tool." - Paul Ewers
     
  43. Alex-Chouls

    Alex-Chouls

    Joined:
    Mar 24, 2009
    Posts:
    2,419
    Last edited: Sep 12, 2018
  44. Alex-Chouls

    Alex-Chouls

    Joined:
    Mar 24, 2009
    Posts:
    2,419
  45. Alex-Chouls

    Alex-Chouls

    Joined:
    Mar 24, 2009
    Posts:
    2,419
  46. Alex-Chouls

    Alex-Chouls

    Joined:
    Mar 24, 2009
    Posts:
    2,419
  47. Alex-Chouls

    Alex-Chouls

    Joined:
    Mar 24, 2009
    Posts:
    2,419
    #PlayMakerTip: See what object you collided with in the FSM Log. Click to select the object.

    Great for debugging collisions and triggers!

    Bonus tip: The log shows any custom icon assigned to the collision object for at-a-glance identification.
     
  48. DespairBear

    DespairBear

    Joined:
    Nov 1, 2013
    Posts:
    230
    Hey just curious, does playmaker have any functionality implemented in order to get what the previous state was? I'm looking for a solution to implement a pushdown automata and was wondering if Playmaker supports this out of the box
     
  49. renardmf

    renardmf

    Joined:
    Jun 29, 2012
    Posts:
    47
    Hello,

    I was having some issues with the latest version of Playmaker in the Unity 2018.3b3 beta. It currently seems like prefabed Playmaker objects aren't working most likely because of the nested prefab changes in 2018.3. I get this error when trying to edit the Playermaker FSM on a prefab:

    Code (CSharp):
    1. MissingMethodException: UnityEngine.Object UnityEditor.PrefabUtility.GetCorrespondingObjectFromSource(UnityEngine.Object)
    2. HutongGames.PlayMakerEditor.FsmPrefabs.DisconnectIfModifiedInstance (HutongGames.PlayMaker.Fsm fsm) (at <efd95eba59f64406bd476801b7880d7e>:0)
    3. HutongGames.PlayMakerEditor.FsmEditor.CheckAllFsmPrefabInstances () (at C:/Projects/Playmaker_1.9.0/Projects/Playmaker.source.unity/Assets/PlayMaker/Editor/Classes/FsmEditorSettings.cs:81)
    4. HutongGames.PlayMakerEditor.FsmEditor.FirstUpdate () (at C:/Projects/Playmaker_1.9.0/Projects/Playmaker.source.unity/Assets/PlayMaker/Editor/Classes/FsmEditorGUILayout.cs:533)
    5. HutongGames.PlayMakerEditor.FsmEditor.Update () (at C:/Projects/Playmaker_1.9.0/Projects/Playmaker.source.unity/Assets/PlayMaker/Editor/Classes/FsmEditorGUILayout.cs:562)
    6. HutongGames.PlayMakerEditor.FsmEditorWindow.Update () (at Assets/ThirdParty/PlayMaker/Editor/FsmEditorWindow.cs:276)
    7. System.Reflection.MonoMethod.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) (at <ac823e2bb42b41bda67924a45a0173c3>:0)
    8. Rethrow as TargetInvocationException: Exception has been thrown by the target of an invocation.
    9. System.Reflection.MonoMethod.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) (at <ac823e2bb42b41bda67924a45a0173c3>:0)
    10. System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) (at <ac823e2bb42b41bda67924a45a0173c3>:0)
    11. UnityEditor.HostView.Invoke (System.String methodName, System.Object obj) (at C:/buildslave/unity/build/Editor/Mono/HostView.cs:342)
    12. UnityEditor.HostView.Invoke (System.String methodName) (at C:/buildslave/unity/build/Editor/Mono/HostView.cs:336)
    13. UnityEditor.HostView.SendUpdate () (at C:/buildslave/unity/build/Editor/Mono/HostView.cs:438)
    14. UnityEditor.EditorApplication.Internal_CallUpdateFunctions () (at C:/buildslave/unity/build/Editor/Mono/EditorApplication.cs:198)
    15.  
    The error doesn't show up if I break the prefab instance completely. Do you know if there is some kind of work around for this error specifically or was there some beta version of Playmaker that might help with this issue?

    Thanks in advance!
     
  50. Alex-Chouls

    Alex-Chouls

    Joined:
    Mar 24, 2009
    Posts:
    2,419
    Hi, yeah there are Get Previous State Name and Goto Previous State actions. Also Get Last Event might be useful.
    Actions to control the state machine are described here: https://hutonggames.fogbugz.com/f/page?W15
     
unityunity