💡 TIP! Automatically add the latest version of Unity Cloud Presence to the Unity Editor!
Installation
This section describes how to install Unity Cloud Presence in your Unity Editor Project. You can install the Presence package using the Unity Package Manager (UPM). Before you install the package, make sure you meet the prerequisites.
Install from the Unity Package Manager
To install the Unity Cloud Presence package, follow these steps:
- In your Unity Editor Project, go to Windows > Package Manager.
- On the status bar, select the Add (+) button.
- From the Add menu, select Add + package by name.
Name and Version fields appear. - In the Name field, enter
com.unity.cloud.presence
. - Select Add.
The Editor installs the latest available version of the package and any dependent packages.
(Optional) Install Vivox
You can install Vivox for text and voice chat support, using the same steps described above for installing Presence.
Only the dependency will be different, as shown in the following snippet. Make sure you don't add the lines starting with //
. They were added in the snippet to provide some explanation. Adding these lines will generate an error within Unity.
{
"dependencies": {
// This line should already be present (See section above)
"com.unity.cloud.presence": "<x.y.z>",
// Here's the line that you should add in your manifest.json
"com.unity.services.vivox": "16.0.0-pre.1",
// You can keep the other dependencies below
}
}
For more information about using Vivox, see the voice chat management page.
Note
Vivox may not be supported on some Mac platform.