From e8e9a0a3f5aed52757428a8693709a91314333d3 Mon Sep 17 00:00:00 2001 From: ousttrue Date: Thu, 4 Jul 2024 16:55:35 +0900 Subject: [PATCH] UniVRM-0.124.1 --- docs/release/112/index.md | 5 ++++ docs/release/112/v0.124.1.md | 28 +++++++++++++++++++ docs/release/112/{v0.126.0.md => v0.124.2.md} | 0 docs/release/112/{v0.127.0.md => v0.124.3.md} | 0 docs/release/112/v0.125.0.md | 12 -------- docs/univrm/error/AvatarBuilderDupBone.md | 7 +++++ .../NullReferenceExceptionMeshAttachInfo.md | 17 +++++++++++ docs/univrm/error/null_reference_exeption.md | 20 +------------ sidebars.ts | 4 ++- 9 files changed, 61 insertions(+), 32 deletions(-) create mode 100644 docs/release/112/v0.124.1.md rename docs/release/112/{v0.126.0.md => v0.124.2.md} (100%) rename docs/release/112/{v0.127.0.md => v0.124.3.md} (100%) delete mode 100644 docs/release/112/v0.125.0.md create mode 100644 docs/univrm/error/AvatarBuilderDupBone.md create mode 100644 docs/univrm/error/NullReferenceExceptionMeshAttachInfo.md diff --git a/docs/release/112/index.md b/docs/release/112/index.md index c26211748..2bc86ac4d 100644 --- a/docs/release/112/index.md +++ b/docs/release/112/index.md @@ -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桁目が同じ範囲でバージョンを上げても、使用アプリケーションのソースコードの修正が発生しないことを期待できます。 diff --git a/docs/release/112/v0.124.1.md b/docs/release/112/v0.124.1.md new file mode 100644 index 000000000..d503cb863 --- /dev/null +++ b/docs/release/112/v0.124.1.md @@ -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) diff --git a/docs/release/112/v0.126.0.md b/docs/release/112/v0.124.2.md similarity index 100% rename from docs/release/112/v0.126.0.md rename to docs/release/112/v0.124.2.md diff --git a/docs/release/112/v0.127.0.md b/docs/release/112/v0.124.3.md similarity index 100% rename from docs/release/112/v0.127.0.md rename to docs/release/112/v0.124.3.md diff --git a/docs/release/112/v0.125.0.md b/docs/release/112/v0.125.0.md deleted file mode 100644 index aba0c77f5..000000000 --- a/docs/release/112/v0.125.0.md +++ /dev/null @@ -1,12 +0,0 @@ -# 🚧 v0.125.0 bones NullReferenceException - -## 🔥 正規化バグ - -https://github.com/vrm-c/UniVRM/pull/2339 - -:::danger `v0.124` BlendShape Bake のバグ -::: - -## SkinnedMeshRenderer.bones に null が含まれていてもエクスポートできるようにする - -- [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) diff --git a/docs/univrm/error/AvatarBuilderDupBone.md b/docs/univrm/error/AvatarBuilderDupBone.md new file mode 100644 index 000000000..7ea0d56e0 --- /dev/null +++ b/docs/univrm/error/AvatarBuilderDupBone.md @@ -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`. diff --git a/docs/univrm/error/NullReferenceExceptionMeshAttachInfo.md b/docs/univrm/error/NullReferenceExceptionMeshAttachInfo.md new file mode 100644 index 000000000..d6d9761ce --- /dev/null +++ b/docs/univrm/error/NullReferenceExceptionMeshAttachInfo.md @@ -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`. diff --git a/docs/univrm/error/null_reference_exeption.md b/docs/univrm/error/null_reference_exeption.md index a11b56f80..af6b56784 100644 --- a/docs/univrm/error/null_reference_exeption.md +++ b/docs/univrm/error/null_reference_exeption.md @@ -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 @@ -28,4 +11,3 @@ Has the gameobject used for skinning been deleted? ### workaround Please try disable instead of remove. - diff --git a/sidebars.ts b/sidebars.ts index 5df255a3a..8cc845a91 100644 --- a/sidebars.ts +++ b/sidebars.ts @@ -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", //