Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

Bug Extreme Ms Spikes of random unconnected stuff on Build.

Discussion in 'Editor & General Support' started by aducceschi, Jul 29, 2023.

  1. aducceschi

    aducceschi

    Joined:
    Feb 9, 2022
    Posts:
    39
    Hello! I've made a build of my game and I'm getting huge random ms spikes of completely unrelated stuff. Which otherwise would be a smooth 200FPS+.
    Does somebody know why this is happening? I've tried to disable everything and I'm still getting the spikes.

    Also tested a completely new empty project and it has the same nonsensical ms spikes. (900+ ms).

    Specs: i5 2018 Mac Mini macOS Ventura. Unity 2022.3.5f1.
    Deep profiling is turned ON.
    Graphs:
     

    Attached Files:

    Last edited: Jul 29, 2023
  2. aducceschi

    aducceschi

    Joined:
    Feb 9, 2022
    Posts:
    39
    It's also all really specific stuff that I can't find info online about. But I'm pretty sure that something else must be causing all of these issues.
     
  3. aducceschi

    aducceschi

    Joined:
    Feb 9, 2022
    Posts:
    39
    What's interesting is that when this huge spikes happen I loose access to Rendering and Memory profiling:
     

    Attached Files: