playMaker

Author Topic: IL2CPP FsmStateAction compile errors[SOLVED]  (Read 6134 times)

devandart

  • Playmaker Newbie
  • *
  • Posts: 23
    • devandart
IL2CPP FsmStateAction compile errors[SOLVED]
« on: April 21, 2015, 01:31:44 AM »
Hi,

I just finished my game and compiled it for Android, no problem all the time.
Also the iOS export from Unity is no problem, no errors.
But when I try to compile the xcode project I get many errors in a class called AssemblyU2DCSharp_xxx (I guess) like

Quote
unknown class (or type) name 'FsmActionState_txxx'; did you mean 'FsmStateAction_tyyy'?

The missing FsmStateActions in the cpp file where the linking fails are the states I created in my GameObject Playmaker States.

Then xcode wants to replace it with another FsmStateAction but that doesn't work.
Do sb. of you know this problem and how to solve it?
I really can't find this issue in relation to Playmaker on the forums or google.

My export options where IL2CPP and Universal (only arm64 the same problem).
« Last Edit: April 24, 2015, 12:48:15 AM by jeanfabre »

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: IL2CPP FsmStateAction compile errors
« Reply #1 on: April 21, 2015, 02:34:18 AM »
Hi,

 Are you using the latest version of PlayMaker from the asset store?

I have published just yesterday using 4.6 and 5 and we did not get this error.

Make sure stripping is disabled.

 Bye,

 Jean

devandart

  • Playmaker Newbie
  • *
  • Posts: 23
    • devandart
Re: IL2CPP FsmStateAction compile errors
« Reply #2 on: April 21, 2015, 02:40:47 AM »
Hi,

yes I downloaded the latest version yesterday from asset store and disabled stripping on my last try.
I can try it again, but I'm not sure if that helps.

Maybe I forgot to delete sth. or so?

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: IL2CPP FsmStateAction compile errors
« Reply #3 on: April 21, 2015, 02:51:25 AM »
Hi,

 also, make sure you build on a new folder, or at least replace your build.

 Bye,

 Jean

devandart

  • Playmaker Newbie
  • *
  • Posts: 23
    • devandart
Re: IL2CPP FsmStateAction compile errors
« Reply #4 on: April 21, 2015, 02:55:02 AM »
I also replace the xcode build all the time, that shouldn't be the problem.
I think I have to try it again (IL2CPP, stripping disabled) but I guess it won't work.

devandart

  • Playmaker Newbie
  • *
  • Posts: 23
    • devandart
Re: IL2CPP FsmStateAction compile errors
« Reply #5 on: April 22, 2015, 03:35:08 PM »
Okay, I think I did something wrong the last time upgrading to the latest Playmaker version...
Now I checked everything twice, deleted everything except the assemblies/globals, imported new Playmaker and now it works.

Thank you!

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: IL2CPP FsmStateAction compile errors[SOLVED]
« Reply #6 on: April 24, 2015, 01:00:49 AM »
Great!

Bye,

 Jean