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.

Bug Playtest mode loads eternally

Discussion in 'Editor & General Support' started by HalfTangible, Jun 15, 2023.

  1. HalfTangible

    HalfTangible

    Joined:
    Aug 13, 2018
    Posts:
    1
    So, I have a small project that I'm working on, and earlier today when I hit the Play button to playtest it would load in a matter of seconds. While testing some code edits, however, I tried to re-enter playtest mode again to see if it was working, and it then froze. There's a progress bar showing it's "waiting for Unity's code to finish executing" and seems to be trying to load Application.EnterPlayMode, and the progress bar shows a green line moving across the screen, but it will stay in this state for as long as I leave it. Last time it made it to nearly an hour and as I type this now it's at about 15 minutes.

    This is not a large project (yet), it should not be taking this long to load whenever I try to playtest a scene.

    Unity version: 2022.1.11f1
     
  2. Kurt-Dekker

    Kurt-Dekker

    Joined:
    Mar 16, 2013
    Posts:
    37,265
    See pinned 4-page article at the top of this forum and the 13-page one on the Scripting forum.