docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    💡 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:

    1. In your Unity Editor Project, go to Windows > Package Manager.
    2. On the status bar, select the Add (+) button.
    3. From the Add menu, select Add + package by name.
      Name and Version fields appear.
    4. In the Name field, enter com.unity.cloud.presence.
    5. 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.

    Additional resources

    • Package Manager
    • Package states and lifecycle
    In This Article
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)