Search Issue Tracker
Postponed means that the issue was either a feature request or something that requires major refactoring on our side. Since that makes the issue not actionable in the close future we choose to close it as Postponed and add it on our internal roadmaps and technical debt pages instead.
Postponed
Votes
0
Found in
2018.4
2020.2
Issue ID
1242956
Regression
No
Console errors are thrown when trying to save Profiler frames bigger than 2GB
Reproduction steps:
1. Create a new project
2. Import "ScriptThatCreatesHugeStacktrace.cs" to the project
3. In the toolbar, select "Window" > "Analysis" > "Profiler"
4. In the Profiler window, enable "Deep Profiling"
5. In the Profiler window, select "Editor" profiling
6. In the Profiler window, enable recording
7. In the toolbar, select "Test" > "Profiler"
8. After a few seconds, disable Profiler recording
9. In the Profiler window select the frame where the calculations were run (the biggest frame)
10. Save the frame
Expected result: The selected frame is saved
Actual result: The selected frame isn't saved, an error appears in the Console window: Unable to save profiler frame ... to file "...": frame size is larger than 2GB UnityEditorInternal.ProfilerDriver:SaveProfile(String) UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)
Reproduces on: 2018.4.26f1, 2019.4.6f1, 2020.1.0f1, 2020.2.0a19
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
- PlayerPrefs get corrupted when a minimized fullscreen Player is closed through the Taskbar
- "To Debug, run app with -diag-job-temp-memory-leak-validation cmd line argument. This will output the callstacks of the leaked allocations." warning is printed when JobTempMemoryLeakValidation switch is enabled
- Main Thread stalling when loading Audio Source asset asynchronously while preloading another Audio Source asset
- Material artifacts occur in the Material Preview window when baked lighting is applied to scenes
- “ArgumentOutOfRangeException” after saving, reseting and re-add Default Tile Palette Tools to the list in Preferences window
Resolution Note (2020.2.X):
The current behavior is by design - the maximum frame size profiler can serialize is 2GB.
We consider this issue as a severe and are going to address it in the future version of Unity as it requires underlying design changes.