playMaker

Author Topic: Solved - Call Method Function on mobile Device  (Read 427 times)

InbalTal

  • Playmaker Newbie
  • *
  • Posts: 41
    • View Profile
Solved - Call Method Function on mobile Device
« on: May 30, 2019, 10:19:46 PM »
Hi!
I need your help about Something Strange that happened when I Use The Call Method Function when I Send the App to my mobile Device:
1. I use Unity 2019.1.3f1, Playmaker ver. 1.9.0.p16, Vuforia 8.1.11
2. On my action, I use the first state with the On Click Function on a UI Button And After that, I use another state with the call method function that has the behavior of video player and method of play
I have to mention that the video component is not on Play on awake
3. In the game window when I test it,  everything is working fine BUT when I send the app to my Phone the call method on the UI Button is not working and the Video clip is not Playing  :(
4. I have to say that when I use the play function straight on the UI Button (Scripts) in the inspector panel with the On Click () it is work Ok also on the app in the phone  :)
4. I use this function Before a lot and everything was working fine.
so... please help me to solve the problem. ASAP
Thank's
Inbal
 
« Last Edit: May 31, 2019, 11:49:46 AM by InbalTal »

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 4582
    • View Profile
    • jinxtergames
Re: Problem Call Method Function on mobile Device
« Reply #1 on: May 30, 2019, 11:21:09 PM »
Hi.
Its possible you need to use the Linker Wizard

InbalTal

  • Playmaker Newbie
  • *
  • Posts: 41
    • View Profile
Re: Problem Call Method Function on mobile Device
« Reply #2 on: May 31, 2019, 08:09:21 AM »
Jean,
Thank's for your answer.
I Download the Linker Wizard
I use it in my State Action as a get property ( isPlaying) and it doesn't work on the play Gamemode

Inbal
« Last Edit: May 31, 2019, 08:24:12 AM by InbalTal »

InbalTal

  • Playmaker Newbie
  • *
  • Posts: 41
    • View Profile
Re: Problem Call Method Function on mobile Device
« Reply #3 on: May 31, 2019, 08:45:24 AM »
Jean,
I also have to say that I use this Call Method function with the Play Method on the Previous Version of unity and it's was OK
What get Wrong on the New Version?

krmko

  • Beta Group
  • Hero Member
  • *
  • Posts: 990
    • View Profile
    • Fat Pug Studio
Re: Problem Call Method Function on mobile Device
« Reply #4 on: May 31, 2019, 09:37:08 AM »
Dude, avoid get/set property and call method actions like plague, they'll screw you sooner or later.  It's a simple method, i can write you an action for it, just wait a day or two, i'm smashed from the work week :P

InbalTal

  • Playmaker Newbie
  • *
  • Posts: 41
    • View Profile
Re: Problem Call Method Function on mobile Device
« Reply #5 on: May 31, 2019, 11:28:25 AM »
krmko,
Thank's for the Suggestion :)

« Last Edit: May 31, 2019, 11:45:41 AM by InbalTal »

InbalTal

  • Playmaker Newbie
  • *
  • Posts: 41
    • View Profile
Re: Solved - Call Method Function on mobile Device
« Reply #6 on: May 31, 2019, 11:49:04 AM »
HI

Ok, I found a solution by Download from the Ecosystem the VideoPlayer Package
I test it and it works.

Thanks again :)
Inbal

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 4582
    • View Profile
    • jinxtergames
Re: Problem Call Method Function on mobile Device
« Reply #7 on: May 31, 2019, 01:09:31 PM »
Jean,
Thank's for your answer.
I Download the Linker Wizard
I use it in my State Action as a get property ( isPlaying) and it doesn't work on the play Gamemode

Inbal

i am not jean :)

But happy to help

InbalTal

  • Playmaker Newbie
  • *
  • Posts: 41
    • View Profile
Re: Solved - Call Method Function on mobile Device
« Reply #8 on: June 01, 2019, 12:56:07 AM »
djaydino,

Sorry for the misunderstanding, :o
My Apologies
Appreciate Your Help :D

Inbal