I get a reproducible crash on my 64 bit iPad Air after pressing the home button.
Stack trace:
The code:
IL_0079: { Color_t95 L_16 = {0}; Color__ctor_m2554(&L_16, (0.0f), (0.0f), (0.0f), (1.0f), /*hidden argument*/NULL); GL_Clear_m7113(NULL /*static, unused*/, 0, 1, L_16, /*hidden argument*/NULL); IL2CPP_RUNTIME_CLASS_INIT(UnityPlayer_t1196_il2cpp_TypeInfo_var); Object_t * L_17 = UnityPlayer_get_Instance_m5504(NULL /*static, unused*/, /*hidden argument*/NULL); NullCheck(L_17); InterfaceActionInvoker0::Invoke(4 /* System.Void Vuforia.IUnityPlayer::OnPause() */, IUnityPlayer_t651_il2cpp_TypeInfo_var, L_17); return; }
Xcode Console:
-> applicationWillResignActive()StopQCARSystem.Collections.Generic.DefaultComparer:Equals(TimeSpan, TimeSpan)UnityEngine.Debug:Internal_Log(Int32, String, Object)UnityEngine.Debug:Log(Object)Vuforia.QCARAbstractBehaviour:StopQCAR()Vuforia.QCARAbstractBehaviour:OnApplicationPause(Boolean)System.Collections.Generic.DefaultComparer:Equals(TimeSpan, TimeSpan) (Filename: /Users/builduser/buildslave/unity/build/artifacts/generated/common/runtime/UnityEngineDebug.gen.cpp Line: 56)markerTrackerStopobjectTrackerStopcameraDeviceStopCameracameraDeviceDeinitCamera(lldb)
I am running iOS 8.3, iPad Air WiFi, 16 GB
The Project is exported from Unity iOS Pro 5.0.3 and built with Xcode 6.3.2. It happens regardless if I run a debug build from Xcode or install it as ipa. I set optimisation level to None in build settings as recommended in Vuforia 4.2.3, Unity 4.6.5p4 IL2CPP 32bit Crash.
The crash does not happen on my iPhone 5 which is a 32 bit device (iOS 8.2).
Any ideas what I can do to avoid this? Thanks
Kay