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
- Can’t delete gradient keys with Mac keyboard or context menu options
- Editor freezes for a few minutes when closing or switching a VFX window that was opened in a previous project
- UI Overlaps when switching Render Pipeline Asset for different Quality Levels in Quality Project Settings
- Ray Tracing Shader link to the documentation isn’t working
- Warning "BatchRendererGroups currently don't support override shaders" is spammed in Play mode when using H-Trace WSGI with BatchRenderGroups
Add comment