Search Issue Tracker

Fixed in 2017.3.0f3

Won't Fix in 2017.1

Fixed in 2017.2, 2017.3



Found in


Issue ID




[UIProfiler]Time ms increases for Profiler.FinalizeAndSendFrame when the Profiler is open



To reproduce:

1. Create a new project
2. Add many different UI game objects
3. Enter Play mode
4. Open Profiler
5. Wait for a few minutes
6. Observe how much time the Profiler.FinalizeAndSendFrame method takes

Expected: Profiler.FinalizeAndSendFrame doesn't have so much overhead

Reproduced in 2017.1.0a1,2017.1.0b10, 2017.1.0f1, 2017.2.0b1
Did not reproduce in 5.6.2p1
Regression introduced in 2017.1.0a1

Fixed in 2017.3.0a7

Comments (19)

  1. F9679dc4b7c02176e5abd3071fa4ab03?d=mm


    May 18, 2018 18:19

    Don't just close the profiler, stop "recording" first.

    I want to add that I mistakenly thought that closing the profiler stops "recording" but I'm getting mixed results. I find things run much smoother if I remember to stop recording before closing the profiler window.

  2. D0b43e86beddbd1e78a55102a5c38dca?d=mm


    Sep 21, 2017 16:07

    Found a Solution. just unclick the very small square icon in the profiler : Others

  3. 58190484f1c10fafb1182b2311604b0c?d=mm


    Sep 20, 2017 05:03

    This is happening to me in version 2017.1.1f1

  4. 58190484f1c10fafb1182b2311604b0c?d=mm


    Sep 20, 2017 05:02

    Same here ! Please fix this...

  5. 15eaf40163fef4319473544a81334b12?d=mm


    Sep 19, 2017 18:27

    To get around the issue skewing our profiling, we're just automatically clearing the profiler whenever it gets into this state. You can do the same thing by sticking this in an Update() loop:

    if (UnityEditorInternal.ProfilerDriver.firstFrameIndex > 0)

  6. 15eaf40163fef4319473544a81334b12?d=mm


    Sep 19, 2017 18:17

    This seems to happen on the same frame that UnityEditorInternal.ProfilerDriver.firstFrameIndex becomes greater than 0, which reinforces the idea that it's a bug related to Unity accruing more profiler frames than it can hold in a single buffer.

  7. D0b43e86beddbd1e78a55102a5c38dca?d=mm


    Sep 16, 2017 16:05

    same Profiler.FinlazeAndSendFrame takes81.2% since i updated to 2017.1.1f1

  8. D837aaaa679058eb3be71cc09cd6cee1?d=mm


    Sep 01, 2017 03:13

    I still found the issue in version 2017.1.0p5.

  9. 772c57a735ad31653e0285570d99f2ca?d=mm


    Aug 25, 2017 23:33

    +1. On 2017.1.0f3, triggering when the window is full of samples and goes back to behaving when I hit clear.

  10. 5f4d42d7f60f1d864f67a2f3344bd84f?d=mm


    Aug 25, 2017 19:22

    Found in 2017.1.0p4

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.