Reading further, it seems this is explicitly a problem with Godot 4.2. I will see if I can find a workaround for it.