GodSVG icon indicating copy to clipboard operation
GodSVG copied to clipboard

Invalid expressions in number-field attempting to be evaluated

Open DevPoodle opened this issue 1 year ago • 2 comments

If you type in an invalid expression into a number field, for example just the letter 'n', Godot tries to evaluate it and the program returns an error. It appears to be caused by this bug in Godot: https://github.com/godotengine/godot/issues/86775.

Unfortunately, it looks like this only can be resolved with some redundant checks in AttributeNumeric.

DevPoodle avatar Jan 20 '24 00:01 DevPoodle

Accidental close.

MewPurPur avatar Jan 20 '24 14:01 MewPurPur

In my opinion, we can keep this bug through the alphas, and disable the ability to evaluate expressions through the beta (unless we can add a perfect workaround). This project will keep jumping to new Godot versions, so my hope is it will be addressed before time comes for v1.0

MewPurPur avatar Jan 24 '24 18:01 MewPurPur