playMaker

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

devandart

  • Playmaker Newbie
  • *
  • Posts: 23
    • View Profile
    • devandart
IL2CPP FsmStateAction compile errors[SOLVED]
« on: April 20, 2015, 10:31:44 PM »
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 23, 2015, 09:48:15 PM by jeanfabre »

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 13002
  • Official Playmaker Support
    • View Profile
Re: IL2CPP FsmStateAction compile errors
« Reply #1 on: April 20, 2015, 11:34:18 PM »
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
    • View Profile
    • devandart
Re: IL2CPP FsmStateAction compile errors
« Reply #2 on: April 20, 2015, 11:40:47 PM »
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: 13002
  • Official Playmaker Support
    • View Profile
Re: IL2CPP FsmStateAction compile errors
« Reply #3 on: April 20, 2015, 11:51:25 PM »
Hi,

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

 Bye,

 Jean

devandart

  • Playmaker Newbie
  • *
  • Posts: 23
    • View Profile
    • devandart
Re: IL2CPP FsmStateAction compile errors
« Reply #4 on: April 20, 2015, 11:55:02 PM »
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
    • View Profile
    • devandart
Re: IL2CPP FsmStateAction compile errors
« Reply #5 on: April 22, 2015, 12: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: 13002
  • Official Playmaker Support
    • View Profile
Re: IL2CPP FsmStateAction compile errors[SOLVED]
« Reply #6 on: April 23, 2015, 10:00:49 PM »
Great!

Bye,

 Jean