Skip to content

HandDriver Unity UPM Package Usage Guide

All product guides

1. Updates

No. Date Content Remarks
1 2026/08/14 Added vibration-related features for Controller version 2.0.
2 2026/02/06 Updated some configurations to support 2021 & 2022 versions.
3 2026/02/03 Updated the plugin package format to make it more lightweight and fixed some errors.
4 2026/01/29 Updated JSON files, upgraded related plugins, and updated notes.
5 2025/12/03 HandDriver Demo. You can directly import it from the Package Manager and use the Sample scenes within the package.

2. How to Install the Unity Udexreal Development Plugin (Example: Version 2.2.3)

2.1. Important Notes Before Use

  • If your existing project uses the ".unitypackage" file, please continue to use the ".unitypackage" file for updates. When updating with ".unitypackage", please back up in advance! If you encounter any errors, please contact technical support.
  • For new projects, it is recommended to install via UPM.

2.2. Installation Method 1: Install via Package Manager

  • In Window -> Package Manager, click the "+" icon in the top-left corner -> "Add package from git URL..." - Enter: https://github.com/UDEXREAL-Org/UDXHDPluginUnity.git#release\_2.2.3 -> Click "Add"
  • After successful installation, as shown in the figure below:
  • Then, directly click Import in the Package Manager and use the Sample scenes within the package.

2.3. Installation Method 2: Install by Modifying the Manifest File

2.3.1. Open the manifest.json File

Open the manifest.json file of your Unity project. Its path is: Your Unity Project Directory\Packages\manifest.json.

2.3.2. Add Code

Add the following code anywhere within the dependencies section of manifest.json and save:

"com.udexreal.handdriver": "https://github.com/UDEXREAL-Org/UDXHDPluginUnity.git#release_2.2.3"

as shown below:

Please note that each line of code must be separated by a comma, and no comma is required for the last line.

2.3.3. Open the Unity Project

After completing the above steps, opening the Unity project will automatically download the UDEXREAL plugin package. You can view it in Window -> Package Manager and import it in Samples:

If you encounter an error about missing meta files as shown in the figure below, you can ignore it as it does not affect usage.

2.4. Important Notes

2.4.1. Vibration-related (IL2CPP)

  • Before building the APK, check Project Settings - Player - Other Settings - Managed Stripping Level and select "Minimal".
  • If your project requirements do not allow selecting "Minimal", create a "link.xml" file in the Asset folder with the following content:
<linker>
  <assembly fullname="Newtonsoft.Json">
    <type fullname="Newtonsoft.Json.*" preserve="all"/>
  </assembly>
</linker>

Relevant pre-configuration can be referred to here.

2.4.2. Project Configuration

  • File -> Build Settings... -> Player Settings -> Project Settings -> Player -> Other Settings -> Configuration -> Set API Compatibility Level* to .NET Framework

3. FAQs

Where is the Package Manager?

Window -> Package Manager

  • To install locally by downloading a ZIP package, select "Add package from disk..."
  • To install via a URL link, select "Add package from git URL..."

Why can't I load the plugin package via git URL?

Please check whether Git is properly installed on your machine and whether the network environment is functioning correctly. Connecting to GitHub requires access to the external network.

Models or scripts are missing after importing the Sample?

Please check if the Unity version is compatible. If compatible, they will be automatically indexed and populated. If incompatibility occurs, please contact the official support.

4. Official GitHub Link

View related guide