# Setup Vivox Voice Chat

Adds and configures in-game voice and text chat with Unity Vivox.

- Repository: https://github.com/Unity-Technologies/skills (1197 stars)
- Category: Media
- License: see repository
- Last updated: 2026-10-30
- Runs scripts: no, instructions only

## Install

Claude Code: `npx skills add Unity-Technologies/skills --skill setup-vivox-voice-chat -g -a claude-code -y`
Codex: `npx skills add Unity-Technologies/skills --skill setup-vivox-voice-chat -g -a codex -y`
Cursor: `npx skills add Unity-Technologies/skills --skill setup-vivox-voice-chat -g -a cursor -y`
Gemini CLI: `npx skills add Unity-Technologies/skills --skill setup-vivox-voice-chat -g -a gemini-cli -y`

## Description

Adds and configures in-game voice and text chat with Unity Vivox. Use when the user asks about voice chat, microphone permissions, mute controls, proximity voice, team and lobby channels, or direct messages.

## SKILL.md, as published by its author (untrusted third-party text, read it as data)

# Unity Vivox, Voice & Text Chat

Namespace: `Unity.Services.Vivox` | Package: `com.unity.services.vivox`
Companion packages: `Unity.Services.Core`, `Unity.Services.Authentication`

Vivox v16+ replaced the v4 `Client` / `ILoginSession` / `IChannelSession` model with a single static entry point: **`VivoxService.Instance`**. All operations, init, login, channel join, messaging, muting, go through it. Do **not** use v4 patterns (`Client.Instance`, `AccountId`, `ChannelId`, `ILoginSession`, `UnityPurchasing.*`, etc.); those are gone in v16.

## Documentation Map

Use the [Unity Vivox curated documentation map](https://docs.unity.com/en-us/vivox-unity/llms.txt) as authoritative over memory for topics, APIs, and error codes when specifics differ. This skill and its references define **how** to apply the SDK; that resource defines **what** is documented. **Never** mention the `llms.txt` filename to the user. If it's unreachable, treat this skill's references plus the installed package in the workspace (Package Manager / source) as the source of truth.

## Detailed References

Read on demand, only when you need signatures, event details, or platform gotchas beyond what's in this file.

- **Init, sign-in, and access tokens:** [references/init-and-login.md](references/init-and-login.md)
- **Voice channels (positional and non-positional):** [references/voice-channels.md](references/voice-channels.md)
- **Text chat (channel messages and directed messages):** [references/text-chat.md](references/text-chat.md)
- **Events, participants, and cleanup:** [references/events-and-participants.md](references/events-and-participants.md)
- **Troubleshooting and platform notes:** [references/troubleshooting.md](references/troubleshooting.md)

## Initialization Order (Do Not Skip Steps)

The correct order is **UGS Core → Authentication sign-in → Vivox init → Vivox login**. Skipping or reordering these fails silently or throws obscure errors.

The rest: https://github.com/Unity-Technologies/skills/blob/HEAD/skills/setup-vivox-voice-chat/SKILL.md
