Search Unity

  1. Unity 2019.2 is now released.
    Dismiss Notice

[ARCore] InstantPreview: DllNotFoundException

Discussion in 'AR' started by tauling, Feb 13, 2019.

  1. tauling

    tauling

    Joined:
    Dec 2, 2018
    Posts:
    1
    Hello,

    I'm tyring to use ARCore (1.6.0) InstantPreview with a Google Pixel. Whenever i try to start the HelloAR scene I get the following warning.

    Code (csharp):
    1. Plugins: Failed to load 'Assets/GoogleARCore/SDK/InstantPreview/Plugins/x86_64/arcore_instant_preview_unity_plugin.dll' with error 'The specified module could not be found.
    2. DllNotFoundException: arcore_instant_preview_unity_plugin
    The requested dll is present in the directory. Any idea what I am doing wrong? The InstantPreview app is already installed on my phone, since i used InstantPreview in the past.

    Best regards
     
  2. hofcsaba

    hofcsaba

    Joined:
    Jul 17, 2013
    Posts:
    5
    Same for me, on git they marked it fixed in 1.6, but on 1.7 I still have the same issue
     
  3. param_appm

    param_appm

    Joined:
    Jun 14, 2017
    Posts:
    34
    Do you still facing issue, Do you need any help with ARCore ?
     
  4. mlea_unity

    mlea_unity

    Joined:
    Oct 1, 2018
    Posts:
    5
    I just ran into this same thing trying to run in preview mode Ubuntu 18.04


    Code (CSharp):
    1. DllNotFoundException: arcore_instant_preview_unity_plugin
    2. GoogleARCoreInternal.ARPrestoCallbackManager._Initialize () (at Assets/GoogleARCore/SDK/Scripts/Managers/ARPrestoCallbackManager.cs:193)
    3. GoogleARCoreInternal.ARPrestoCallbackManager.get_Instance () (at Assets/GoogleARCore/SDK/Scripts/Managers/ARPrestoCallbackManager.cs:91)
    4. GoogleARCoreInternal.ARCoreAndroidLifecycleManager.get_Instance () (at Assets/GoogleARCore/SDK/Scripts/Managers/ARCoreAndroidLifecycleManager.cs:82)
    5. GoogleARCoreInternal.LifecycleManager.get_Instance () (at Assets/GoogleARCore/SDK/Scripts/Managers/LifecycleManager.cs:43)
    6. GoogleARCore.ARCoreBackgroundRenderer.OnEnable () (at Assets/GoogleARCore/SDK/Scripts/ARCoreBackgroundRenderer.cs:80)
    7.