godotengine / godot

Godot Engine – Multi-platform 2D and 3D game engine
https://godotengine.org
MIT License
86.79k stars 19.42k forks source link

AnimationPlayer displays animations on the wrong character model #84636

Open jannelau opened 8 months ago

jannelau commented 8 months ago

Godot version

4.13

System information

windows 11

Issue description

AnimationPlayer displays animations on only one local (3D) character model in the scene. The humanoid skeleton profile appears to be bugged. This doesn't appear to be related to the "local to scene" checkbox in the humanoid skeleton profile import menu

Steps to reproduce

Minimal reproduction project

animation_bug.zip

Calinou commented 8 months ago

Please upload a minimal reproduction project[^1] to make this easier to troubleshoot.

[^1]: A small Godot project which reproduces the issue, with no unnecessary files included. Be sure to not include the .godot folder in the archive (but keep project.godot).

Drag and drop a ZIP archive to upload it. Do not select another field until the project is done uploading.

Note for C# users: If your issue is not Mono-specific, please upload a minimal reproduction project written in GDScript or VisualScript. This will make it easier for contributors to reproduce the issue locally as not everyone has a Mono setup available.

comfortmfune commented 1 month ago

I think I have the same problem, and I'm seeing it here and there online. I use the mixamo rig, I've pretty much made everything as unique as I can, from duplicating resources, to checking that seemingly useless local_to_scene checkbox but nothing works. When logging, it shows that everything is fine, quite literally telling me the function for updating the animation is running with the correct rig as the argument but still end up only playing in the wrong rig, which is always the first. In my case it doesn't play consistently.