By fafase
on Fri, 06/26/2015 - 13:44
Vuforia SDK Version: 4.2.3 -
Description with steps to reproduce:
Building for 64bit goes fine but 32bit crashes on this:
extern "C" bool QCARManagerImpl_Update_m11287 (QCARManagerImpl_t2198 * __this, int32_t ___counterRotation, const MethodInfo* method) { IL_00b5: { bool L_20 = V_0; if (!L_20) { goto IL_0116; } } { FrameState_t2191 * L_21 = &(__this->___mFrameState_14); int32_t L_22 = (L_21->___numTrackableResults_8); FrameState_t2191 * L_23 = &(__this->___mFrameState_14); int32_t L_24 = (L_23->___numPropTrackableResults_13); QCARManagerImpl_InitializeTrackableContainer_m11292(__this, ((int32_t)((int32_t)L_22+(int32_t)L_24)), /*hidden argument*/NULL); QCARManagerImpl_UpdateCameraFrame_m11298(__this, /*hidden argument*/NULL); FrameState_t2191 L_25 = (__this->___mFrameState_14); QCARManagerImpl_UpdateTrackers_m11293(__this, L_25, /*hidden argument*/NULL); IL2CPP_RUNTIME_CLASS_INIT(QCARRuntimeUtilities_t452_il2cpp_TypeInfo_var); bool L_26 = QCARRuntimeUtilities_IsPlayMode_m1812(NULL /*static, unused*/, /*hidden argument*/NULL); if (!L_26) { goto IL_010f; } }
those line below crash, the L_25 variables ends up null.
FrameState_t2191 L_25 = (__this->___mFrameState_14); QCARManagerImpl_UpdateTrackers_m11293(__this, L_25, /*hidden argument*/NULL);
Is that a bug or something I do wrong. The same code runs with no issue on 64bit (two different iPhone6).
The problem occurs on iPhone 5, iPad2 and iPad4 (32bit).
- Development OS (Mac OS X, Windows, Linux): MAC OSX - Mobile OS and Version: iOS 32bit - Mobile Device Manufacturer and Model name: Apple - Do the Vuforia Sample Applications show the same behavior?:
Crash IL2CPP unity 5.1.1 32 bits
For what it's worth, I'm getting the same crash with the following:
Unity 5.0.3f2
Ipad 3 (32 bit)
I thought maybe I'd need to upgrade to the newest version of Unity but I believe you already have it.
Crash IL2CPP unity 5.1.1 32 bits
I have the same problem.
Using Unity 5.1.2f1
The app works with iPhone 6 - iOS 8.4 (64-bit).
Doesn't work with iPad 2 - iOS 8.4 (32-bit).
I already tried changing the optimization level and it didn't help.
Crash IL2CPP unity 5.1.1 32 bits
I think I have the same issue here. My app works on iPhone 6 - ios8.3 - but all others I've tried don't. iPad 2 - ios8.4 | iphone5 - ios8.4 | iphone4 - ios7.1
It's stops at the same point that was described behind.
My configuration is:
Crash IL2CPP unity 5.1.1 32 bits
A note about the iPhone 4; the minimum "iPhone" supported device is the iPhone 4S
Crash IL2CPP unity 5.1.1 32 bits
Hey guys, some good news here.
I have downgraded my Unity from 5.1.2f1 to 5.1.1f1 like Semrau said and everything works here, including iPhone 4.
Thanks for your time AlessandroB and I hope as soon as possible Unity fix this issue in the future versions.
Crash IL2CPP unity 5.1.1 32 bits
Hi,
I recently discovered that i'm facing the same problem.
i tried to build my app with the last version of unity (5.1.2p1), but the problem is still there.
Crash IL2CPP unity 5.1.1 32 bits
Hi SuperZ,
could you tell if you are using Xcode 6.4 or Xcode 6.3 (or older) version ?
and could you confirm that you see the issue in Unity 5.1.2, but NOT on Unity 5.1.1p4 (or other 5.1.1 version) ?
Crash IL2CPP unity 5.1.1 32 bits
I only noticed the issue few days ago, i was using Unity 5.1.1p1 and today i tried with 5.1.2p1. I saw in this post that the problem appears with the 5.1.1p1 so i didn't test the other versions of Unity (And i don't have any device to test with).
I am using Xcode 6.4 (6E35b).
Crash IL2CPP unity 5.1.1 32 bits
There seem to be some slightly contradictory information from this thread:
Crash IL2CPP unity 5.1.1 32 bits
My mistake AlessandroB, i have to problem with Unity 5.1.1p1 i was using it for about a month, and i only noticed the problem few days ago. i switched to unity 5.1.2p1 and the problem is still there.
Crash IL2CPP unity 5.1.1 32 bits
OK. Thanks SuperZ for clarifying this;
so, to summarize:
Unity 5.1.1 f1 seems to work in all cases, while the issues are seen starting with 5.1.1 patch p1 and above (up to and including 5.1.2f1 and 5.1.2p1)
Thanks,
Crash IL2CPP unity 5.1.1 32 bits
SuperZ, or anyone in this thread,
have you tried the following:
Crash IL2CPP unity 5.1.1 32 bits
AlessandroB, i can't try with my iPad because it's a 64bits device, but i made a distribution ipa file for a friend to test, and he used it on his iPhone4S, and the problem is still there. So the debug xcode link with the iPad seems to have no impact on this.
Crash IL2CPP unity 5.1.1 32 bits
Thanks SuperZ.
We did reproduce the same issue on 5.1.1 patches (p1+), on 32bit iPad 2.
We will follow up with Unity and post any updates.
In the meantime, you can keep using Unity 5.1.1 f1, which does not exhibit the issue. Thank you.
Crash IL2CPP unity 5.1.1 32 bits
Quick update:
Crash IL2CPP unity 5.1.1 32 bits
@AlessandroB
I already tried to launch the App with the iPad 2 being disconnected. I always do, because sometimes Xcode makes it crash. But this time it didn't help.
Crash IL2CPP unity 5.1.1 32 bits
Thanks Semrau, that's helpful information.
This is not exactly what we've observed in the first place (for us using Mono2x did not make a difference), but we'll have another round on this, based on your findings you just shared.
Crash IL2CPP unity 5.1.1 32 bits
Hi all! This issue was solved here:
https://developer.vuforia.com/forum/vuforia-40/vuforia-423-unity-465p4-il2cpp-32bit-crash
Ale.
Crash IL2CPP unity 5.1.1 32 bits
i tried with the the fast fix setting but it crach with the 64bits iOS devices when i'm connected with xcode. i'll will try with 32bits iOS devices outside the Xcode link to see if it works
Crash IL2CPP unity 5.1.1 32 bits
Ok so the fast setting is not working for me. my app crash on an iPad Air2 with and without Xcode connected to it.
Crash IL2CPP unity 5.1.1 32 bits
You may be interested in trying the new SDK 5.0 just released: