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
- "Shader warning in 'Hidden/HDRP/DownsampleDepth'" warnings are thrown after building a project
- Scene is not rendered and appears black when the Custom Renderer Feature is utilized
- [ShortcutManager] The Context Menu is not updated in the Shortcuts menu when resolving a Binding Conflict
- [Quest] Foveation Level is 0 when SRP Foveation is enabled
- Freeze when displaying text with "-T" in Play mode
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.