det == 0 in a skeleton2d

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By vania23

Every time im trying to set rest pose in a skeleton 2d it leaves core/math/transform_2d.cpp:49 - Condition “det == 0” is true
every frame something is changed,like mouse position or key pressed. Any idea how to fix it? Idk what information to give