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

Profiling

-

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

Comments (6)

  1. 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

  2. IgorAherne

    Jan 29, 2017 22:11

    Yep, getting same thing (I once had courage to use deep profiling. Never again)))

  3. 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.

  4. 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?

  5. flashmandv

    Jan 11, 2017 10:21

    Forgot to mention that my Unity is 5.5.0f3

  6. 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.

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.