Skip to content

Animations saved to file still show custom track warning in AnimationPlayer #83882

@Flynsarmy

Description

@Flynsarmy

Godot version

v4.1.2.stable.official.399c9dc39

System information

Windows 11 - Forward+ geforce 3070TI

Issue description

When importing a GLB as an AnimationLibrary there is an option on each animation Save to File. When used, this can be paired with Keep Custom Tracks and once reimported, custom tracks will be kept in AnimationPlayer.
277516971-034302b7-9381-4cfa-ab00-ffc074e90b6b

Even with both these options checked, AnimationPlayer still shows an Imported Scene warning button with explanation that you need to use Save to File and Keep Custom Tracks which I am already using.
277518142-e1aded70-f3e9-4832-8f52-95a7b2adfa9f

Custom tracks are indeed kept on these animations through subsequent reimports of the library so everything is working correctly, the button is just showing when it shouldn't be.

Steps to reproduce

  • Import a GLB as an AnimationLibrary
  • Enable Save to File and Keep Custom Tracks on one or more of the animations and reimport.
  • Add an AnimationPlayer to a scene and load the AnimationLibrary
  • Load up one of the anims you saved above.

You'll see the warning button even though you shouldn't.

Minimal reproduction project

ImportCustomTracksIssue.zip

In this example project there is an AnimationLibrary file animations.glb with two animations.

  1. taller is saving to file with Keep Custom Tracks enabled.
  2. wider isn't saving to file and has Keep Custom Tracks disabled.

Open test_scene.tscn and look at the AnimationPlayer.

  • The wider anim correctly has no custom tracks, no option to add custom tracks and shows the warning button.
  • The taller anim (saved to file with Keep Custom Tracks enabled) has a custom rotation track, it survives through reimports of the AnimationLibrary as it should, however the warning button is still showing at the bottom when it shouldn't.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions