tencent cloud


SDK Integration (Unity)

Last updated: 2022-04-01 17:03:05

    This document describes how to quickly integrate the IM SDK for Unity to your projects. To configure and integrate the SDK, follow these steps.

    Method 1: UPM-Based Integration (Recommended)

    1. Find the manifest.json file:

    2. Modify it as follows:

      "com.tencent.imsdk.unity":"1.6.4" // Set to the latest version. To get all versions, visit https://www.npmjs.com/package/com.tencent.imsdk.unity.
      "registry": "https://registry.npmjs.org"
    1. Open the project in the Unity Editor, wait until dependencies are loaded, and confirm the Tencent Cloud IM is successfully loaded.

    2. Perform a test: Download the test script, decompress the file, import the decompressed file to the project, and bind TestApi.cs to any scenario.

    Method 2: Unity Package Integration

    1. Download Unity package.
    2. Select Assets > Import Package to add the downloaded Unity package to the project.
    Contact Us

    Contact our sales team or business advisors to help your business.

    Technical Support

    Open a ticket if you're looking for further assistance. Our Ticket is 7x24 avaliable.

    7x24 Phone Support