# .unitypackage 文件 请从 [ ](https://github.com/vrm-c/UniVRM/releases)[https://github.com/vrm-c/UniVRM/releases](https://github.com/vrm-c/UniVRM/releases) 下载 `unitypackage`。然后,请按照顺序安装两个包,首先是`UniGLTF_VRMShaders`,然后是`UniVRM`。
UniGLTF\_VRMShadersUniVRMVRM
for GLTFinstall
for VRMinstallinstall
for VRM1install install
- `Sample` 包已被废弃,但仍然包含在内。 - 可以通过`UPM` 的 `Sample` 功能进行安装。 ### **获取.unitypackage**[​](https://vrm.dev/univrm/install/univrm_install/#unitypackage-%E3%81%AE%E5%85%A5%E6%89%8B "unitypackage の入手 への直接リンク") [https://github.com/vrm-c/UniVRM/releases](https://github.com/vrm-c/UniVRM/releases) `UniVRM-0.XX.X_XXXX.unitypackage` ### **安装前的准备** - 创建一个新的 Unity 项目 - 将 `prejectsetings` - `player` - `other sheets` - `rendering` - 将 `colorspace` 设置为 `Linear`(推荐) [![安装UniVRM前的准备1-by.北溟瞬息.png](https://docs.vrcd.org.cn/uploads/images/gallery/2024-07/scaled-1680-/WAJP8wOhcIC80ZVm-univrm1-by.png)](https://docs.vrcd.org.cn/uploads/images/gallery/2024-07/WAJP8wOhcIC80ZVm-univrm1-by.png)

**如果你的Unity版本是(Unity-2018.3, Unity-2018.4, Unity-2019.1)** 请将 `ProjectSettings` - `Player` - `Other Settings` - `Scripting Runtime Version` 设置为 `.Net4.X equivalent`。

**现有项目** 如果存在旧 UniVRM 版本,请在安装前删除 `Assets/VRM`、`Assets/UniGLTF` (如果存在)、`Assets/VRMShaders` (如果存在) 和 `Assets/Meshutility` (如果存在)。有关更多信息,请参阅[卸载UniVRM](https://vrm.dev/en/univrm/install/univrm_uninstall/)

### **导入 unitypackage** 在菜单栏找到 `Assets` - `Import Package` - Custom Package...,并选择 `UniVRM-0.XX.X_XXXX.unitypackage`。 `Assets/VRM`、`Assets/UniGLTF` 和 `Assets/VRMShaders` 三个文件夹将会被导入到Unity项目中。 [![安装UniVRM前的准备1-by.北溟瞬息.png](https://docs.vrcd.org.cn/uploads/images/gallery/2024-07/scaled-1680-/WAJP8wOhcIC80ZVm-univrm1-by.png)](https://docs.vrcd.org.cn/uploads/images/gallery/2024-07/WAJP8wOhcIC80ZVm-univrm1-by.png) ### **检查UniVRM是否导入成功** 如果UniVRM导入成功,菜单栏显示“VRM”菜单。 [![新版本UniVRM导出-by.北溟瞬息.png](https://docs.vrcd.org.cn/uploads/images/gallery/2024-07/scaled-1680-/GB8Udiqy07Hrhk8P-univrm-by.png)](https://docs.vrcd.org.cn/uploads/images/gallery/2024-07/GB8Udiqy07Hrhk8P-univrm-by.png) 旧版本的菜单: [![旧版本UniVRM导出-by.北溟瞬息.png](https://docs.vrcd.org.cn/uploads/images/gallery/2024-07/scaled-1680-/Z8t5uOxgSIyk4YQB-univrm-by.png)](https://docs.vrcd.org.cn/uploads/images/gallery/2024-07/Z8t5uOxgSIyk4YQB-univrm-by.png) 如果菜单未显示: - 打开 Console:点击 Console 窗口左上角的clear 按钮,查看是否出现任何错误(红色消息) [![打开Console-by.北溟瞬息.png](https://docs.vrcd.org.cn/uploads/images/gallery/2024-07/scaled-1680-/hvHlUxBORpLLl8pJ-console-by.png)](https://docs.vrcd.org.cn/uploads/images/gallery/2024-07/hvHlUxBORpLLl8pJ-console-by.png)[![检查Console是否有报错-by.北溟瞬息.png](https://docs.vrcd.org.cn/uploads/images/gallery/2024-07/scaled-1680-/xOiZAte4Cf2yVTR1-console-by.png)](https://docs.vrcd.org.cn/uploads/images/gallery/2024-07/xOiZAte4Cf2yVTR1-console-by.png) ### **相关章节** [如何制作VRM文件](https://docs.vrcd.org.cn/books/vrm-vrm/chapter/vrm) [导入VRM](https://docs.vrcd.org.cn/books/vrm-univrm/page/vrm-rCZ)