playMaker

Author Topic: Playmaker not working in android build 2019.2 Playmaker 190p19  (Read 3858 times)

Bryanogden

  • Playmaker Newbie
  • *
  • Posts: 8
Playmaker not working in android build 2019.2 Playmaker 190p19
« on: November 25, 2019, 03:35:59 PM »
Playmaker not working in android build 2019.2 Playmaker 190p19

While there is an older post with this thread and the Linker Wizard package was suggested. Those solutions didnt work - Package plays regular scripts normally reflection get/set playmaker actions do not function. Any updates on the Linker Wizard?

No related errors show in the log.

here is the Linker DOCUMENT

Code: [Select]
<linker>
  <assembly fullname="UnityEngine">
    <type fullname="UnityEngine.GUIClip" preserve="all" />
  </assembly>
  <assembly fullname="UnityEngine.UI">
    <type fullname="UnityEngine.UI.Text" preserve="all" />
    <type fullname="UnityEngine.UI.Image" preserve="all" />
  </assembly>
  <assembly fullname="Assembly-CSharp">
    <type fullname="MLSpace.ItemPicker" preserve="all" />
    <type fullname="MLSpace.Scenegraph" preserve="all" />
    <type fullname="MLSpace.ScreenFade" preserve="all" />
    <type fullname="MLSpace.SceneControl" preserve="all" />
    <type fullname="MLSpace.Stats" preserve="all" />
  </assembly>
  <assembly fullname="UnityEngine.CoreModule">
    <type fullname="UnityEngine.GameObject" preserve="all" />
  </assembly>
</linker>

Bryanogden

  • Playmaker Newbie
  • *
  • Posts: 8
Re: Playmaker not working in android build 2019.2 Playmaker 190p19
« Reply #1 on: November 25, 2019, 04:16:16 PM »
UPDATE: Building the Linker Wizard demo according to the video has the same problem FSM runs in the editor but not in the android build. Suggestions?

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: Playmaker not working in android build 2019.2 Playmaker 190p19
« Reply #2 on: November 26, 2019, 01:59:29 AM »
Hi,

 It's likely because you haven't fully played the game in editor so that all occurrences of your use of reflection based actions gets triggered.

 - find out which part exactly of your game doesn't work.
- reproduce exactly that part in editor, check if the linker wizard correctly has the used reflection actions for that part.


It could also be something not related to the linker and simply be a bug in the logic.

If you know exactly which fsm doesn't run properly, put some debug inside it so that visually you can see what's going on ( in the game interface), you can also use a runtime console ( I use them always, because on android, you can't debug like on IOS via the xcode console...), and put some logs as to what's going on, then analyze this and narrow down the problem.

Let me know how it goes.

Bye,

 Jean

Bryanogden

  • Playmaker Newbie
  • *
  • Posts: 8
Re: Playmaker not working in android build 2019.2 Playmaker 190p19
« Reply #3 on: November 26, 2019, 04:42:57 AM »
>>>It's likely because you haven't fully played the game in editor so that all occurrences of your use of reflection based actions gets triggered

Are you saying that if ALL actions havn't been triggered then NONE of the linker wizard links will work?

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: Playmaker not working in android build 2019.2 Playmaker 190p19
« Reply #4 on: November 27, 2019, 01:23:26 AM »
Hi,

 yes, you have to play your game in editor so that you at least go through all the various reflection actions you have implemented, then it can register what this action access specifically and put it in the linker description so that Unity doesn't forget about it when compiling.

Bye,

 Jean

Bryanogden

  • Playmaker Newbie
  • *
  • Posts: 8
Re: Playmaker not working in android build 2019.2 Playmaker 190p19
« Reply #5 on: March 30, 2020, 08:21:24 AM »
Ok I finally got back to this project because I was dreading it. So I played it through as suggested then updated the linker wizard  and the built but no joy.

On closer look it appeared no playmaker actions were working in the build.

I rebuilt the project, re loaded the packages still no joy..reimported the scripts....

Can you list some other likely things that would cause this ...

 I mean succesful android builds are tedious enough .. Playmaker just fails silently when making this build.

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: Playmaker not working in android build 2019.2 Playmaker 190p19
« Reply #6 on: April 03, 2020, 02:34:01 AM »
Hi,

 I deploy many projects with playmaker on android for private clients, so it is definitly working, maybe there is some fiddling needed.

can you do a fresh new project with a basic scene with a rotating cube controlled by playmaker ( using rotate action), do es that deploy and plays on android?

Bye,

 Jean