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. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice
  4. Dismiss Notice

2020.1.0f1 Application.EnterPlayMode hangs forever

Discussion in 'Editor & General Support' started by JU52, Aug 5, 2020.

  1. JU52

    JU52

    Joined:
    Jun 24, 2014
    Posts:
    13
    I moved over from older versions and the game will hang in the editor on PlayStart with window "Application.EnterPlayMode" - waited for 1h, uses some CPU (1 thread only?)

    How can I debug it? Nothing found here or with Google

    Windows 10.x (latest build, full pache) , VS Community Edition (latest build)

    @Unity - can upload the mess if you are interested
     
    TiMoXxa likes this.
  2. TiMoXxa

    TiMoXxa

    Joined:
    Feb 6, 2019
    Posts:
    4
    I have the same error, what should I do?
     
  3. laiying2017

    laiying2017

    Joined:
    Aug 27, 2020
    Posts:
    1
    Same problem
     
  4. unity_TFhwdgGfTLOB_A

    unity_TFhwdgGfTLOB_A

    Joined:
    Aug 27, 2020
    Posts:
    1
  5. kaisong

    kaisong

    Joined:
    Jul 24, 2019
    Posts:
    1
  6. JU52

    JU52

    Joined:
    Jun 24, 2014
    Posts:
    13
    setting Managed Stripping Level to LOW worked for me
     
  7. krakentanz

    krakentanz

    Joined:
    Aug 13, 2020
    Posts:
    34
    I'll be so honest and write what was the issue in my case

    I had created an INFINITE WHILE-LOOP.
    Fixed that, Game starts just fine

    Hope i saved some of you an hour or two of despair :(;)
     
    Joe-Censored likes this.
  8. Joe-Censored

    Joe-Censored

    Joined:
    Mar 26, 2013
    Posts:
    11,847
    This is the usual cause, glad you were able to get it resolved.

    Often how you encounter this issue specifically when you upgrade Unity Editor versions, is the order that Unity methods like Start and Update are called on your GameObjects changes. Where your code worked fine where Start on object1 is always called before Start on object2, your code breaks when Start on object2 gets called before object1 instead.