docs.unity3d.com
    Show / Hide Table of Contents

    Installation

    You can install the Presence package using the Unity Package Manager (UPM) or using the internal artifactory.
    Before you install the package, make sure you meet the prerequisites.

    Prerequisites

    To use the Presence package, you must have the following:

    • Unity version 2021.3 or later
    • A Unity account
    • A new or existing Unity project
    • A VPN to access Unity's internal artifactory

    Install the Unity Cloud Presence package from the Unity Package Manager

    Important: Unity Cloud SDKs are categorized as Experimental Packages. Before you can successfully install them from the Unity Package Manager, you must enable Experimental Packages from the Editor. See: Experimental packages

    To install the Unity Cloud Presence package, follow these steps:

    1. In your Unity 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 the name of the package you want to install.
      Example: com.unity.cloud.[packageName]
    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 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": "15.1.180001-pre.5",
          // You can keep the other dependencies below
        }
      }
    

    For more information about using Vivox, see the voice chat management page.

    Additional resources

    • Package Manager
    • Package states and lifecycle
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your 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.
    Generated by DocFX on 18 October 2023