On saving, users on French-language systems will write "0,5" instead of "0.5" (invalid in InvariantCulture) and results in a FormatException from ReadAttributeAsFloat on loading.
I believe using ToString(CultureInfo.InvariantCulture) for each of the floats passed to WriteElementString would resolve the issue.
Floats like deadzone are parsed with InvariantCulture but written with default culture.
On saving, users on French-language systems will write "0,5" instead of "0.5" (invalid in InvariantCulture) and results in a FormatException from ReadAttributeAsFloat on loading.
I believe using
ToString(CultureInfo.InvariantCulture)
for each of the floats passed toWriteElementString
would resolve the issue.