Log in or register to post comments

Vuforia6.2.10 iOS Crash by Metal

November 3, 2017 - 3:55am #1

Nice to meet you.



We added AR to the project that is being developed under Unity 5.4.5 and introduced Vuforia 6.2.10.

But on iOS

  UnityGfxDeviceWorker EXC_BAD_ACCESS

.

By referring to articles from other forums, removing Metal can certainly be executed.

Strangely, in the case of a simple sample project using Vuforia, even using Metal it is running on iOS.

Is there a way to make it run on iOS successfully with Metal enabled?

I always appreciate it.

 

https://developer.vuforia.com/sites/default/files/ss_crash.png

AttachmentSize
Image icon ss_crash.png126.14 KB

Vuforia6.2.10 iOS Crash by Metal

July 30, 2018 - 6:16am #9

Hi Strasza,

I'm also currently experiencing the same crash using Unity 2017.2 with it's built-in Vuforia.

Testing on iPhone 6s with iOS 11.0 and XCode 9.2. Problem occurs only on Metal (OpenGL ES 2 or 3 works fine).

I tried using the exact same settings on your screenshot but it still occurs.

 

Any further advise? Thank you in advance.

Vuforia6.2.10 iOS Crash by Metal

November 15, 2017 - 11:38am #8

Which device and version of Unity is this log from? What are your settings in Player Settings -> Other Settings -> Rendering?

I've attached a screenshot of my settings in Unity 2017.2 that have deployed successfully to an iPhone 6s with iOS 11 using Metal.

Thanks,

-Vuforia Support


AttachmentSize
Image icon Metal support.png157.19 KB

Vuforia6.2.10 iOS Crash by Metal

November 15, 2017 - 5:55am #7

Thank you as always.

Attach the execution log on Xcode of the project built with Unity + iOS + Metal.

Apparently, OpenGL ES 2 seems to be selected for initialization of Vuforia.

It seems to be that VuforiaRenderer.Instance.GetRendererAPI() is misunderstood,

It was still insufficient to change the result of GetRendererAPI to 2 in iOSUnityPlayer.cs as a test.

Is there a way to solve this?

Thank you.

AttachmentSize
Plain text icon ios_metal_log.txt17.55 KB

Vuforia6.2.10 iOS Crash by Metal

November 9, 2017 - 9:15am #6

Vuforia 6.5 is available natively within Unity 2017.2.

Thanks,

-Vuforia Support

Vuforia6.2.10 iOS Crash by Metal

November 8, 2017 - 6:31pm #5

Hello.

It may be caused by iOS 11 not being officially supported.

Is it impossible to provide Vuforia 6.5 of Unity package type?

If it seems to be difficult, seek to use Android / iOS native SDK (vuforia-sdk-android-6-5-25.zip, vuforia-sdk-ios-6-5-25.zip) from Unity I would like to try it.

Thank you very much.

Vuforia6.2.10 iOS Crash by Metal

November 8, 2017 - 11:31am #4

I was able to build to the iPad Mini 3 on iOS 10 with Metal support and render the augmentation on an Image Target (I don't have the exact same version as you however). Would you be able to take a screenshot of your rendering settings on iOS within Unity so I can verify that we have the same setup?

Unfortunately, iOS 11 isn't officially supported on Vuforia 6.2.10 and as a result may encounter issues. Vuforia 6.5, which is part of Unity 2017.2, has support for iOS 11.

Thanks,

-Vuforia Support

Vuforia6.2.10 iOS Crash by Metal

November 4, 2017 - 8:26pm #3

Thank you for your reply.

I am testing in these two environments.

· IPhone 6S & iOS 11.0

· IPad mini 3 & iOS 10.3.2

In both cases,

   UnityGfxDeviceWorker (15): EXC_BAD_ACCESS (code = 1, address = 0x1)

It stops at, but when I build with removing Metal it works.

Thank you.

Vuforia6.2.10 iOS Crash by Metal

November 3, 2017 - 10:38am #2

Hello Takishita,

What device and version of iOS are you using for this?

Thanks,

-Vuforia Support


Log in or register to post comments