Built my game with Unity, Playmaker (ArrayMaker & Datamaker) and Easy Save 2. Windows / Mac and Android builds were perfect. Got to iOS and nothing seems to work. I've spent a few days trying to even get the build on my iPhone, but now that I have, nothing is working properly.
I used Get / Set Property a fair bit (wasn't aware we couldn't and some actions don't exist) - will make a point of avoiding this in the future, but I've used Linker Wizard to create link.xml and fix this retroactively.
I however get this error in XCode when I'm running the game on my iPhone:
\
LinkerData is missing an instance, please create one first in your assets from the create menu: Assets/Create/PlayMaker/Create Linker Wizard\
HutongGames.PlayMaker.Fsm:UpdateStateChanges()\
HutongGames.PlayMaker.Fsm:Start()\
HutongGames.PlayMaker.Fsm:ProcessEvent(FsmEvent, FsmEventData)\
HutongGames.PlayMaker.Fsm:Event(FsmEventTarget, FsmEvent)\
\
(Filename: /Users/builduser/buildslave/unity/build/artifacts/generated/common/runtime/UnityEngineDebugBindings.gen.cpp Line: 65)\
Then I also get a lot of:
\
ExecutionEngineException: Attempting to call method 'System.Reflection.MonoProperty::GetterAdapterFrame' for which no ahead of time (AOT) code was generated.\
at System.Reflection.MonoProperty+GetterAdapter.Invoke (System.Object _this) [0x00000] in <filename unknown>:0 \
at HutongGames.PlayMaker.ReflectionUtils.GetMemberValue (System.Reflection.MemberInfo member, System.Object target) [0x00000] in <filename unknown>:0 \
at HutongGames.PlayMaker.ReflectionUtils.SetMemberValue (System.Reflection.MemberInfo[] memberInfo, System.Object target, System.Object value) [0x00000] in <filename unknown>:0 \
at HutongGames.PlayMaker.FsmProperty.SetValue () [0x00000] in <filename unknown>:0 \
at HutongGames.PlayMaker.FsmState.OnUpdate () [0x00000] in <filename unknown>:0 \
at HutongGames.PlayMaker.Fsm.UpdateState (HutongGames.PlayMaker.FsmState state) [0x00000] in <filename unknown>:0 \
at HutongGames.PlayMaker.Fsm.Update () [0x00000] in <filename unknown>:0 \
\
and finally:
\
2016-05-03 20:50:41.282 Panmorphia[4418:2549643] App Transport Security has blocked a cleartext HTTP (http://) resource load since it is insecure. Temporary exceptions can be configured via your app's Info.plist file.\
LoadLevel: 01 Start\
HutongGames.PlayMaker.Fsm:UpdateStateChanges()\
HutongGames.PlayMaker.DelayedEvent:Update()\
HutongGames.PlayMaker.Fsm:UpdateDelayedEvents()\
HutongGames.PlayMaker.Fsm:Update()\
\
Any ideas on what is happening?
I'm building with IL2CPP, .NET 2.0, Disabled Stripping Level (though I've tried the other stripping levels and had similar issues). Slow and Safe (Script Call Optim). Tried building on Win 7 > moving folder, now I'm building on a Mac. Just nothing seems to work from my Playmaker scripts.
This is my link.xml file:
<linker>
<assembly fullname="mscorlib">
<namespace fullname="System.Security.Cryptography" preserve="all" />
<namespace fullname="System.IO.Directory" preserve="all" />
</assembly>
<assembly fullname="UnityEngine">
<type fullname="UnityEngine.Camera" preserve="all" />
<type fullname="UnityEngine.AudioSource" preserve="all" />
<type fullname="UnityEngine.GameObject" preserve="all" />
<type fullname="UnityEngine.SpriteRenderer" preserve="all" />
<type fullname="UnityEngine.Transform" preserve="all" />
<type fullname="UnityEngine.Collider2D" preserve="all" />
<type fullname="UnityEngine.BoxCollider2D" preserve="all" />
<type fullname="UnityEngine.RectTransform" preserve="all" />
<type fullname="UnityEngine.PolygonCollider2D" preserve="all" />
<type fullname="UnityEngine.ParticleSystem" preserve="all" />
<type fullname="UnityEngine.Animator" preserve="all" />
<type fullname="UnityEngine.CircleCollider2D" preserve="all" />
</assembly>
<assembly fullname="UnityEngine.UI">
<type fullname="UnityEngine.UI.Text" preserve="all" />
<type fullname="UnityEngine.UI.Image" preserve="all" />
</assembly>
</linker>
Hoping someone has an idea on what's going on and what I can do to make my game work.
Thanks!