playMaker

Author Topic: Triggers Not Working on Build[SOLVED]  (Read 4183 times)

xtincer

  • Playmaker Newbie
  • *
  • Posts: 6
Triggers Not Working on Build[SOLVED]
« on: May 02, 2017, 03:21:17 AM »
So I've come across a strange problem where my triggers work when enter and exit them in the editor, but upon building only one of the triggers seems to work. Anyone come across this before?
« Last Edit: May 03, 2017, 01:29:40 AM by jeanfabre »

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 7616
    • jinxtergames
Re: Triggers Not Working on Build
« Reply #1 on: May 02, 2017, 10:40:11 AM »
Hi,
Can you give some more information?

what are you building to?
Are you using stripping levels?
Can you show (pictures or video) the triggers/Actions that work/don't work?

xtincer

  • Playmaker Newbie
  • *
  • Posts: 6
Re: Triggers Not Working on Build
« Reply #2 on: May 02, 2017, 12:39:04 PM »
Building to mac and windows, both have the same problem.

I don't think I'm stripping levels, I'm pretty new to this so I dont know where that option is.

Here's a clip of the fsm that works in the editor but doesn't work in build. the start -> state 1 -> state 2 always works in the build but after that the other states don't trigger outside of the editor.

« Last Edit: May 03, 2017, 12:02:00 AM by xtincer »

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 7616
    • jinxtergames
Re: Triggers Not Working on Build
« Reply #3 on: May 02, 2017, 05:21:35 PM »
Hi,
How are you triggering the global transitions (trigger Enter/trigger Exit/...)?

Are you using a different fsm with on trigger enter/exit actions?

I can not see the action that you are using, the Variable Tab is highlighted instead of the State tab.

xtincer

  • Playmaker Newbie
  • *
  • Posts: 6
Re: Triggers Not Working on Build
« Reply #4 on: May 02, 2017, 05:50:44 PM »
I have a box collider that is set to is trigger.

Here I've taken screenshots of it all:



Either way it seems strange that it works just fine inside the Unity editor, but when I build stepping on the platforms (other than the start platform which triggers the music to start playing) just don't seem to function.
« Last Edit: May 03, 2017, 12:01:53 AM by xtincer »

Ofonna

  • Full Member
  • ***
  • Posts: 230
Re: Triggers Not Working on Build
« Reply #5 on: May 02, 2017, 09:41:36 PM »
hi, is it just the triggers that arent functioning? how is your score system or other functions like collision?

if they don't work i would suggest you re-install playmaker or start a new project, i faced this exact issue sometime ago and never got a fix to it, it hasn't happened since then tho, but try reinstalling playmaker

xtincer

  • Playmaker Newbie
  • *
  • Posts: 6
Re: Triggers Not Working on Build
« Reply #6 on: May 02, 2017, 09:52:56 PM »
What do you mean by my score system?

This is actually the 2nd project I've started with this happening. I rebuilt the entire thing and its still doing the same thing. so im not sure reinstalling is going to help much tbh but i'll give it a shot. if you look at my previous posts i have screenshots and video of my playmaker fsms.

xtincer

  • Playmaker Newbie
  • *
  • Posts: 6
Re: Triggers Not Working on Build
« Reply #7 on: May 03, 2017, 12:01:35 AM »
OK turns out it was the smart FP controller I was using. NOT playmaker. Once i removed that asset it built correctly. Sorry for the trouble everyone (including those that helped me on the Playmaker Discord), but thanks for your help!

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 7616
    • jinxtergames
Re: Triggers Not Working on Build
« Reply #8 on: May 03, 2017, 01:05:48 AM »
np, i am happy you got it to work :)