Skip to content

Error spam when trying to set a skeleton to Rest Pose without setting it first #66448

Description

@anunknowperson

Godot version

v3.5.stable.official [991bb6a]

System information

Windows 10, GLES2, RTX 3060 Ti

Issue description

I followed this tutorial:
https://docs.godotengine.org/en/stable/tutorials/animation/2d_skeletons.html?highlight=skeleton

Everything works fine, but up to this point:
"You will notice that all bones raise an annoying warning about a missing rest pose. This means that it's time to set one. Go to the skeleton node and create a rest pose. "

When I click on the "Bind Rest Pose" button, the size and position of all bones start constantly resetting to 0,0 and nan, nan. The error "core/math/transform_2d.cpp:49 - Condition "det == 0" is true."
is spammed to the console

I checked to do the same action on exactly the same project in version v3.4.stable.official [206ba70], and everything worked absolutely fine there.


part 2 removed, I'll see what can be done on weblate.

Steps to reproduce

Follow the tutorial on the link above and get to the "Bind Rest Pose" step.

Or download the test project and just hit Bind Rest Pose on Skeleton

Minimal reproduction project

AnimationTutorial.zip

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status
    Tasks

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions