This is an error with Godot version 4.2.2 that has been fixed in 4.3. I'm not sure if this is an acceptable answer for this site, but it is the only one for this question.