Documentation

​
​

Development

User Acquisition

Monetization

Industry

Vivox Unity SDK

Vivox Unity SDK

Vivox
​
​
Vivox Unity SDK
  • Overview
  • Get started
  • Release notes
  • Developer guide
    • Set up your project
      • Integration with the Vivox Unity SDK
      • Initialize the SDK
        • Sign in with the Authentication package
        • Sign in with Custom IDs
        • Using Vivox Access Tokens together with UAS
      • Sign in to a game
      • Sign out of a game
    • Create voice and text channels
    • Messaging
    • Player management
    • Device management
    • Audio management
    • Mobile development
    • Text-to-speech
    • Speech-to-text
    • Real-time recording
    • Server-side-recording
    • Troubleshooting
  • Tutorials
  • Reference
  1. Vivox Unity SDK documentation
  2. Vivox Unity Developer Guide

Sign in with the Authentication package

Sign players in to Vivox using the Unity Authentication Package.
Read time 1 minute
Last updated 8 months ago

Prerequisite: Configure the Unity Package Manager Vivox package.
The easiest way to manage Vivox sign-ins is with the Unity Authentication package.
To use the Authentication package, complete the following steps.
  1. Ensure that your project
    manifest.json
    file contains an entry for
    com.unity.services.authentication
    .
    For more information, refer to the Unity documentation on the Project manifest.
  2. Initialize
    UnityServices
    by implementing the following code snippet into a script that runs before using any Vivox functionality.
using System;using UnityEngine;using Unity.Services.Authentication;using Unity.Services.Core;using Unity.Services.Vivox;async void Start(){ await UnityServices.InitializeAsync(); await AuthenticationService.Instance.SignInAnonymouslyAsync(); await VivoxService.Instance.InitializeAsync();}
  1. Log in by using
    VivoxService.Instance.LoginAsync(LoginOptions options = null)
    .
  2. Join a channel by using either of the following code examples depending on the type of channel.
When joining a non-positional channel use:
VivoxService.Instance.JoinGroupChannelAsync( string channelName, ChatCapability chatCapability, ChannelOptions channelOptions = null);
When joining a positional channel use:
VivoxService.Instance.JoinPositionalChannelAsync( string channelName, ChatCapability chatCapability, Channel3DProperties positionalChannelProperties, ChannelOptions channelOptions = null);
When joining an echo channel use:
VivoxService.Instance.JoinEchoChannelAsync( string channelName, ChatCapability chatCapability, ChannelOptions channelOptions = null);

Copyright © 2026 Unity Technologies
LegalPrivacy PolicyCookiesDocumentation Terms of UseDo Not Sell or Share My Personal InformationYour Privacy Choices (Cookie Settings)

"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S and elsewhere (more info here). Other names or brands are trademarks of their respective owners.

Some pages are machine-translated for convenience, and may contain inaccuracies. In the event of conflicting information, the English version is authoritative.


    Report a problem with this page