why i get this error ? core/math/transform_2d.cpp: 51 - condition det == 0 is true

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

Hello every time i debug the game i get this error core/math/transform_2d.cpp: 51 - condition det == 0 is true , i think it happens when i change from one scene to another

:bust_in_silhouette: Reply From: Gramps

I get the same thing but only when I move the mouse around in the editor’s main screen. No idea what it is.

:bust_in_silhouette: Reply From: marsh

I solved my problem fixing the scale of one Node.

Look at every Label at your problematic scene, probably the error only shows on a specified scene, at least it happened to me.
If the Node is with the both scale axes on 0, set to another number.
The error just desapear after changing this. (And back when i put (0,0) again)

In my case, was a Label scale(0,0). It will look like the problem is when changing scenes or the problem is with a node visibilite (Cause when you hide the parent of the actual problem node, the error stop showing on Debug), but the real problem is with the Scale of a node.

*If both Scale axes of a Label Node is == 0, or even one Axe is == 0, the error will show.

The same error apears in both Versions (Don’t know if apears on more):
Godot 3.2 Alpha 2
Godot 3.2 Beta 2