TinyJson Float parsing issue

The way TinyJson parses float can create issue if the current culture is not English. French for example uses comma to separate floats and not points which then cause TinyJson to be unable to parse various AStar parameters.

This will become forcibly true if you are working on consoles and the system language the user uses is not English.

One simple way to fix that is to change the multiple float.Parse found in TinyJson with
float.Parse([stringToParse], System.Globalization.NumberFormatInfo.InvariantInfo)

Hope that helps.

Laurent.

PS: Sorry did not find where to report bugs elsewhere.

1 Like

Hi

Thanks for the bug report!
Good catch. I will fix this in the next update.