mirror of
https://github.com/vrm-c/UniVRM.git
synced 2026-05-14 14:29:52 -05:00
`default(ArraySegment<byte>).ToArray()` throws `InvalidOperationException` since Unity 2021. It fails `VRMTextureEnumerateTests`. Use `new ArraySegment<byte>(Array.Empty<byte>())` instead. Confirmed to work with Unity 2020.3.34f1, 2021.3.13f1 and 2022.1.23f1. fixes https://github.com/vrm-c/UniVRM/issues/1934 |
||
|---|---|---|
| .. | ||
| Documentation | ||
| Editor | ||
| Runtime | ||
| Samples~ | ||
| Tests | ||
| CHANGELOG.md | ||
| CHANGELOG.md.meta | ||
| Documentation.meta | ||
| Editor.meta | ||
| LICENSE.md | ||
| LICENSE.md.meta | ||
| package.json | ||
| package.json.meta | ||
| README.md | ||
| README.md.meta | ||
| README.url | ||
| README.url.meta | ||
| Runtime.meta | ||
| Tests.meta | ||
VRM
The core library for UniVRM-0.XX.
Import VRM (Unity 2019.3.4f1~)
Window -> Package Manager -> Add package from git URL and add the followings in order:
https://github.com/vrm-c/UniVRM.git?path=/Assets/VRMShadershttps://github.com/vrm-c/UniVRM.git?path=/Assets/VRM=> depends on VRMShaders
or add the package name and git URL in Packages/manifest.json:
{
"dependencies": {
"com.vrmc.vrmshaders": "https://github.com/vrm-c/UniVRM.git?path=/Assets/VRMShaders",
"com.vrmc.univrm": "https://github.com/vrm-c/UniVRM.git?path=/Assets/VRM",
}
}