Search Issue Tracker

Fixed in Unity 2019.2

Votes

0

Found in

2019.1.0b4

Issue ID

1131566

Regression

No

Package Manager throws "Input string was not in a correct format" error when using Locales with "," number separating formats

Packman

-

-

Priority: 2Necessary for shipping a final release

-

Severity: 4Minor or cosmetic issue

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

Response avatar

Resolution Note:

Fixed in 2019.1.0b10

Comments (7)

  1. 2b970aa9e581addfcd2cde9b05cbb303?d=mm

    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 ?

  2. 582486556ec0bf1618119617148da2d5?d=mm

    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.

  3. B135985d21326195d5b13af32b157ea7?d=mm

    vitautart

    Mar 27, 2019 09:25

    It's sad. Why not in 2019.1?
    Same here with ukrainian settings.

  4. A09749e6476c7a9e2007c914e76774e1?d=mm

    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.

  5. 831d2d73caa0227797b3328f1def30a6?d=mm

    Kristof_Newfort

    Mar 21, 2019 13:18

    Yeah, I would like to see this in 2019.1 too :) or even 2018.3.

  6. 582486556ec0bf1618119617148da2d5?d=mm

    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.

  7. F34cd0a31805e5e46f9b5baa34652631?d=mm

    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?

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.