Search Issue Tracker
Fixed in 2021.1.X
Votes
0
Found in
2020.2.0b6
2021.1.0a1
Issue ID
1283671
Regression
Yes
[Quick Search] ArgumentException thrown on creating Quick Search Prefab Index in the Project window
Clicking on "Prefab Index" in Search, editor thrown ArgumentException, when prefab is not selected refer to the attached video.
Steps to repro:
1. Create a new project
2. Project > Create > Search > Prefab Index
Actual Result:
ArgumentException is thrown on creating Search Prefab Index
Expected Result:
Prefab Index option should be disabled if Prefab assets is not selected
Occurring on:
2021.1.0a1,
2020.2.0b7 with Quick Search Package Version 3.0.0-preview.1
Working Fine:
2020.2.0b7 with Quick Search 2.1.0-preview.4
Note: Quick Search is a Built-In Package in the Unity 2021.1.0a1
Environment:
Occurring on Windows 10 & macOS 10.15.
Stack trace:
ArgumentException: Path is empty
System.IO.Directory.CreateDirectory (System.String path) (at <9577ac7a62ef43179789031239ba8798>:0)
UnityEditor.Search.SearchDatabaseImporter.CreateTemplateIndex (System.String template, System.String path, System.String name) (at <972f91fb203a4724acd4146bb9f4aedd>:0)
UnityEditor.Search.SearchDatabaseImporter.CreateIndexPrefab () (at <972f91fb203a4724acd4146bb9f4aedd>:0)
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Too little validation messages in the "WebAssembly Language Features" Memory settings
- Project Settings Search Highlights are misaligned when using the Bitmap Text Rendering Mode
- "GetControlID at event ValidateCommand returns a controlID different from the one in Layout event" Warning is thrown when undoing the deletion of Sprite Shape Profile
- Memory related fields in the "WebAssembly Language Features" can be set to the negative numbers
- "WebAssembly Language Features" Header in the Player Settings has a smaller indentation
Add comment