Topic locked

Unity 5.1.1p2 + Vuforia 4.2 + iOS = EXC_BAD_ACCESS

July 22, 2015 - 11:26am #1

Vuforia SDK Version: 4.2.3 -
Description with steps to reproduce:

Create a new project.

Clean the scene.

Add the ARCamera.

Add an Image Tracker.

Set up the image tracker.

Release to iPad 2.

 

This issue happens on iPad 2 for me but not on iPad air.

The iOS serios does not seem to matter.

Here is a sample project that will reproduce this error.

 

https://www.dropbox.com/s/k8bhek62awc4979/Tester.zip?dl=0

-
Development OS (Mac OS X, Windows, Linux): OS X -
Mobile OS and Version: iOS 8, 7.4 -
Mobile Device Manufacturer and Model name: Apple iPad 2 -
Do the Vuforia Sample Applications show the same behavior?:

Unity 5.1.1p2 + Vuforia 4.2 + iOS = EXC_BAD_ACCESS

July 23, 2015 - 2:24pm #7

Update:

we reproduce the issue on iPad 2 with 32bit CPU.  In our tests we noticed that, after the initial crash, if you disconnect the device from Xcode and launch the App directly from the device, the crash does not occur.

Please follow up on the following thread, where a few developers have reported the same issue:

https://developer.vuforia.com/forum/issues-and-bugs/crash-il2cpp-unity-511-32-bits

 

Unity 5.1.1p2 + Vuforia 4.2 + iOS = EXC_BAD_ACCESS

July 23, 2015 - 12:26pm #6

Thanks Gamar,

this is useful information. One last small question:

once your App is installed (by Xcode) on your iPad (with 5.1.2 or 5.1.1patch p1/2/3), what happens if you simply shutdown Xcode, and you run the App directly from your iPad (i.e. touching the App icon on your iPad screen) ? do you still see it crashing ?

 

Unity 5.1.1p2 + Vuforia 4.2 + iOS = EXC_BAD_ACCESS

July 23, 2015 - 10:25am #5

So it works with Unity 5.1.1 f1 but this problem appears in 

- Unity 5.1.1 p2

- Unity 5.1.2 f1

- Unity 5.1.2 p1

 

I have managed to reproduce this with vuforia samples also.

 

Unity 5.1.1p2 + Vuforia 4.2 + iOS = EXC_BAD_ACCESS

July 23, 2015 - 9:12am #4

Do you see the same issue in:

- Unity 5.1.1 p4 

- Unity 5.1.1 f1

What Xcode version are you using ?

Unity 5.1.1p2 + Vuforia 4.2 + iOS = EXC_BAD_ACCESS

July 23, 2015 - 8:53am #3

I had already did those before submitting the bug.

Unity 5.1.1p2 + Vuforia 4.2 + iOS = EXC_BAD_ACCESS

July 22, 2015 - 1:15pm #2

A few tips:

in Player Settings iOS:

- disable the "Automatic Graphics API"

- remove OpenGL ES 3.0 and Metal from the list of Graphics APIs; this should only include OpenGL ES 2.0

- set Architecture to Universal

Also, you may want to try upgrading to Unity 5.1.1 p4 

 

Topic locked