Search Issue Tracker
Fixed in 5.4.0
Votes
0
Found in
5.4.0a6
Issue ID
753097
Regression
No
If you leave Editor in Play mode for 1 hour - it will give error "The profiler has run out of samples for this frame..."
What happened
If you leave Editor in Play mode for 1 hour - it will give error about profiler. But I didn't even open Profiler at all.
How we can reproduce it using the example you attached
1 Open attached project and press Play
2 Leave Editor in Play mode for about 1 hour
Actual result: error appears in Console:
"The profiler has run out of samples for this frame. This frame will be skipped. Increase the sample limit using Profiler.maxNumberOfSamplesPerFrame"
Comments (3)
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
- var VisionOSEDRHeadromm has a comma instead of a dot when building with Metal Rendering App Mode and local OS localization is set to German
- IAP Catalog remove product “x” and add product “+” buttons are not consistent with other remove and add buttons in the Editor
- Performance issues in Play Mode when quickly hovering the mouse cursor over Hierarchy GameObjects
- Frame Debugger displays incorrect output when FidelityFX Super Resolution or Spatial-Temporal Upscaler is used with Temporal Anti-aliasing or Subpixel Morphological Anti-aliasing
- The layout system is failing to correctly calculate or apply the height of the Japanese fallback font when the primary English font's metrics are used
alexandru-ivan-daniel
Dec 12, 2016 09:25
The exact steps that MBCAULEY mentioned i'm getting the same problem i used it for a little cause i had some memory usage issues but right after i was done using it i started getting this error: "The profiler has run out of samples for this frame. This frame will be skipped. Increase the sample limit using Profiler.maxNumberOfSamplesPerFrame" even though i wasn't even using the profiler how can i get rid of this ?
Thelo
Nov 16, 2016 17:41
Here is a forum thread about this problem, which has in fact never been fixed as of 5.4.2f2:
https://forum.unity3d.com/threads/the-profiler-has-run-out-of-samples.321918/
mbcauley
Oct 04, 2016 22:08
I get this same issue in Unity 5.4.1f1 (as well as previous releases) if I open the Profiler up, use it for a little while, and then close it. Inevitably the error always seems to pop up unless I quit Unity with the Profiler window closed and reopen my project.
I have tried to "Clear" the Profiler before I close the window and I still get the error.