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
- Texture2D hash changes inside of an AssetBundle when rebuilding a SpriteAtlas bundle with an empty AssetPostprocessor Script enabled
- Aniso Level still applies when Generate MipMap is disabled in Texture Import Settings
- Mipmap Limit Groups long names are not truncated when creating a new Mipmap Limit Group with a long name
- “ArgumentException: Invalid double parameter.” error is thrown when Infinity is typed into the Fixed Timestep field
- GameObject becomes gray when using HDRP and STP together on macOS
Add comment