playMaker

Author Topic: Game will not build and run on osx  (Read 2788 times)

lostbot

  • Playmaker Newbie
  • *
  • Posts: 7
Game will not build and run on osx
« on: July 16, 2013, 09:11:59 PM »
I have a simple game i have been working on. when I try to build and run it seems to build with no errors but when it tries to run it just craps out right away. I did a test with the default unity angry bot scene and that build and runs just fine. do I need to do anything special with playmaker before building?


Alex Chouls

  • Administrator
  • Hero Member
  • *****
  • Posts: 4002
  • Official Playmaker Support
    • LinkedIn
Re: Game will not build and run on osx
« Reply #1 on: July 16, 2013, 11:07:12 PM »
I assume it runs okay in the editor?

If it runs in the editor but not in a standalone build it usually means you have FSMs saved with old action data. E.g., a field was added or removed from an action. When you run the game in the editor you should get warnings in the Playmaker Console telling you which FSM need to be re-saved.

There are other things that can fail in a standalone build but work in the editor, but this is the most common...

lostbot

  • Playmaker Newbie
  • *
  • Posts: 7
Re: Game will not build and run on osx
« Reply #2 on: July 17, 2013, 01:47:16 AM »
yes it plays fine in the editor. I also tried building for web player and windows and both of those work fine so seems to be a problem with osx. I'm not seeing any errors in the log window..

Fletch

  • Junior Playmaker
  • **
  • Posts: 66
    • SneakOnTheLot.com
Re: Game will not build and run on osx
« Reply #3 on: July 17, 2013, 12:19:18 PM »
I have the same issue with the 32bit version on the Window's stand alone.

doppelmonster

  • Full Member
  • ***
  • Posts: 157
    • Grinder Games
Re: Game will not build and run on osx
« Reply #4 on: July 17, 2013, 12:58:13 PM »
I have the opposite.

My game works fine on the devices.
But i have 86 errors from one template fsm i use all over my game.
The error states a missing var, but i deleted the corresponding action a long time ago.

So how do i re-save a FSM? This is totally new to me. I always just saved my scene and project....


lostbot

  • Playmaker Newbie
  • *
  • Posts: 7
Re: Game will not build and run on osx
« Reply #5 on: July 21, 2013, 02:25:43 PM »
yeah how do you resave an FSM? doesn't it get saved when you save your scene?

Alex Chouls

  • Administrator
  • Hero Member
  • *****
  • Posts: 4002
  • Official Playmaker Support
    • LinkedIn
Re: Game will not build and run on osx
« Reply #6 on: July 21, 2013, 02:37:29 PM »
You have to make a change to force a save. E.g., move a state a bit.

If an FSM needs to be resaved it should be marked dirty and get saved automatically, but maybe that's not happening. I'm looking into it...