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. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice

Bug Vivox android build initialize error

Discussion in 'Vivox (Voice & Text Chat)' started by MajerGames, Jul 12, 2023.

  1. MajerGames

    MajerGames

    Joined:
    Aug 8, 2017
    Posts:
    5
    Hello,
    I get the following error when I run a build of the Vivox sample scene on a android device (Samsung Note 10 plus). In editor it works fine.

    E/Unity: [ServicesCore]: An error occured while trying to get the project configuration for services.
    Couldn't fetch config file.
    URL: jar:file:///data/app/~~RdNnqauB3BrqnyEpGZNBhg==/com.majergames.warkind-tPiUMrs3qE7w9hcqz0m1oQ==/base.apk!/assets/UnityServicesProjectConfiguration.json
    Reason: HTTP/1.1 404 Not Found
    at Unity.Services.Core.Configuration.StreamingAssetsConfigurationLoader.GetConfigAsync () [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 System.Threading.Tasks.AwaitTaskContinuation.RunCallback (System.Threading.ContextCallback callback, System.Object state, System.Threading.Tasks.Task& currentTask) [0x00000] in <0000


    E/Unity: [Vivox]: Unable to initialize Vivox.
    Please ensure that a project is properly linked at "Edit > Project Settings > Services > Vivox" if you intend to use Unity Game Services.
    If you would like to use custom credentials, you can set them by creating an InitializationOptions instance, calling SetVivoxCredentials(...) on it while providing your credentials, and passing the object into UnityServices.InitializeAsync(...)
    #0 0x79e2bbd438 (libunity.so) GetStacktrace(int) 0x44
    #1 0x79e322686c (libunity.so) DebugStringToFile(DebugStringToFileData const&) 0x234
    #2 0x79e272e700 (libunity.so) DebugLogHandler::Internal_Log(LogType, LogOption, core::basic_string<char, core::StringStorageDefault<char> >, Object*) 0x9c
    #3 0x79e272e5ec (libunity.so) DebugLogHandler_CUSTOM_Internal_Log(LogType, LogOption, ScriptingBackendNativeStringPtrOpaque*, ScriptingBackendNativeObjectPtrOpaque*) 0x15c
    #4 0x79ce54bd24 (libil2cpp.so) ? 0x0
    #5 0x79ce4d97e8 (libil2cpp.so) ? 0x0
    #6 0x79ccf82230 (libil2cpp.so) ? 0x0
    #7 0x79ce4d9598 (

    E/Unity: ArgumentException: 'server' is null or empty
    Parameter name: server
    at Unity.Services.Vivox.VivoxServiceInternal.SetCredentials (System.String server, System.String domain, System.String issuer, System.String token, System.Boolean customEnvironment, System.Boolean isTestMode) [0x00000] in <00000000000000000000000000000000>:0
    at Unity.Services.Vivox.VivoxPackageInitializer.Initialize (Unity.Services.Core.Internal.CoreRegistry registry) [0x00000] in <00000000000000000000000000000000>:0
    at Unity.Services.Core.Internal.CoreRegistryInitializer+<>c__DisplayClass3_0.<InitializeRegistryAsync>g__TryInitializePackageAsync|0 (Unity.Services.Core.Internal.IInitializablePackage package) [0x00000] in <00000000000000000000000000000000>:0
    at System.Runtime.CompilerServices.AsyncTaskMethodBuilder.Start[TStateMachine] (TStateMachine& stateMachine) [0x00000] in <00000000000000000000000000000000>:0
    at Unity.Services.Core.Internal.CoreRegistryInitializer+<>c__DisplayClass3_0.<InitializeRegistryAsync>g__TryInitializ

    Editor: 2022.3.4f1
    Vivox: 15.1.200000-pre.1
    Platform: Android

    Errors:
     
  2. latyshev_unity

    latyshev_unity

    Joined:
    Dec 22, 2021
    Posts:
    1
    Same issue