Search Unity

Cannot test with Profiler (Profiler.CollectGlobalStats 99.5% 8258ms)

Discussion in 'Editor & General Support' started by Ukitakemalcom, Aug 13, 2018.

  1. Ukitakemalcom

    Ukitakemalcom

    Joined:
    Nov 10, 2015
    Posts:
    19
    I cannot test the game with the profiler recording in Unity 2017.4.9f1

    upload_2018-8-14_16-53-29.png

    The profiler just freezes the whole editor.

    Am I doing something wrong here?
     
    Last edited: Aug 14, 2018
  2. Ukitakemalcom

    Ukitakemalcom

    Joined:
    Nov 10, 2015
    Posts:
    19
  3. Ukitakemalcom

    Ukitakemalcom

    Joined:
    Nov 10, 2015
    Posts:
    19
    We managed to narrow the problem down to a list (in an asset) that we have.

    We have a list of AudioClips that is causing this Profiler behabiour.
    The problem is the size of the list that is almost 9000. Dividing this list into multiple sublist (9 list of 1000 or 90 list of 100) didn't solve anything.

    How can we put that many AudioClips in a structure that could be used ingame without destroying the Profiler performace (and maybe the game performance)?