Search Issue Tracker
Fixed in 5.5.0f3
Votes
0
Found in
5.5.0b1
2018.2.0a6
Issue ID
828287
Regression
Yes
Non matching Profiler.EndSample (BeginSample and EndSample count must match) assert is thrown when profiling editor
Steps to reproduce:
1. Create new project
2. Open profiler
3. Enable "Profiler Editor"
4. Enable "Record"
5. Enable "Deep profiler"
- Notice assert in console: Non matching Profiler.EndSample (BeginSample and EndSample count must match)
Reproduced with: 5.5.0b1, 5.5.0b2
Not reproducible: 5.4.0p4
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
- Articulation Body with 'Revolute' Joint Type has erratic behavior when Upper Limit is set to above 360
- WebGL Player fails to render Scene when Terrain with Detail Mesh is added and WebGPU Graphics API is used
- Inconsistent errors are logged when different types are passed into the Query "Q<>" method in UIToolkit and the ancestor VisualElement is null
- Crash on GetMaterialPropertyByIndex when opening a specific Scene
- Discrepancies in the styling are present when using a TSS file instead of a USS file in custom EditorWindow
IgorAherne
Jan 29, 2017 22:13
I didn't enable "deep rpofiling" I just wrapped the code in BeginSample() and EndSample()
Afterwards I removed them, saved and exited unity.
Been getting this error occasionally since. Nothing serious, but it puts gameplay (once) on pause when I begin playing
IgorAherne
Jan 29, 2017 22:11
Yep, getting same thing (I once had courage to use deep profiling. Never again)))
herkip
Jan 26, 2017 23:35
Same issue with Unity 5.5.0f3. Some times i get'it right away and other times it takes couple of seconds.
mugmanOne
Jan 15, 2017 14:51
@FLASHMANDVJAN are you using Dropbox or Google Drive to store your project?
And are you using ToString() in any way?
flashmandv
Jan 11, 2017 10:21
Forgot to mention that my Unity is 5.5.0f3
flashmandv
Jan 11, 2017 10:20
LOL
I reproduce it almost every time I hit Play in my Unity editor.
Firstly it crashes right away, then on the second try it crashes a bit later..and after few times I manage to go through my game and play in Editor.