Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Unity + ARCORE DllNotFoundException: arcore_unity_api

Discussion in 'AR' started by PMCT, Apr 20, 2019.

  1. PMCT

    PMCT

    Joined:
    Mar 18, 2019
    Posts:
    1
    I tried to export the project from Unity and then export it as a library from Android Studio but when I import that library into another project I get that error:

    Code (CSharp):
    1. E/Unity: Unable to find arpresto_api
    2. E/Unity: DllNotFoundException: arcore_unity_api
    3.         at (wrapper managed-to-native) GoogleARCoreInternal.ARPrestoCallbackManager+ExternApi.ArCoreUnity_setArPrestoInitialized(GoogleARCoreInternal.ARPrestoCallbackManager/EarlyUpdateCallback)
    4.       at GoogleARCoreInternal.ARPrestoCallbackManager._Initialize () [0x0002c] in /Users/petrosmaliotis/New Unity Project 4/Assets/GoogleARCore/SDK/Scripts/Managers/ARPrestoCallbackManager.cs:181
    5.       at GoogleARCoreInternal.ARPrestoCallbackManager.get_Instance () [0x00018] in /Users/petrosmaliotis/New Unity Project 4/Assets/GoogleARCore/SDK/Scripts/Managers/ARPrestoCallbackManager.cs:91
    6.       at GoogleARCoreInternal.ARCoreAndroidLifecycleManager.get_Instance () [0x00023] in /Users/petrosmaliotis/New Unity Project 4/Assets/GoogleARCore/SDK/Scripts/Managers/ARCoreAndroidLifecycleManager.cs:80
    7.       at GoogleARCoreInternal.LifecycleManager.get_Instance () [0x00029] in /Users/petrosmaliotis/New Unity Project 4/Assets/GoogleARCore/SDK/Scripts/Managers/LifecycleManager.cs:43
    8.       at GoogleARCore.ARCoreS

    I tried the solutions mentioned in stackoverflow https://stackoverflow.com/questions/50578439/unity-arcore-dllnotfoundexception-arcore-unity-api but again nothing seem to work.
     
  2. hansschaadev

    hansschaadev

    Joined:
    Dec 19, 2020
    Posts:
    1
    Hi, you found the solution? I have the same problem.
     
  3. TreyK-47

    TreyK-47

    Unity Technologies

    Joined:
    Oct 22, 2019
    Posts:
    1,816