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
- Errors are logged when importing an asset at a path with Firebase
- Entering too big of a number in 2D Renderer Lightmode Tags freezes the Editor
- Crash on GUIManager::DoGUIEvent when focusing on the Game view window on a specific project
- Asset creation in the Project Browser is not always undone/inconsistent when the undo shortcut is pressed right after creating an asset
- JobTempAlloc memory leak warning is thrown when the Player is shut down
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.