Search Issue Tracker
Fixed in 2021.2.X
Votes
0
Found in
Issue ID
1336292
Regression
No
Query breaks the ADB provider and the project browser
The query: sort{select{p: t:prefab *.prefab, @path, count{a:sceneIndex ref:@path} as count}, @count, "desc"} breaks the ADB provider and the project browser because of a parsing error in the SearchUtility.cs file. In fact, an exception is thrown whenever a query contains the tokens "ref" or "glob" at positions other than 0 and whenever the tokens don't contain quotes.
How to reproduce:
1. Open any project.
2. Write a query in the search box of the project browser.
3. Press enter.
Expected result: No exception is thrown in the console and the result of the query should appear in the project browser.
Actual result: An exception is thrown in the console about an argument out of range:
ArgumentOutOfRangeException: startIndex cannot be larger than length of string.
Comments (1)
-
digitaldeep
Jul 31, 2021 18:09
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
- "NullReferenceException: Object reference not set to an instance of an object" error is thrown when attempting to remove a binding in the UIBuilder for a UxmlObjectReference
- Missing script error when clicking “script” link in Cave scene’s Water Sample Description
- [VFX Graph] Set Position Shape Gizmo isn't refreshed after shaper switch
- NullReferenceException is thrown when trying to access volumeStack from the HDCamera class
- Visual artifacts appear when using an Orthographic camera with a Reflection Probe
Resolution Note (fix version 2021.2):
Fixed in: 2021.2.0a19