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

Question Unity profiler, Update.ScriptRunDelayedTask causes spikes

Discussion in 'Editor & General Support' started by kevincicero98, Jan 21, 2023.

  1. kevincicero98

    kevincicero98

    Joined:
    Apr 14, 2020
    Posts:
    4
    I'm having some spikes problems in my mobile game and I think the problem is caused by the Update.ScriptRunDelayedTask, but I don't understand what it means speicifically. It means coroutines? Delay on the monobehaviour made by IEnumerator like "IEnumerator Start()" or maybe async functions that cause delay? Can you help me understand where to search? here's a screenshot of the profiler screen.PNG
     
    stonstad, nantoaqui and echolink like this.