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

dll works on editor but not on android builds

Discussion in 'Android' started by tonymedd01, Aug 1, 2019.

  1. tonymedd01

    tonymedd01

    Joined:
    Feb 7, 2018
    Posts:
    19
    Hello , i am using Voice changer filter ( https://assetstore.unity.com/packages/tools/audio/voice-changer-filter-54963 ) and Oculus Lipsync unity integration 1.39.0 (https://developer.oculus.com/downloads/package/oculus-lipsync-unity/) in my project , however the game work perfect in editor but when build it , i got no errors in console , all game scripts works fine only these two assets who use dll files not working , I am using Unity 2018.1.5f1 , android-ndk-r13b
    player settings :
    Scripting Runtime version .NET 4.x Equivalent
    Scripting Backend : IL2CPP
    API Comparability level .NET 4.x ,
    Target Architectures : ARMv7,ARM64 (Exp), x86
    Allow 'unsafe' code selected .
    Can anyone help me please ?4
    Build Tested with Bluestacks 4.1 , OpenGL graphics mode .
     

    Attached Files:

  2. tonymedd01

    tonymedd01

    Joined:
    Feb 7, 2018
    Posts:
    19
    After searching in log , i found some errors :
    -
    (Filename: ./Runtime/Export/Debug.bindings.h Line: 43)
    08-02 00:05:07.590: D/Unity(6408): Unable to load library '/data/app/com.TonyGame.Test-1/lib/x86/libOVRLipSync.so', native render plugin support disabled: java.lang.UnsatisfiedLinkError: dlopen failed: "/data/app/com.TonyGame.Test-1/lib/x86/libOVRLipSync.so" has unexpected e_machine: 40
    08-02 00:05:07.591: E/Unity(6408): Unable to find OVRLipSync
    08-02 00:05:07.611: E/Unity(6408): DllNotFoundException: Unable to load DLL 'OVRLipSync': The specified module could not be found.
    08-02 00:05:07.611: E/Unity(6408): at OVRLipSync.ovrLipSyncDll_Initialize (System.Int32 samplerate, System.Int32 buffersize) [0x00000] in <00000000000000000000000000000000>:0
    08-02 00:05:07.611: E/Unity(6408): at OVRLipSync.Initialize () [0x00000] in <00000000000000000000000000000000>:0
    08-02 00:05:07.611: E/Unity(6408): at OVRLipSync.CreateContext (System.UInt32& context, OVRLipSync+ContextProviders provider, System.Int32 sampleRate, System.Boolean enableAcceleration) [0x00000] in <00000000000000000000000000000000>:0
    08-02 00:05:07.611: E/Unity(6408): at OVRLipSyncContextBase.Awake () [0x00000] in <00000000000000000000000000000000>:0
    08-02 00:05:07.611: E/Unity(6408):
    08-02 00:05:07.611: E/Unity(6408): (Filename: currently not available on il2cpp Line: -1)
    And for voice changer filter plugin :
    Unable to lookup library path for 'world_dll', native render plugin support disabled.
    08-02 00:05:08.296: E/Unity(6408): Unable to find world_dll
     

    Attached Files:

    • log.txt
      File size:
      126.6 KB
      Views:
      649
  3. aleksandrk

    aleksandrk

    Unity Technologies

    Joined:
    Jul 3, 2017
    Posts:
    2,983
    Hi!
    Emulators are not officially supported by Unity.
     
  4. tonymedd01

    tonymedd01

    Joined:
    Feb 7, 2018
    Posts:
    19
    Hello , it seems that the dll plugin does not support ARMv7 and ARM64 , because after upgrading unity to 2019.3.0a11 , the oculus lipsync plugin works (support both target architectures) , but the voice changer plugin (world_dll) still not working , any one knows how to recompile dll plugin ? its free c++ library https://github.com/yukara-ikemiya/world-class