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
- [macOS] “Input.GetMouseButtonDown” gets set to true when pressing and when releasing the mouse button in the Device Simulator view if "targetFrameRate" is set in the script
- UWP Capabilities are not changed when rebuilding the project
- [Oculus] Lights causing artifacts when Forward+ Rendering is selected
- Game Window Icons are white when in light mode
- Crash on VFXMemorySerializer::StoreObjects when converting to Subgraph Block
Add comment