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
- Unity CIL Linker fails on Player build when persistent listeners have "<" and ">" in their XML attribute names
- ”Lighting data asset ‘LightingData’ is incompatible with the current Unity version…” warnings are thrown when saving Indoors (URP) and Outdoors (URP) Scenes as Scene Templates
- [iOS] The screen blinks when transitioning from custom to Unity splash screen
- [macOS] ”Ignoring depth surface load action as it is memoryless” warnings are thrown when taking Game View Snapshot
- UI Builder Inspector scrolls back up when changes on an expanded but not fully displayed Inspector tab are saved
Resolution Note (fix version 1.1.0-exp.1):
The errors shown no longer occur