playMaker

Author Topic: Playmaker works in editor not in Build mode[SOLVED]  (Read 823 times)

Diedre

  • Playmaker Newbie
  • *
  • Posts: 2
Playmaker works in editor not in Build mode[SOLVED]
« on: July 22, 2020, 05:43:10 AM »
Hi ,

I am making a project in Unity 2019.3.6f1 , using Playmaker 1.9.0.p20 . Everything works fine in editor mode but when I build the project , none of the Playmaker function seems to work.

I have tried to delete the Library Project File and reimport/reinstall Playmaker packages. Also I made a simple scene with just a function " press escape to quit game" made with Playmaker and I have the same issue.

Any idea what the problem is ?

Thanks !

Here is the Player.log file



MissingMethodException: Default constructor not found for type HutongGames.PlayMaker.Actions.MissingAction
  at System.RuntimeType.CreateInstanceMono (System.Boolean nonPublic) [0x0007b] in <45c1a0a477534c47a91cb1b422a1604d>:0
  at System.RuntimeType.CreateInstanceSlow (System.Boolean publicOnly, System.Boolean skipCheckThis, System.Boolean fillCache, System.Threading.StackCrawlMark& stackMark) [0x00009] in <45c1a0a477534c47a91cb1b422a1604d>:0
  at System.RuntimeType.CreateInstanceDefaultCtor (System.Boolean publicOnly, System.Boolean skipCheckThis, System.Boolean fillCache, System.Threading.StackCrawlMark& stackMark) [0x00027] in <45c1a0a477534c47a91cb1b422a1604d>:0
  at System.Activator.CreateInstance (System.Type type, System.Boolean nonPublic) [0x00020] in <45c1a0a477534c47a91cb1b422a1604d>:0
  at System.Activator.CreateInstance (System.Type type) [0x00000] in <45c1a0a477534c47a91cb1b422a1604d>:0
  at HutongGames.PlayMaker.ActionData.CreateAction (HutongGames.PlayMaker.ActionData+Context context, System.Int32 actionIndex) [0x0004d] in <eea339da6b5e4d4bb255bfef95601890>:0
  at HutongGames.PlayMaker.ActionData.LoadActions (HutongGames.PlayMaker.FsmState state) [0x00047] in <eea339da6b5e4d4bb255bfef95601890>:0
  at HutongGames.PlayMaker.FsmState.LoadActions () [0x00000] in <eea339da6b5e4d4bb255bfef95601890>:0
  at HutongGames.PlayMaker.Fsm.InitData () [0x000aa] in <eea339da6b5e4d4bb255bfef95601890>:0
  at HutongGames.PlayMaker.Fsm.Init (UnityEngine.MonoBehaviour component) [0x00007] in <eea339da6b5e4d4bb255bfef95601890>:0
  at PlayMakerFSM.Init () [0x0003d] in <eea339da6b5e4d4bb255bfef95601890>:0
  at PlayMakerFSM.Awake () [0x00012] in <eea339da6b5e4d4bb255bfef95601890>:0
 
(Filename: <45c1a0a477534c47a91cb1b422a1604d> Line: 0)
« Last Edit: July 23, 2020, 05:34:49 AM by djaydino »

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 7616
    • jinxtergames
Re: Playmaker works in editor not in Build mode
« Reply #1 on: July 22, 2020, 12:07:43 PM »
Hi.
Do you have Get / Set Properties actions in your project?

if you you might need to use Linker Wizard

Diedre

  • Playmaker Newbie
  • *
  • Posts: 2
Re: Playmaker works in editor not in Build mode
« Reply #2 on: July 23, 2020, 05:02:58 AM »
Unfortunately, I don't have those actions in my project.
I started from scratch with a brand new project and the issue seems to have disappeared.
Thank you