Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: Franck on September 17, 2019, 04:10:52 PM

Title: Editor ok but android export not [SOLVED]
Post by: Franck on September 17, 2019, 04:10:52 PM
Hi all,

I have a pretty annoying problem when I export my project for Android.
Indeed, when I test the project in the editor, everything seems to go as planned. By cons, when I export my project on Android, nothing happens as expected.
On the 1st video (OnEditor) I can select in the drop-down list and everything is updated correctly. In the second video (OnAndroid) when I select in the dropdown nothing happens.
I know it worked for a while but since then I had to make changes in my project it has not worked anymore.

Do you have any idea where this bug is?

thank you in advance

Video 1 (OnEditor):


Video 2 (OnAndroid):

Title: Re: Editor ok but android export not
Post by: djaydino on September 19, 2019, 09:37:31 AM
Hi.
Do you use any Get/Set properties (there are a few other actions as well that might need linker wizard) actions?
If so use the Linker Wizard (http://hutonggames.com/playmakerforum/index.php?topic=11126.0)

if not try using Some ui text lines and place some 'ui text set text' where the new 'nom joueur' are created to narrow down the issue.

It is very hard to see what could cause this, without seeing the (playmaker) code.
There can be several reasons
Title: Re: Editor ok but android export not
Post by: Franck on September 23, 2019, 06:30:15 AM
Hi djaydino and thanks for your reply :)

Yes I use Get/Set properties but the Linker Wizard isn't just for MAC users? Or Iphone Users? Because I use Windows and try to export the project for Android at the moment.

If you want, I can upload my whole project somewhere then you can see what's wrong in it. If you want obviously :)
Title: Re: Editor ok but android export not
Post by: djaydino on September 23, 2019, 08:17:57 AM
HI.
Try to narrow down where it goes wrong (on which fsm)

As i can see that parts are working, but not everything.
Title: Re: Editor ok but android export not
Post by: Franck on September 24, 2019, 01:46:27 PM
Ok I found where the problem was...

It's in the player settings in other settings and I think in Optimization.

I had in stripping level the value Use micro and mscorlib then I switched to disable. And I had Optimize Mesh Data checked. I unchecked it.

And voila ! All rework now.

Thanks to tried to help me djaydino like usually :)
Title: Re: Editor ok but android export not
Post by: Franck on September 24, 2019, 01:47:47 PM
And sorry for my bad english :s