Crashes when exporting skinned mesh with animation when asset optimized

Aperta
#800 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
35/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
csharp, unity
Ambito
game-dev

Direzione di ricerca

Usa import_asset_example.zip con Unity 2022.3 e le impostazioni Humanoid e Optimize Game Objects indicate per riprodurre il crash durante Editor Export. Quindi traccia il percorso di esportazione di UnityGLTF per skinned meshes con animation e verifica che l’esportazione dell’esempio in glTF e GLB non causi più il crash di Unity Editor.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

Describe the bug 💬

When exporting an object with animations using UnityGLTF, if the associated mesh asset’s import settings are configured with Animation Type set to Humanoid and the Optimize Game Objects option is enabled, Unity crashes during the process.

Steps to reproduce 🔢
  1. Download the import_asset_sample.zip.
  2. Extract the files into the Unity project’s Assets folder (the .meta files are pre-configured to trigger the crash).
  3. Add the imported model to the scene.
  4. Create a new Animator Controller.
  5. Add a state to the controller and set its animation clip to one of the animations included in the FBX file.
  6. In the scene hierarchy, export the object to either glTF or GLB, it will crash the Unity Editor.
Files to reproduce the issue ♻

import_asset_example.zip

Editor Version 🎲

2022.3

Render Pipeline and version

Not related to the render pipeline

UnityGLTF Version

2.14.1

Operating System 👩‍💻

Windows

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

No response

Validations 🩹
Lingua principale
C#
Stelle
2.3k
Fork
539
Merge medio
3g 15h
PR unite (30g)
2

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di KhronosGroup/UnityGLTF

Tutte le issue di KhronosGroup/UnityGLTF

Issue simili

Altre issue su C#

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.