Search Unity

ARSession fails compilation for simulator.

Discussion in 'AR' started by User340, Sep 28, 2018.

  1. User340

    User340

    Joined:
    Feb 28, 2007
    Posts:
    3,001
    The simulator is particularly useful for testing apps out on the new iPhone XS/XS Plus without getting ahold of a physical device. I'm getting 5 compilation errors in Xcode when attempting to build to Simulator. Any chance this could get fixed? @jimmya

    Code (CSharp):
    1. Unknown type name 'CVMetalTextureCacheRef'; did you mean 'CVOpenGLESTextureCacheRef'?
    2. Unknown type name 'CVMetalTextureRef'
    3. Unknown type name 'CVMetalTextureRef'
    Note: I don't expect ARKit to run in the simulator. But I still want to test other aspects of my app in the simulator.
     
    Last edited: Sep 28, 2018
  2. todds_unity

    todds_unity

    Joined:
    Aug 1, 2018
    Posts:
    324
    Hi @_Daniel_

    The simulator does not support the camera which is required for ARKit.
    https://forums.developer.apple.com/thread/92311

    Todd
     
  3. User340

    User340

    Joined:
    Feb 28, 2007
    Posts:
    3,001
    I don't expect ARKit to run in the simulator. But I still want to test other aspects of my app in the simulator.
     
  4. User340

    User340

    Joined:
    Feb 28, 2007
    Posts:
    3,001
    To clarify, I don't want the ARKit plugin to do anything in the Simulator. Just I don't want it to block the rest of my app from running in the Simulator.
     
    Last edited: Sep 30, 2018
  5. User340

    User340

    Joined:
    Feb 28, 2007
    Posts:
    3,001
    Any workarounds available? Who can I contact to get help?