Does anyone know why this happens?

Maybe the windows decimal setting is conflicting with unreal?
Check windows => Control Panel => Region => Additional Settings (button) => Decimal Symbol

It works with , as a symbol. Maybe Spanish has a dot or different symbol by default?