Missing bones cause files to be unreadable externally

オープン
#873 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
42/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
csharp, unity
領域
tooling

調査の方向性

リグ付きモデルを展開してボーンを1本削除し、エディターのエクスポートを使用して、Unity 2022.3 で問題を再現します。欠落したボーンの処理に関するエディターのエクスポート経路を追跡し、エクスポートされたボーンの順序とインデックスを元のモデルと比較します。影響を受けるグループが無視され、ボーンの順序が有効なまま維持され、ファイルを Unity および Blender などの外部ツールで開ければ完了です。

索引モデルが issue の本文から書いたものです。

説明

Describe the bug 💬

I am exporting an unpacked prefab that has a missing bone or two.
what i expect to happen is the group with a missing bone will be ignored, and the model will export normally.
instead what happens is the missing bone is replaced with the next in the list, causing 2 issues.

  1. in unity, the order of the bones is now incorrect, scrambling the parts.
  2. other applications, like blender, cannot read the file due to an index mismatch
Steps to reproduce 🔢
  1. use any rigged model
  2. unpack the file
  3. delete a bone
  4. export

done, it should be messed up.

Files to reproduce the issue ♻

personal files unnecessary, i went and tested with several assets, all with the same result.

Editor Version 🎲

2022.3

Render Pipeline and version

Built in render pipeline

UnityGLTF Version

latest

Operating System 👩‍💻

Windows

When does this problem happen?
  • Editor Import
  • Runtime Import
  • Editor Export
  • Runtime Export
Additional Info 📜

No response

Validations 🩹
主要言語
C#
スター
2.3k
フォーク
539
平均マージ
3日 15時間
マージ済み PR(30日)
2

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

KhronosGroup/UnityGLTF のほかの issue

KhronosGroup/UnityGLTF の issue をすべて見る

似ている issue

C# の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。