playMaker

Author Topic: Playmaker actions not working in android yet again  (Read 38 times)

volcank

  • Playmaker Newbie
  • *
  • Posts: 36
Playmaker actions not working in android yet again
« on: April 25, 2024, 05:19:12 AM »
Hi I saw a thread on this but still wanted to create new thread for this situation. My game works perfect in ios and I even published it here
https://apps.apple.com/tr/app/cool-cats-block-slide/id6480193201

But the thing is when I switched back to android and built it with android, the playmaker actions didn't work. This was a sourcecode that I purchased and changed the graphics and all and added my own actions into it. The game itself is coded no playmaker but I added the coin events and used playerpefs to save coins. Also added an extra button at top like it takes you to another scene where you can decorate your house etc but none of these work. Like The button even doesn't work that gets you to the deco page.

I am using Unity 2021.3.36f1 version and I also build my android targeting API 33 because it was giving gradle errors in highest and 34. Minimum API is Android 7.0 Marshmallow. No idea if that is the reason for pm not working. The only actions I use in the maing game are coin collect etc. and the button that takes you to another scene for deco. Using the latest version of Playmaker.

I would appreciate your help and advice.

Best


Alex Chouls

  • Administrator
  • Hero Member
  • *****
  • Posts: 4002
  • Official Playmaker Support
    • LinkedIn
Re: Playmaker actions not working in android yet again
« Reply #1 on: April 25, 2024, 04:50:12 PM »
Are you using GetProperty/SetProperty/CallMethod actions?
Or any custom actions?

Try disabling stripping in the build to see if that is the issue:
https://docs.unity3d.com/Manual/ManagedCodeStripping.html

volcank

  • Playmaker Newbie
  • *
  • Posts: 36
Re: Playmaker actions not working in android yet again
« Reply #2 on: Today at 09:19:28 AM »
Hi Alex,

I am mostly using Playerprefs to get Get Coin Variable and Set Coin variable and I am also using lots of Global variables. Other than that I use Control Freak plugin to control the topdown character in another scene for mobile also I have Camera 2D smooth follow from eco system. But I don't use it in my game. I will try disabling stripping in the build and see if it will work. Thank you so much!