As the title says, those functions do not work.
They work well when I test within the editor but when I export to UWP they stop working.
The input is from a TMPro Input Field which is configured to get only integer characters.
Result = int.Parse(Text1.text)
When this line of code executed during runtime, I get a FormatException even with inputs such as “12” or “7”.
I had the same issue with the float.Parse() function before I thought it was because my country uses ‘,’ but after specifying CultureInfo.InvariantCulture.NumberFormat in float.Parse() it would still give me the FormatException when the project was built.
I also tried TryParse() but same result.
The functions work well in play mode but when exported everything stops working.
I am using Unity 2018.3.2f 1