Search Issue Tracker
Fixed in 2021.2.X
[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
Argument Exception is thrown on opening SearchReportWindow.
CSV format-specific Report File should get opened gracefully without throwing any exceptions.
Search-Open Report functionality introduced in Unity 2021.2.0a13.
Occurring on Windows 10 & macOS 10.15.
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.
- [HDRP] Recursive rendering refraction is very different compared to Rasterization/PathTracing
- [VFX] SMR sampling first frame after culling in T-Pose
- Can't select color from Editor with color picker when Unity Editor is on Secondary monitor
- [Linux] "Error while reading movie" errors in Learning templates due to unsupported .mov video format
- [Android] Crash with Signal 11 when opening app from floating icon state