Search Unity

ARCore 1.2 with ARKit for iOS crashes Editor

Discussion in 'AR' started by dustin_red, May 11, 2018.

  1. dustin_red

    dustin_red

    Joined:
    Feb 7, 2018
    Posts:
    46
    With ARCore 1.2, you can now build for iOS with the Unity ARKit plugin.

    https://developers.google.com/ar/develop/unity/quickstart-ios

    The docs say that Instant Preview is supported in the OSX editor using Metal.

    Use Metal in OSX section:
    https://developers.google.com/ar/develop/unity/instant-preview

    However, the CloudAnchor test scene crashes Unity Editor when played on OSX. I was able to build the test scene and get it working on an iOS device. But, seems like a slow work flow to not be able to test in the Editor. I even tried disabling the instant preview, but that crashed the editor as well, and even made the Unity HUB think the project was still opened after it crashed. I had to full restart. The only way I've been able to test this in the Editor, is to change the build target to Android. This seems like a slow way to build an ARCore project for iOS.

    Unity 2018.1.0f2
    OSX 10.13.3
     
    Last edited: May 11, 2018
  2. dttngan91

    dttngan91

    Joined:
    Nov 21, 2013
    Posts:
    80
  3. tpsiaki_google

    tpsiaki_google

    Joined:
    Nov 18, 2016
    Posts:
    1
    We have a bug in the current release where play-in-editor only works when targeting Android (also Instant Preview in that case will work with Cloud Anchors, and other ARCore apis, if connected to an ARCore-supported Android device). We have a fix internally for this play-in-editor issue and it will be available in an upcoming release.