Missing bones cause files to be unreadable externally

Đang mở
#873 1 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
42/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
csharp, unity
Lĩnh vực
tooling

Hướng nghiên cứu

Tái hiện vấn đề trong Unity 2022.3 với một model đã được rig bằng cách unpack model, xóa một bone và sử dụng chức năng editor export. Theo dõi đường đi của editor export để xử lý bone bị thiếu, đồng thời so sánh thứ tự và các index của bone đã export với model gốc. Được xem là hoàn tất khi group bị ảnh hưởng được bỏ qua, thứ tự bone vẫn hợp lệ và file có thể mở trong Unity cũng như các công cụ bên ngoài như Blender.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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 🩹
Ngôn ngữ chính
C#
Star
2.3k
Fork
539
Merge trung bình
3 ngày 15 giờ
Pull request đã merge (30 ngày)
2

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của KhronosGroup/UnityGLTF

Tất cả issue của KhronosGroup/UnityGLTF

Issue tương tự

Thêm issue về C#

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.