You can install UniVRM using the UnityPackage or the UPM Package.
The UniVRM supports Unity ${unity_version} or later.
Download the unitypackage, and drag and drop it to import the package into your project.
click to expand
You can install these UPM packages via Package Manager in UnityEditor.
- Open the package manager window:
Window->Package Manager - Click
+at the top-right of the package manager window, then selectAdd package from git URL... - Specify UPM packages using URLs below.
[!Warning] Starting with version
v0.131.0, Assets/UniGLTF, VRM, and VRM10 have been moved to thePackagesfolder. Therefore, please specifypath=/Packages/UniGLTF,path=/Packages/VRM, orpath=/Packages/VRM10.
| UPM package | git URL |
|---|---|
| com.vrmc.gltf | https://github.com/vrm-c/UniVRM.git?path=/Packages/UniGLTF#v${version} |
| com.vrmc.univrm (VRM 0.x) | https://github.com/vrm-c/UniVRM.git?path=/Packages/VRM#v${version} |
| com.vrmc.vrm (VRM 1.0) | https://github.com/vrm-c/UniVRM.git?path=/Packages/VRM10#v${version} |
You can also install via editing Packages/manifest.json directly.
// Packages/manifest.json
{
"dependencies": {
// ...
"com.vrmc.gltf": "https://github.com/vrm-c/UniVRM.git?path=/Packages/UniGLTF#v${version}",
"com.vrmc.univrm": "https://github.com/vrm-c/UniVRM.git?path=/Packages/VRM#v${version}",
"com.vrmc.vrm": "https://github.com/vrm-c/UniVRM.git?path=/Packages/VRM10#v${version}",
// ...
}
}click to expand
Warning
from v0.125.0.
com.vrmc.vrmshaders is removed.
com.vrmc.vrmshaders is no longer required in manifest.json.