Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crashes when exporting skinned mesh with animation when asset optimized #800

Open
4 of 7 tasks
ElgoogUdiab opened this issue Dec 2, 2024 · 0 comments
Open
4 of 7 tasks

Comments

@ElgoogUdiab
Copy link

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 🩹

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant