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
- [VFX] Missing Expand Option with Output Slot
- [OpenGLES][XR] Zooming in on the camera's URP opaque texture causes "double vision" on Quest in OpenGLES3
- “[Worker0] Could not generate preview image“ error when opening macOS native plugin in the Inspector with Architecture to build for set to ARM 64-bit
- [iOS] Application.absoluteURL is empty on Awake/Start when opening via deep link with Splash Screen disabled
- Crash on MemoryManager::Deallocate when rapidly calling Addressables.LoadAssetAsync
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.