Search Issue Tracker
Fixed
Fixed in 1.1.0-exp.1
Votes
0
Found in [Package]
1.0.0
Issue ID
PROFB-97
Regression
Yes
[Memory Profiler] "ArgumentNullException: Value cannot be null" error when trying to open a snapshot
Steps to reproduce:
1. Open the attached “MemorySnapshotErrorBug” project
2. Open Memory Profiler by going to Window → Analysis → Memory Profiler
3. Capture New Snapshot
4. Observe the Memory Profiler and the Console
Expected result: Shows no errors and shows a summary of the snapshot in Memory Profiler
Actual result: "ArgumentNullException: Value cannot be null" error in the Console and no snapshot information in the Memory Profiler
Reproducible with: 1.0.0-pre.2 (2022.2.10f1), 1.0.0 (2022.2.0a16, 2022.2.10f1)
Not reproducible with: 0.7.1-preview.1 (2020.3.46f1, 2021.3.20f1, 2022.2.10f1), 1.0.0-pre.1 (2022.2.10f1), 1.0.0 (2023.1.0b7, 2023.2.0a5)
Could not test with: 1.0.0 (2020.3.46f1, 2021.3.20f1) (editor versions aren’t compatible with 1.0.x package version)
Reproduced on: macOS Monterey 12.2 (Intel), Windows 10
Notes:
- The issue is in both Editor and package versions combined
- Comparing snapshots gives the same actual result
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- OnPostprocessAllAssets() is not called for a modified Prefab when another Asset is set Dirty in the same callback
- [Android] UIToolkit ClickEvent is fired when the device is rotated
- Compilation errors occur when "uintBitsToFloat(int)" gets used in OpenGLES
- User Reporting does not send reports when Managed Stripping Level is set to Low or higher
- Editor crashes and a window with "GetManagerFromContext: pointer to object of manager 'MonoManager' is NULL (table index 5)" error is thrown when launching a project with a corrupted library
Resolution Note (fix version 1.1.0-exp.1):
The errors shown no longer occur