Search Unity

  1. Unity 6 Preview is now available. To find out what's new, have a look at our Unity 6 Preview blog post.
    Dismiss Notice
  2. Unity is excited to announce that we will be collaborating with TheXPlace for a summer game jam from June 13 - June 19. Learn more.
    Dismiss Notice

Resolved GetSpectrumData in Editorloop?

Discussion in 'Audio & Video' started by Personuo, Jun 2, 2022.

  1. Personuo


    Mar 19, 2014
    I test the performance impact of GetSpectrumData, I put the 8192 float[] in AudioListener.GetSpectrumData and loop it 1000 times in onEnable, then check it in profiler.
    I found that the performance spikes were counted on the Editorloop instead of the PlayerLoop.

    Is this a bug or expected?
    Last edited: Jun 3, 2022