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
- Out-of-bounds memory access with multiple CanvasRenderers under a Canvas when using Mesh API
- Inspector tries to access file after it was deleted when the file was locked in Inspector window
- Changing Transform values in Search window Inspector loses focus while dragging and stopping mouse without releasing dragging action
- Saving changes on the dirty VFX Graph during the Play mode throws "The referenced script (Unknown) on this Behaviour is missing!" warnings
- VFX Graph Debug Info overlaps the "Initialize" block debug info by default
Add comment