Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

Question AR Core Extension doesn't work in IOS

Discussion in 'AR' started by zihasoo, Aug 25, 2022.

  1. zihasoo

    zihasoo

    Joined:
    Mar 25, 2022
    Posts:
    4
    I was testing an app using the Google Geospatial API.
    On Android, it worked perfectly. But when I turn on the "IOS Support Enabled" in Project Settings -> ARCore Extensions, and play it, I am getting the following error "EntryPointNotFoundException"

    full error message:

    EntryPointNotFoundException: ArSession_create
    Google.XR.ARCoreExtensions.Internal.IOSSupportManager.CreateARCoreSession () (at Library/PackageCache/com.google.ar.core.arfoundation.extensions@39599ae423/Runtime/Scripts/Internal/IOSSupportManager.cs:165)
    Google.XR.ARCoreExtensions.Internal.IOSSupportManager.get_Instance () (at Library/PackageCache/com.google.ar.core.arfoundation.extensions@39599ae423/Runtime/Scripts/Internal/IOSSupportManager.cs:67)
    Google.XR.ARCoreExtensions.ARCoreExtensions.OnEnable () (at Library/PackageCache/com.google.ar.core.arfoundation.extensions@39599ae423/Runtime/Scripts/ARCoreExtensions.cs:172)
    UnityEngine.GameObject:SetActive(Boolean)
    Google.XR.ARCoreExtensions.Samples.Geospatial.GeospatialController:SwitchToARView(Boolean) (at Assets/Samples/ARCore Extensions/1.33.0/Geospatial Sample/Scripts/GeospatialController.cs:654)
    Google.XR.ARCoreExtensions.Samples.Geospatial.GeospatialController:OnEnable() (at Assets/Samples/ARCore Extensions/1.33.0/Geospatial Sample/Scripts/GeospatialController.cs:323)

    The project is Google's Geospatial API Sample. 스크린샷 2022-08-25 오전 10.54.49.png
    development device: Mac pro
    target device: iPad Pro 12.9"
    development environment: Unity version 2020.3.32f1 & Jetbrains Rider
     

    Attached Files:

  2. tomicz

    tomicz

    Joined:
    Mar 16, 2015
    Posts:
    152
    Did you try to add ARCore library to your xcode project?
     
  3. zihasoo

    zihasoo

    Joined:
    Mar 25, 2022
    Posts:
    4
    No, is there anything else I need to do besides installing the package?
    Do you mean AR Core SDK??
     
  4. ankur-unity

    ankur-unity

    Unity Technologies

    Joined:
    Aug 12, 2021
    Posts:
    34
    Last edited: Aug 29, 2022
    andyb-unity likes this.
  5. zihasoo

    zihasoo

    Joined:
    Mar 25, 2022
    Posts:
    4
    I solved it! I didn't know how to install the AR Core SDK so I fixed something related to Cocoapods and it worked!
    To be precise, the "EntryPointNotFoundException" in the Unity Editor is still there, but it builds fine.
    I apologize for my poor English and thank everyone who helped.