Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Profiler unusable due to Profiler.CollectGlobalStats

Discussion in 'Editor & General Support' started by Sebioff, Sep 13, 2018.

  1. Sebioff

    Sebioff

    Joined:
    Dec 22, 2013
    Posts:
    218
    Since some version in the Unity 2017 cycle and up to the most recent version (2018.2.7f1) the Profiler has become so slow that it's unusable due to spending all of its time inside Profiler.CollectGlobalStats:

    profiler.png

    What exactly is this method, and is there something that can be done on our end to fix this?
     
  2. Sebioff

    Sebioff

    Joined:
    Dec 22, 2013
    Posts:
    218
    Managed to reproduce it, it's somehow caused by enabling "Preload audio data" on audio clips. Submitted repro project as case #1086988.
     
    mikaeloutside likes this.