Skip to content

GTLF importer doesn't set Root Motion to true when animation type is mecanim (non-humanoid) #869

Description

@XtroTheArctic

Describe the bug 💬

This behavior is inconsistent with FBX importer and requires user to apply an prefab override manually on every single model imported.

FBX Importer (!!! IMPORTANT !!!! For this to work, Root node in "Rig" tab must be assigned correctly):
Image

UnityGLTF Importer:
Image

Steps to reproduce 🔢

  1. Import a model with "Generic" animation type.
  2. See that Root Motion is unchecked.

Files to reproduce the issue ♻

Model files are added in the comment section.

Editor Version 🎲

Other (Provide details below)

Render Pipeline and version

Not relevant

UnityGLTF Version

2.17.1

Operating System 👩‍💻

Windows

When does this problem happen?

  • Editor Import
  • Runtime Import
  • Editor Export
  • Runtime Export

Additional Info 📜

No response

Validations 🩹

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions