godotengine / godotengine/godot

AnimationTree fails resolving track on node with unique name (%)

Open
#92,574 5 comments 0 reactions 0 assignees View on GitHub
bug needs testing topic:animation
Dominant language
C++
Stars
117k
Forks
26.8k
PR merge metrics
PR metrics pending

Description

### Tested versions

4.3.dev.custom build master today

### System information

window10 gd4.3.dev.custom build

### Issue description

scene\animation\animation_mixer.cpp:663 - AnimationMixer: 'anim/unarmed-swim-idle', couldn't resolve track: '%GeneralSkeleton:RightUpperLeg'. This warning can be disabled in Project Settings. (User)


![image](https://github.com/godotengine/godot/assets/33251075/7d1ad54a-c707-4936-a06c-093a40eb6776)
![image](https://github.com/godotengine/godot/assets/33251075/99b6530d-6946-4a30-ade7-b305f1bda451)

To make this node reusable by multiple different model scenes, I made it a separate scene and set an empty skeleton and animationplayer with %naming, the animationplayer loads external animation lib so it can be used for animation tree node editing

However, this would trigger an error and it takes a long time to load every time.

### Steps to reproduce

create A scene import the glb with animation player,and create a animationtree for it.then save the animation tree as a branch scene.

### Minimal reproduction project (MRP)

1.open player/roles/male_warrior/MaleWarrior.tscn
remove animationtree node
reinstance a RoleAnimationTree scene on it .and see the error

2.open assets/models/male_warrior/male_warrior.glb
select load pose to use external animlib
and select assets/anim.res, see another error(can not pick bindbones animlib.Even man.glb and male_warrior.glb its the same bone map)

Contributor guide

Open the contributing guide

Research direction

Start with scene/animation/animation_mixer.cpp:663 and reproduce the warning using player/roles/male_warrior/MaleWarrior.tscn, RoleAnimationTree, and assets/models/male_warrior/male_warrior.glb. Check the external animation library and unique-name track setup described in the issue. Done means the track resolves without the repeated warning and the external animation library can be selected as described.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
computer-graphics, game-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.