playMaker

Author Topic: Compiler error after upgrading project to 4.6.3 and IL2CPP [SOLVED]  (Read 2637 times)

gecko

  • Junior Playmaker
  • **
  • Posts: 52
I just upgraded a project to Unity 4.6.3 and IL2CPP so I can submit it to the Apple app store, but I get this compiler error when building:

Assets/PlayMaker Custom Samples/ApplicationOpenUrl.cs(27,45): error CS0117: `UnityEngine.Application' does not contain a definition for `ExternalEval'

I did update Playmaker, and I need the OpenURL action in the ap. Is this fixable?

thanks
Dave
« Last Edit: March 27, 2015, 03:45:29 PM by Alex Chouls »

gecko

  • Junior Playmaker
  • **
  • Posts: 52
Re: Compiler error after upgrading project to 4.6.3 and IL2CPP
« Reply #1 on: March 25, 2015, 10:19:49 AM »
can anyone help me with this problem?

Alex Chouls

  • Administrator
  • Hero Member
  • *****
  • Posts: 4003
  • Official Playmaker Support
    • LinkedIn
Re: Compiler error after upgrading project to 4.6.3 and IL2CPP
« Reply #2 on: March 25, 2015, 08:33:28 PM »
I'm not familiar with the ApplicationOpenUrl action. Where did you get it?

It doesn't seem like it should need to call ExternalEval. It could probably be re-written to work with IL2CPP... Can you post the action?

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: Compiler error after upgrading project to 4.6.3 and IL2CPP
« Reply #3 on: March 27, 2015, 02:09:16 AM »
Hi,

 It's on the ecosystem, let me fix this asap.

Bye,

 Jean

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: Compiler error after upgrading project to 4.6.3 and IL2CPP
« Reply #4 on: March 27, 2015, 02:19:18 AM »
Hi,

 I think you have an old version of this action. Did you get it from the Ecosystem? else can you delete the action and get it either via the Ecosystem or here:

 ApplicationOpenUrl

 If that is the same code or still doing it, let me know.

Bye,

 Jean

gecko

  • Junior Playmaker
  • **
  • Posts: 52
Re: Compiler error after upgrading project to 4.6.3 and IL2CPP
« Reply #5 on: March 27, 2015, 02:58:31 PM »
I got that originally from some forum post here, several years ago. But the new version fixes the error, so thanks very much!

Dave