Search Issue Tracker
Fixed in 2021.2.X
Votes
0
Found in
2021.2.0a13
2021.2.0a14
Issue ID
1330501
Regression
No
[Search] Argument Exception is thrown on opening saved CSV Report
On opening saved CSV (comma-separated values) format-specific Report File from Search, Argument Exception is thrown in console, and SearchReportWindow turns blank. Refer attached video and stack trace.
Steps to repro:
1. Create a new project
2. Window > Search
3. Type any required asset name in Search (ex. 3D).
4. Switch to Table View > Right Click > Export CSV > Save.
5. Window > Search > Open Report > Open CSV format-specific Report File
Actual Result:
Argument Exception is thrown on opening SearchReportWindow.
Expected Result:
CSV format-specific Report File should get opened gracefully without throwing any exceptions.
Occurring on:
2021.2.0a14, 2021.2.0a13.
Note:
Search-Open Report functionality introduced in Unity 2021.2.0a13.
Environment:
Occurring on Windows 10 & macOS 10.15.
Stack Trace:
ArgumentException: JSON parse error: Invalid value.
UnityEditor.EditorJsonUtility.FromJsonOverwrite (System.String json, System.Object objectToOverwrite) (at /Users/bokken/buildslave/unity/build/Modules/JSONSerializeEditor/EditorJsonUtility.bindings.cs:33)
UnityEditor.Search.SearchReport.Load (System.String fileContent) (at /Users/bokken/buildslave/unity/build/Modules/QuickSearch/Editor/Table/SearchReport.cs:351)
UnityEditor.Search.SearchReport.LoadFromFile (System.String filePath) (at /Users/bokken/buildslave/unity/build/Modules/QuickSearch/Editor/Table/SearchReport.cs:357)
UnityEditor.Search.SearchReportWindow.InitializeReport (System.String path) (at /Users/bokken/buildslave/unity/build/Modules/QuickSearch/Editor/Table/SearchReportWindow.cs:46)
UnityEditor.Search.SearchReportWindow.OpenWindow (System.String reportPath) (at /Users/bokken/buildslave/unity/build/Modules/QuickSearch/Editor/Table/SearchReportWindow.cs:38)
UnityEditor.Search.SearchReportWindow.OpenWindow () (at /Users/bokken/buildslave/unity/build/Modules/QuickSearch/Editor/Table/SearchReportWindow.cs:26)
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- [Silicon] Crash with multiple StackTraces when entering Play Mode in a project with corrupted FBX files
- Index Out Of Range exception when trying to use Rendering Layer Override in Probe Adjustment Volume without a mask defined in lighting settings
- [Android] [Vulkan] [WebCamTexture] "WebCamTexture.Play" crashes the application when the camera is started
- Huge performance overheads appear when there is a large amount of bindings in the UI Toolkit
- Visual Effects Graph Blackboard can't be scrolled horizontally
Add comment