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
- Rigidbody2D.Slide API does not have the needed configuration when creating a 2D Top-Down character controller
- Opening reference for "Playables"component redirects to a missing page
- Sprite Renderer image is changed when switching Mask Interaction and changing Sprite to a shared Sprite
- An unsigned integer is not compared with an integer correctly in player when using IL2CPP backend
- Graphical artifacts are being rendered in Scenes that are loaded during run-time when GPU Resident Drawer is turned on
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.