I’m having an error when trying to initialize Vivox on my app on the Universal Windows Platform. I don’t have this issue on the editor or on android / pc builds.
The error occurs when the vivox initialization function is called:
await VivoxService.Instance.InitializeAsync()
It used to work before. I updated the Vivox package a few times, so it could have broken after one of those updates, but I’m not sure at what point it stopped working
Here are the logs:
System.DllNotFoundException: Unable to load DLL 'VivoxNative'. Tried the load the following dynamic libraries: Unable to load dynamic library 'VivoxNative' because of 'Failed to open the requested dynamic library (0x06000000) - No se puede encontrar el módulo especificado. (WinError:0000007e)
at Unity.Services.Vivox.VivoxCoreInstancePINVOKE+SWIGExceptionHelper..cctor () [0x00000] in <00000000000000000000000000000000>:0
at Unity.Services.Vivox.VivoxCoreInstancePINVOKE..cctor () [0x00000] in <00000000000000000000000000000000>:0
at Unity.Services.Vivox.Client.get_Initialized () [0x00000] in <00000000000000000000000000000000>:0
at Unity.Services.Vivox.Client.InitializeAsync (Unity.Services.Vivox.VivoxConfigurationOptions config) [0x00000] in <00000000000000000000000000000000>:0
at System.Runtime.CompilerServices.AsyncTaskMethodBuilder.Start[TStateMachine] (TStateMachine& stateMachine) [0x00000] in <00000000000000000000000000000000>:0
at Unity.Services.Vivox.Client.InitializeAsync (Unity.Services.Vivox.VivoxConfigurationOptions config) [0x00000] in <00000000000000000000000000000000>:0
at Unity.Services.Vivox.VivoxServiceInternal.InitializeAsync (Unity.Services.Vivox.VivoxConfigurationOptions options) [0x00000] in <00000000000000000000000000000000>:0
at System.Runtime.CompilerServices.AsyncTaskMethodBuilder.Start[TStateMachine] (TStateMachine& stateMachine) [0x00000] in <00000000000000000000000000000000>:0
at Unity.Services.Vivox.VivoxServiceInternal.InitializeAsync (Unity.Services.Vivox.VivoxConfigurationOptions options) [0x00000] in <00000000000000000000000000000000>:0
at VivoxManager.LoginToVivoxAsync (System.String userName) [0x00000] in <00000000000000000000000000000000>:0
at System.Threading.ExecutionContext.RunInternal (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00000] in <00000000000000000000000000000000>:0
at System.Runtime.CompilerServices.AsyncMethodBuilderCore+MoveNextRunner.Run () [0x00000] in <00000000000000000000000000000000>:0
at UnityEngine.UnitySynchronizationContext+WorkRequest.Invoke () [0x00000] in <00000000000000000000000000000000>:0
at UnityEngine.UnitySynchronizationContext.Exec () [0x00000] in <00000000000000000000000000000000>:0
--- End of inner exception stack trace ---
at Unity.Services.Vivox.VivoxCoreInstancePINVOKE..cctor () [0x00000] in <00000000000000000000000000000000>:0
at Unity.Services.Vivox.Client.get_Initialized () [0x00000] in <00000000000000000000000000000000>:0
at Unity.Services.Vivox.Client.InitializeAsync (Unity.Services.Vivox.VivoxConfigurationOptions config) [0x00000] in <00000000000000000000000000000000>:0
at System.Runtime.CompilerServices.AsyncTaskMethodBuilder.Start[TStateMachine] (TStateMachine& stateMachine) [0x00000] in <00000000000000000000000000000000>:0
at Unity.Services.Vivox.Client.InitializeAsync (Unity.Services.Vivox.VivoxConfigurationOptions config) [0x00000] in <00000000000000000000000000000000>:0
at Unity.Services.Vivox.VivoxServiceInternal.InitializeAsync (Unity.Services.Vivox.VivoxConfigurationOptions options) [0x00000] in <00000000000000000000000000000000>:0
at System.Runtime.CompilerServices.AsyncTaskMethodBuilder.Start[TStateMachine] (TStateMachine& stateMachine) [0x00000] in <00000000000000000000000000000000>:0
at Unity.Services.Vivox.VivoxServiceInternal.InitializeAsync (Unity.Services.Vivox.VivoxConfigurationOptions options) [0x00000] in <00000000000000000000000000000000>:0
at VivoxManager.LoginToVivoxAsync (System.String userName) [0x00000] in <00000000000000000000000000000000>:0
at System.Threading.ExecutionContext.RunInternal (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00000] in <00000000000000000000000000000000>:0
at System.Runtime.CompilerServices.AsyncMethodBuilderCore+MoveNextRunner.Run () [0x00000] in <00000000000000000000000000000000>:0
at UnityEngine.UnitySynchronizationContext+WorkRequest.Invoke () [0x00000] in <00000000000000000000000000000000>:0
at UnityEngine.UnitySynchronizationContext.Exec () [0x00000] in <00000000000000000000000000000000>:0
--- End of inner exception stack trace ---
at Unity.Services.Vivox.Client.get_Initialized () [0x00000] in <00000000000000000000000000000000>:0
at Unity.Services.Vivox.Client.InitializeAsync (Unity.Services.Vivox.VivoxConfigurationOptions config) [0x00000] in <00000000000000000000000000000000>:0
at System.Runtime.CompilerServices.AsyncTaskMethodBuilder.Start[TStateMachine] (TStateMachine& stateMachine) [0x00000] in <00000000000000000000000000000000>:0
at Unity.Services.Vivox.Client.InitializeAsync (Unity.Services.Vivox.VivoxConfigurationOptions config) [0x00000] in <00000000000000000000000000000000>:0
at Unity.Services.Vivox.VivoxServiceInternal.InitializeAsync (Unity.Services.Vivox.VivoxConfigurationOptions options) [0x00000] in <00000000000000000000000000000000>:0
at System.Runtime.CompilerServices.AsyncTaskMethodBuilder.Start[TStateMachine] (TStateMachine& stateMachine) [0x00000] in <00000000000000000000000000000000>:0
at Unity.Services.Vivox.VivoxServiceInternal.InitializeAsync (Unity.Services.Vivox.VivoxConfigurationOptions options) [0x00000] in <00000000000000000000000000000000>:0
at VivoxManager.LoginToVivoxAsync (System.String userName) [0x00000] in <00000000000000000000000000000000>:0
at System.Threading.ExecutionContext.RunInternal (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00000] in <00000000000000000000000000000000>:0
at System.Runtime.CompilerServices.AsyncMethodBuilderCore+MoveNextRunner.Run () [0x00000] in <00000000000000000000000000000000>:0
at UnityEngine.UnitySynchronizationContext+WorkRequest.Invoke () [0x00000] in <00000000000000000000000000000000>:0
at UnityEngine.UnitySynchronizationContext.Exec () [0x00000] in <00000000000000000000000000000000>:0