Search Unity

FormatException: Input string was not in the correct format

Discussion in 'UGUI & TextMesh Pro' started by nventimiglia, Aug 20, 2014.

  1. nventimiglia

    nventimiglia

    Joined:
    Sep 20, 2011
    Posts:
    153
    FormatException: Input string was not in the correct format
    System.Int32.Parse (System.String s) (at /Users/builduser/buildslave/mono-runtime-and-classlibs/build/mcs/class/corlib/System/Int32.cs:629)
    System.Version..ctor (System.String version) (at /Users/builduser/buildslave/mono-runtime-and-classlibs/build/mcs/class/corlib/System/Version.cs:109)
    SyntaxTree.VisualStudio.Unity.Bridge.Project.ParseVersion ()
    SyntaxTree.VisualStudio.Unity.Bridge.Project..cctor ()
    Rethrow as TypeInitializationException: An exception was thrown by the type initializer for SyntaxTree.VisualStudio.Unity.Bridge.Project
    SyntaxTree.VisualStudio.Unity.Bridge.ConfigurationWindow..cctor ()

    Loaded an existing project using 4.6. This project includes the Visual Studio tools.

    My editor is spamming this exception. Perhaps 20 times per second. When I Delete VisualStudio tools the error halts.
     
  2. Tim-C

    Tim-C

    Unity Technologies

    Joined:
    Feb 6, 2010
    Posts:
    2,225
    This seems related to UnityVS. I think they have a version compatible with 4.6 so you should contact them.
     
  3. nventimiglia

    nventimiglia

    Joined:
    Sep 20, 2011
    Posts:
    153
    They do, for those wondering the solution is to delete UnityVs, reinstall the plugin, and reopen unity.