content

I was trying to figure out why some float values where becoming NaN values in the Godot debugger. However, according to the debugger the values of the variables in question were always 0 or 1 as expected.

After adding an explicit check, I found that the debugger was lying to me. Apparently, this bug in the debugger is already tracked at godotengine/godot#88006. This is worthy of being listed as a Godot crime

meta

created:

backlinks: 20240629080504 Float values NaN and INF are displayed as 0 in debugger and inspector

commit: 74cb7704