Skip to content

Commit

Permalink
Merge pull request vrm-c#419 from vrm-c/release/v0.124.1
Browse files Browse the repository at this point in the history
UniVRM-0.124.1
  • Loading branch information
ousttrue authored Jul 4, 2024
2 parents a1d130e + e8e9a0a commit b32e275
Show file tree
Hide file tree
Showing 9 changed files with 61 additions and 32 deletions.
5 changes: 5 additions & 0 deletions docs/release/112/index.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
# ■v0.112~ ■

- `0.112.0` からサポートする Unity の最低バージョンを `2021.3LTS` に更新しました。

- `0.124.1 ` から3桁目のバージョン番号をインクリメントします。

- runtime importer が使用する API に breaking change があると判断された場合に、2桁目をインクリメントして、3桁目を0に戻します。
- 2桁目が同じ範囲でバージョンを上げても、使用アプリケーションのソースコードの修正が発生しないことを期待できます。
28 changes: 28 additions & 0 deletions docs/release/112/v0.124.1.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# v0.124.1 fixed bake bug & NullReferenceExeption

https://github.com/vrm-c/UniVRM/releases/tag/v0.124.1

https://github.com/vrm-c/UniVRM/milestone/88?closed=1

## 🔥 正規化バグ

:::danger BlendShape Bake のバグ

`v0.124.0`
https://github.com/vrm-c/UniVRM/pull/2329 で発生。

:::

- https://github.com/vrm-c/UniVRM/pull/2339

## SkinnedMeshRenderer.bones に null が含まれていてもエクスポートできるようにする

:::tip
SkinnedMeshRenderer.bones に null が含まれるのは、データ異常とみなしていました。
シーン上でボーンを削除してからエクスポートする操作をした場合に発生する場合があるらしく、一定の需要があるようなのでエラーを回避してエクスポートできるようにしました。

エクスポート時に
`NullReferenceExeption と MeshAttachInfo` もしくは `AvatarBuilder duplicate human bone Hips` というエラーメッセージが発生する場合に関連している可能性があります。
:::

- [Do not throw an exception even if SkinedMeshRenderer.bones contains null. · Issue #2326 · vrm-c/UniVRM · GitHub](https://github.com/vrm-c/UniVRM/issues/2326)
File renamed without changes.
File renamed without changes.
12 changes: 0 additions & 12 deletions docs/release/112/v0.125.0.md

This file was deleted.

7 changes: 7 additions & 0 deletions docs/univrm/error/AvatarBuilderDupBone.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# AvatarBuilder duplicate human bone 'Hips'

## Finally, SkinnedMeshRenderers.bones is now allowed to contain null

https://github.com/vrm-c/UniVRM/issues/2326

It is now possible to export from `v0.124.1`.
17 changes: 17 additions & 0 deletions docs/univrm/error/NullReferenceExceptionMeshAttachInfo.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# NullReferenceExeption(MeshAttachInfo)

- [\[MeshAttachInfo.cs:23\] Null reference exeption on 2022.3.6f1 · Issue #2206 · vrm-c/UniVRM · GitHub](https://github.com/vrm-c/UniVRM/issues/2206)

## at Assets/UniGLTF/Runtime/MeshUtility/MeshAttachInfo.cs:23

```cs
Mesh.bindposes = Bones.Select(x => x.worldToLocalMatrix * dst.transform.localToWorldMatrix).ToArray();
```

Has the gameobject used for skinning been deleted?

## Finally, SkinnedMeshRenderers.bones is now allowed to contain null

https://github.com/vrm-c/UniVRM/issues/2326

It is now possible to export from `v0.124.1`.
20 changes: 1 addition & 19 deletions docs/univrm/error/null_reference_exeption.md
Original file line number Diff line number Diff line change
@@ -1,21 +1,4 @@
# Null reference exeption

- [Null reference exeption on 2022.3.6f1 · Issue #2206 · vrm-c/UniVRM · GitHub](https://github.com/vrm-c/UniVRM/issues/2206)

:::tip The location of this error is important
:::

## at Assets/UniGLTF/Runtime/MeshUtility/MeshAttachInfo.cs:23

```cs
Mesh.bindposes = Bones.Select(x => x.worldToLocalMatrix * dst.transform.localToWorldMatrix).ToArray();
```

Has the gameobject used for skinning been deleted?

### workaround

Please try disable instead of remove.
# NullReferenceExeption

## at Assets/VRM10/Runtime/IO/Model/ModelExporter.cs:306

Expand All @@ -28,4 +11,3 @@ Has the gameobject used for skinning been deleted?
### workaround

Please try disable instead of remove.

4 changes: 3 additions & 1 deletion sidebars.ts
Original file line number Diff line number Diff line change
Expand Up @@ -94,9 +94,11 @@ const sidebars: SidebarsConfig = {
label: "Error",
link: { type: "doc", id: "univrm/error/index" },
items: [
"univrm/error/AvatarBuilderDupBone",
"univrm/error/NullReferenceExceptionMeshAttachInfo",
"univrm/error/null_reference_exeption",
"univrm/error/multiple_scripted_importers",
"univrm/error/could_not_include",
"univrm/error/null_reference_exeption",
"univrm/error/skinnedmeshrenderer_rootbone",
"univrm/error/cs1061",
//
Expand Down

0 comments on commit b32e275

Please sign in to comment.