playMaker

Author Topic: IL2CPP with Playmaker Problem  (Read 6111 times)

serenefox

  • Full Member
  • ***
  • Posts: 135
    • Serenefox Games
IL2CPP with Playmaker Problem
« on: January 30, 2015, 05:33:50 PM »
I sent an email to playmaker support on this as well but as I need an answer asap I thought I would post it on the forums too.

I tried the IL2CPP scripting backend with my game and it seems that Playmaker's Network Actions caused 55 errors in Xcode when linking. I found this out by deleting the network actions folder by guessing, because playmaker was the only thing in my project that had network features. After rebuilding and deleting those actions the error count dropped from 66 to 11. (I'm not using any network features in this game so I felt it didn't matter if I deleted those actions)

Here is my question though, I am still getting a few network related errors and I am wondering if somewhere else playmaker is still using them? I am also using arraymaker if that helps in any way(i doubt it).

I am using:

Unity 4.6.2
Playmaker and arraymaker latest versions

I am getting all the errors in iEpic's post in this link on the Unity forums before I remove the network actions and only a few of them remain after:

http://forum.unity3d.com/threads/4-6-ios-64-bit-beta.290551/page-7#post-1941101


*I also saw on the forums that Unity hasn't integrated the network functions into the IL2CPP backend but I figured if my game isn't using it, but the playmaker plugin is, then I am wondering if and how I can remove this so it will not give me any errors upon building in Xcode.


***Update: Here are the exact errors I get, I could be wrong but I am assuming playmaker is causing them with the new scripting backend, but if it is, is there a workaround? At least until Unity implements the networking?

Code: [Select]
Undefined symbols for architecture arm64:
  "Register_UnityEngine_BitStream_INTERNAL_CALL_Serializev()", referenced from:
      RegisterAllStrippedInternalCalls() in UnityICallRegistration.o
  "Register_UnityEngine_BitStream_Serializeb()", referenced from:
      RegisterAllStrippedInternalCalls() in UnityICallRegistration.o
  "Register_UnityEngine_BitStream_Serializec()", referenced from:
      RegisterAllStrippedInternalCalls() in UnityICallRegistration.o
  "Register_UnityEngine_Network_INTERNAL_CALL_Instantiate()", referenced from:
      RegisterAllStrippedInternalCalls() in UnityICallRegistration.o
  "Register_UnityEngine_NetworkViewID_INTERNAL_CALL_Internal_GetString()", referenced from:
      RegisterAllStrippedInternalCalls() in UnityICallRegistration.o
  "Register_UnityEngine_BitStream_Serializef()", referenced from:
      RegisterAllStrippedInternalCalls() in UnityICallRegistration.o
  "Register_UnityEngine_BitStream_Serializei()", referenced from:
      RegisterAllStrippedInternalCalls() in UnityICallRegistration.o
  "Register_UnityEngine_BitStream_get_isWriting()", referenced from:
      RegisterAllStrippedInternalCalls() in UnityICallRegistration.o
  "Register_UnityEngine_BitStream_INTERNAL_CALL_Serializeq()", referenced from:
      RegisterAllStrippedInternalCalls() in UnityICallRegistration.o
  "Register_UnityEngine_NetworkViewID_INTERNAL_CALL_Internal_Compare()", referenced from:
      RegisterAllStrippedInternalCalls() in UnityICallRegistration.o
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
« Last Edit: January 30, 2015, 11:56:54 PM by serenefox »
Most Recent Published Games:
Juicy Theater - Android

igud71

  • Playmaker Newbie
  • *
  • Posts: 6
Re: IL2CPP with Playmaker Problem
« Reply #1 on: January 31, 2015, 08:27:57 AM »
Me too have same problem. Does someone know answer for this.
Thanks

Alex Chouls

  • Administrator
  • Hero Member
  • *****
  • Posts: 3987
  • Official Playmaker Support
    • LinkedIn
Re: IL2CPP with Playmaker Problem
« Reply #2 on: January 31, 2015, 03:03:13 PM »
Try importing PlayMaker/Versions/PlayMakerNACL.unitypackage. This version has networking stripped from the dll.

I'll investigate here too...

serenefox

  • Full Member
  • ***
  • Posts: 135
    • Serenefox Games
Re: IL2CPP with Playmaker Problem
« Reply #3 on: January 31, 2015, 03:58:06 PM »
Ok I backed up my project and tried what you said. It fixed all but two errors but I now believe playmaker may be clear from these ones but I'm not sure.

The remaining errors were:

Code: [Select]
Undefined symbols for architecture arm64:
  "Register_UnityEngine_Network_INTERNAL_CALL_Instantiate()", referenced from:
      RegisterAllStrippedInternalCalls() in UnityICallRegistration.o
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
« Last Edit: January 31, 2015, 05:07:48 PM by serenefox »
Most Recent Published Games:
Juicy Theater - Android

Alex Chouls

  • Administrator
  • Hero Member
  • *****
  • Posts: 3987
  • Official Playmaker Support
    • LinkedIn
Re: IL2CPP with Playmaker Problem
« Reply #4 on: February 02, 2015, 05:03:04 PM »