VRM0.xでMeshAnnotationsのmeshに-1が指定されていると一人称メッシュ作成時にNotImplementedExceptionが発生する問題を回避する #2214
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
環境情報
v0.116.0
Unity-2021.3.27f1
Windows 10
概要
MeshAnnotationのmeshに-1が指定されているとNotImplementedExceptionが発生することを確認したため、その問題を回避案を提出させていただきます。
問題の流れは以下です。
glTFNode.node
の初期値 -1 と一致してしまいMeshがあるNodeとして扱われるNotImplementedException
が発生するUniVRM以外のツールでVRM0.xで上記のようなVRMが作られる場合が有るようでした。
問題の再現方法
Assets/Report/Scenes/Report_ErrorWithMeshAnnotationMinusOne_Vrm10LoadWithFirstPerson.unity
を開いてPlayを実行対応案