Search Unity

  1. Read here for Unity's latest plans on OpenXR.
    Dismiss Notice

Building Without Metal

Discussion in 'AR' started by DreamEnder, Aug 8, 2018.

  1. DreamEnder

    DreamEnder

    Joined:
    Apr 12, 2011
    Posts:
    190
    I'm trying to build without Metal and I'm getting this linker error:

    Undefined symbols for architecture arm64:

    "_MTLCreateSystemDefaultDevice", referenced from:

    ARKitXRCameraProvider::SetupMetal() in UnityARKit.a(ARKitXRCameraProvider.o)

    ld: symbol(s) not found for architecture arm64

    clang: error: linker command failed with exit code 1 (use -v to see invocation)
     
  2. tdmowrer

    tdmowrer

    Unity Technologies

    Joined:
    Apr 21, 2017
    Posts:
    577
    The ARKit XR Plugin currently requires metal.

    Could you explain your use case for not using Metal a bit more?
     
  3. DreamEnder

    DreamEnder

    Joined:
    Apr 12, 2011
    Posts:
    190
unityunity