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"
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
- Character spacing value is not applied when using a specific font asset
- [Android][IL2CPP] Player crashes on __memcpy_aarch64_simd+276 when invoking native code via a plugin on some ARM64 Android devices
- [Android]Resources fail to load when the AAB build contains a large Addressables Bundle
- Unity is loading internal version of SharpZipLib instead of local version
- The Context Menu items are ordered incorrectly
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.