Search Issue Tracker

Active

Under Consideration for 6000.5.X

Votes

0

Found in

6000.3.6f1

6000.4.0b7

6000.5.0a6

Issue ID

UUM-133640

Regression

Yes

Pressing “+” button in search field in Asset Store Search window throws “FormatException” error in the Console window

Search

-

Steps to reproduce:
1. Create new Unity project
2. Open Search window with Asset Store search (Window > Search > Asset Store)
3. When opened, in search field press on “” button
4. Observe the Console window

Actual results: “FormatException: Input string was not in a correct format.” error is thrown after pressing “” button in search field

Expected results: No errors thrown in the Console after pressing “+” button in search field

Reproducible with versions: 6000.3.0b7 (1bec74c0745e), 6000.3.6f1, 6000.4.0b7, 6000.5.0a6
Not reproducible with versions: 6000.0.66f2, 6000.2.15f1, 6000.3.0b6 (211490bb75a6)

Tested on (OS): Ubuntu 24.04, macOS Silicon Tahoe 26.2 (M1)

Error:

{code:java}
FormatException: Input string was not in a correct format.
System.Number.ThrowOverflowOrFormatException (System.Boolean overflow, System.String overflowResourceKey) (at <032c206a1674455bacfc3546f1de5ef3>:0)
System.Number.ParseInt32 (System.ReadOnlySpan`1[T] value, System.Globalization.NumberStyles styles, System.Globalization.NumberFormatInfo info) (at <032c206a1674455bacfc3546f1de5ef3>:0)
System.Int32.Parse (System.String s, System.IFormatProvider provider) (at <032c206a1674455bacfc3546f1de5ef3>:0)
System.Convert.ToInt32 (System.String value) (at <032c206a1674455bacfc3546f1de5ef3>:0)
UnityEditor.Search.Providers.AssetStoreProvider+QueryPriceBlock..ctor (UnityEditor.Search.IQuerySource source, System.String id, System.String value, UnityEditor.Search.QueryListBlockAttribute attr) (at /Users/bokken/build/output/unity/unity/Modules/QuickSearch/Editor/Providers/AssetStoreProvider.cs:656)
System.Reflection.RuntimeConstructorInfo.InternalInvoke (System.Object obj, System.Object[] parameters, System.Boolean wrapExceptions) (at <032c206a1674455bacfc3546f1de5ef3>:0)
{code}

Add comment

Log in to post comment

All about bugs

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