Search Unity

  1. Improved Prefab workflow (includes Nested Prefabs!), 2D isometric Tilemap and more! Get the 2018.3 Beta now.
    Dismiss Notice
  2. The Unity Pro & Visual Studio Professional Bundle gives you the tools you need to develop faster & collaborate more efficiently. Learn more.
    Dismiss Notice
  3. Let us know a bit about your interests, and if you'd like to become more directly involved. Take our survey!
    Dismiss Notice
  4. Improve your Unity skills with a certified instructor in a private, interactive classroom. Watch the overview now.
    Dismiss Notice
  5. Want to see the most recent patch releases? Take a peek at the patch release page.
    Dismiss Notice

ARCore 1.2 with ARKit for iOS crashes Editor

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

  1. dustin_red

    dustin_red

    Joined:
    Feb 7, 2018
    Posts:
    35
    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:
    77
  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.