playMaker

Author Topic: Send event not working on build.  (Read 1873 times)

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 7616
    • jinxtergames
Send event not working on build.
« on: July 18, 2018, 06:07:51 PM »
Hi,

A week ago i had a crash, but i could recover most of my work using this :
https://support.unity3d.com/hc/en-us/articles/210224803-Can-I-restore-my-unsaved-scene-after-Unity-crash-

That seemed to work fine and when i play in editor everything works....until i made a build.

When i make a simple new scene with 2 objects and fsms and send to the other gameobject fsm, and make a build from that it seems to work,
So i guess the fsms in my main scene got disconnected after the recovery i did.

When i use the custom action (GoToStateByName) the state on the other fsm gets triggered. and i could solve some of the issues with that but there are cases i can't use this 'dirty' workaround.

i tried many things already :
copy paste fsms to a new gameobject.
make a prefab and copy to a new scene
export to a new project on different playmaker / unity versions
and so on, but no luck yet :(
i used some ui text and ui set text for debug.

Any ideas are welcome.

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 7616
    • jinxtergames
Re: Send event not working on build.
« Reply #1 on: July 19, 2018, 07:20:21 AM »
Hi.

I think i finally found the issue, it was not the events that had an issue, but the 'Ui Button Array'

Here a video with some explanations.