godotengine / godot

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

Skeletal animations are not working #77222

Closed BastiaanOlij closed 1 year ago

BastiaanOlij commented 1 year ago

Godot version

master (5bb7d585a5e151f3fa387de7dd97d7aebc5abfd5)

System information

Windows - RTX 4070

Issue description

Animations are either not loaded correctly or not processed properly.

In the logs it's remarked that the skeleton data is missing: image

I'm testing with GDQuests mannequin : image

Often the model doesn't render at all until you select the skeleton node.

Steps to reproduce

Obtain the mannequin model from GDQuests github repo here: https://github.com/GDQuest/godot-3d-mannequin/tree/master/godot/assets/3d/mannequiny

Add it to a 3D scene in Godot.

Try and play the animations

Minimal reproduction project

See above

BastiaanOlij commented 1 year ago

Bisect came up with this commit being the problem: https://github.com/godotengine/godot/pull/74405/commits/5a4613f5512b84a758d7cb4850f6e35db2bcceba From this commit onwards animations no longer work.

BastiaanOlij commented 1 year ago

Bisect came up with this commit for the first time the skeleton->size == 0 error: https://github.com/godotengine/godot/commit/98c655ec8db17e50afa58284b1dcad754034db4b

akien-mga commented 1 year ago

CC @reduz @RandomShaper @godotengine/animation