This article explains that certain Vivox initialization errors on Xbox and PlayStation are caused by mismatched Vivox libraries and platform SDK versions. To resolve, you must use Vivox libraries built for your console's specific SDK version. The article provides guidance for Unity, Core, and Unreal users on how to obtain or replace the correct Vivox library files.
Symptoms:
- I am receiving the VivoxCore Error:
hResult=-1994129150in my log when launching my Xbox GDK app. - I am building for the Xbox or PlayStation platform and the Vivox library is failing to initialize at runtime.
Cause:
- hResult codes
-1994129150and0x89240102correspond to GDK errorE_GAMERUNTIME_VERSION_MISMATCH. You need to use a different Vivox library DLL, one built with the matching GDK version your project is built with. - DLL mismatches can also occur on the PlayStation 4 and PlayStation 5 platforms. If a Vivox error occurs before or during initialization on one of these platforms, you might need to download a different Vivox library.
Resolution:
-
Vivox Unity
- Alternate console platform SDKs for Vivox Unity are not readily available for download. Contact Support or reach out to your Vivox account manager with your platform and version requirements.
-
Vivox Core (Custom Engines)
- From the Unity Cloud Dashboard where you originally downloaded the Vivox Core SDK, find the desired platform and click
See all versionsto select and download an alternate SDK package. For console platforms like Xbox and PlayStation, each Vivox release version will typically have more than one package available to download, each built with a different console SDK.- Using Xbox as an example,
5.25.4.240600is Vivox version5.24.4built for the June 2024 GDK (Update 0), and5.25.4.231004is Vivox version5.24.4built for the October 2023 GDK (Update 4).
- Using Xbox as an example,
- From the Unity Cloud Dashboard where you originally downloaded the Vivox Core SDK, find the desired platform and click
-
Vivox Unreal
- Start by following the steps for Vivox Core above to download the Vivox Core kit matching the Vivox Unreal plugin version you're using, and the console SDK version you need.
- Using the Core SDK zip for
5.25.4as an example, you'll find all the files you need in the foldervivox-sdk-5.25.4.33805.68548b92\SDK, which contains sub-foldersinclude,Libraries\DebugandLibraries\Release. In the Unreal plugin source, these each replace theinclude,Debug, andReleasefolders found inVivoxCore\Source\ThirdParty\VivoxCoreLibrary\<YOUR-PLATFORM>. - Simply replace the contents of these three folders with the ones from the Core zip to swap in the libraries and headers which match your console SDK.