By sina370
on Fri, 09/26/2014 - 10:53
periviusly I was using unity v4.5.2 and vuforia 3, i had no problem in order creating dataset at run time and load it at run time. and recently due to ios 8 i had to update unity and xcode, here is the problem start:
after build on iOS 8, at run time when need to create dataset at runtime the EXC_BAD_ACCESS will happen, exectly at this line DataSet dataSet = imageTracker.CreateDataSet();
here is the error (Filename: /Applications/buildAgent/work/d63dfc6385190b60/artifacts/iPhonePlayer-armv7Generated/UnityEngineDebug.cpp Line: 49)
is there any solution. thanks
Unity v4.5.4 and XCode6 EXC BAD ACCESS
Hi,
first you need to upgrade to Unity 4.5.3 or 4.5.4 if you are using Xcode 6 and iOS8 SDK (according to the Unity release notes, Unity supports Xcode 6 since 4.5.3)
Then, once you have upgraded to Unity 4.5.3 / 4.5.4, read this migration article:
Unity v4.5.4 and XCode6 EXC BAD ACCESS
hi ,
Unity v4.5.4 and XCode6 EXC BAD ACCESS
Have you checked the iOS8 and Xcode 6 migration guidelines here:
https://developer.vuforia.com/forum/ios/ios-8-xcode-6-and-vuforia-30-compatibility
in particular, check the camera access section, as iOS 8 introduces a new policy to handle camera access in an App.