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
- [URP][Lighting] The skybox doesn't render after changing the settings of the Material when using the URP Render Pipeline
- Crash on ShaderLab::ShaderState::ApplyShaderState when entering Play Mode and calling ShaderWarmup.WarmupShaderFromCollection with a shader that has dynamic_branch
- Crash on operator delete[] when a serializable structure in the System namespace is serialized by a MonoBehaviour
- [macOS] forward and backward mouse buttons are recognized as middle mouse button
- NavMeshModifier.OnEnable/OnDisable gets progressively slower when called repeatedly
Add comment