Log in or register to post comments

iOS 10 crash, metal

October 6, 2016 - 9:31am #1

Vuforia SDK Version: 6.0.114 -

Description with steps to reproduce: As iOS 10 adoption recently took over...I started getting lots of crash reports. Some crash reports also came from various iOS 9.x versions, but by far the majority was iOS 10.x

I got some iOS 10 devices and sure enough it crashes...a lot. Pretty much its 100%. But not right away. The app has a feature that requires the scene to be reloaded (see my other bug report about the mixed reality mode resetting the world center mode)....to be reloaded kind of often. After a few reloads...about 4 or 5...the app just exits. The scene is pretty dense...so...to me this felt very much like a memory issue. For days I chased potential memory issues.

Turns out...it's metal.

Unity 5.4.1, Vuforia 6.x (tried all of them), xcode 8, iOS 10.x (and probably some iOS 9 versions), metal on...the above crashing behavior 100% of the time. Metal off...no more crash.

Now...it could be that it still crashes...just the number of reloads was significantly raised by turning metal off...dunno. Anyway I figure this is more than enough for you guys to go on. -

Development OS (Mac OS X, Windows, Linux): unrelated -

Mobile OS and Version: ios 10.x -

Mobile Device Manufacturer and Model name: ios devices -

Do the Vuforia Sample Applications show the same behavior?: dunno

iOS 10 crash, metal

October 19, 2016 - 3:52am #4

iOS 10 crash, metal

October 6, 2016 - 11:03pm #3

I read about the work-arounds in that post. The privacy settings didn't apply because I already had those covered. So I assume you meant the metal part. I was excited because it seemed very related. And I found some discussion about the same thing on apple's dev center: https://forums.developer.apple.com/thread/14419

But...same behavior. 4-5 reloads...crash. I checked the log on the device. It's one of those EXC_BAD_ACCESS crashes. My gut feeling is that the crash is on Unity's side, but I don't really know how to properly read iOS logs...i attached it.

Package icon TestApp 10-7-16, 6-46 PM.zip16.78 KB

iOS 10 crash, metal

October 6, 2016 - 2:05pm #2

Try the workaround in this post:


Log in or register to post comments