Search Issue Tracker
Fixed in 2019.2.X
Fixed in 2019.1.X
Votes
0
Found in
2019.1.0a15
2019.1.0b4
2019.2.0a2
Issue ID
1131566
Regression
No
Package Manager throws "Input string was not in a correct format" error when using Locales with "," number separating formats
To reproduce:
1. Go to Region & Language Settings in Windows
2. Change "Country or region" to "Poland"
3. Change "Windows display language" to "Latviešu"
4. Open up a new unity project
5. Go to Window -> Package Manager
6. Observe the editor console window
Expected: Console Windows shows no errors
Actual: The Package Manager packages throw "System.FormatException: Input string was not in a correct format" errors
Reproduced in: 2019.1.0b9, 2019.2.0a7
Notes:
Could not reproduce with any of 2017.4 versions because the Package Manager was not implemented in these releases yet
-
TheLordBaski
Apr 16, 2019 10:50
This major issue should be fixed earlier than in 6 months from now release. This is ridiculous. Not even 2019.1 that is not release yet would have not get fix ?
-
Kreep
Mar 31, 2019 14:04
Thanks Steego for the fix. I still don't understand how such a simple fix that causes a critical bug in a central Unity system can't be pushed for 2019.1. This is totally ridiculous, USA is not the center of the world.
-
vitautart
Mar 27, 2019 09:25
It's sad. Why not in 2019.1?
Same here with ukrainian settings. -
steego
Mar 23, 2019 16:26
A workaround while waiting, replace line 76 in PackageInfo.cs
From:
var version = Convert.ToDouble(shortVersionId.Split('@')[1]); // Works since shortversion acts like a decimal
To:
var version = Convert.ToDouble(shortVersionId.Split('@')[1], System.Globalization.CultureInfo.InvariantCulture); // Works since shortversion acts like a decimal
You can find this in the package cache, for me this is the path:
C:\Program Files\Unity\Hub\Editor\2019.1.0b8\Editor\Data\Resources\PackageManager\BuiltInPackages\com.unity.package-manager-ui\Editor\Sources\Services\Packages\PackageInfo.cs
You have to re-do this if you update the package manager ui.
-
Kristof_Newfort
Mar 21, 2019 13:18
Yeah, I would like to see this in 2019.1 too :) or even 2018.3.
-
Kreep
Mar 19, 2019 13:18
I'm French and have this bug too.
I saw that it's marked fixed in 2019.2. Is this serious ? I can't even use Unity 2019.1.0b8 because of that. I can't imagine such a bug not being corrected for a major Unity version.
-
KennethAafloy
Mar 15, 2019 12:10
I'm hitting this in 2019.1.0b7, and the issue says fixed in 2019.2 - is it not getting fixed in 2019.1?
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- [VFX Graph] Base Color Map Inconsistency between Lit and Unlit Ouput
- [HDRP] Water is using the wrong depth when calculating absorption for alpha clipped transparents with depth prepass enabled
- [VFX Graph] Emissive isn't working with Decal output
- Gizmos are not drawn in Game view and Render Graph Execution errors are shown when stacked Overlay Camera is used and 'Compatibility Mode' is disabled
- Crash on WalkTypeTreeInternal when selecting the Texture of a specific FBX
Resolution Note (fix version 2019.2):
Fixed in 2019.1.0b10