Search Unity

  1. Unity 2020.2 has been released.
    Dismiss Notice
  2. Good news ✨ We have more Unite Now videos available for you to watch on-demand! Come check them out and ask our experts any questions!
    Dismiss Notice

Bug in PackageManager in 2019.1b8

Discussion in 'Package Manager' started by danielgsantana, Mar 20, 2019.

  1. danielgsantana


    Mar 11, 2015
    Hi guys,
    I was trying the latest 2019 beta (2019.1b8), and came across with a weird bug on PackageManagerUI. It fails to parse the packages with a error "Input string was not in a correct format". I found that this is due to not using an invariant format info for the version double conversion line: 76 of file PackageInfo.cs. Replacing with this "var version = Convert.ToDouble(shortVersionId.Split('@')[1], System.Globalization.NumberFormatInfo.InvariantInfo);" and all is fine.
    As a note, my decimal separator is a "." so it shouldn't be the cause of the problem.

    Daniel Santana
    Technical Director & Co-founder @ Headless Studio
  2. jasons_unity


    Unity Technologies

    Dec 10, 2018
    Hey Daniel,
    Thank you for logging this issue. I brought it up to the Package Manager UI team and it appears that they have also encountered this and a fix will be included in forthcoming releases - 2019.2 at the latest.

    Thank you again!
    danielgsantana likes this.