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

Consistent Lockups after exiting Play mode

Discussion in 'Editor & General Support' started by ZeroSumGames, Jan 6, 2017.

  1. ZeroSumGames

    ZeroSumGames

    Joined:
    May 7, 2013
    Posts:
    27
    I am running Unity 5.5 in a large project. I am getting consistent lock-ups that require me to end the Unity editor process after exiting play mode. I do not even know where to begin on solving this problem. It is hindering my workflow to a significant degree.

    I have been working on this project for about 1.5 years without problems. I believe this issue only began appearing after recently upgrading from 5.4.3 to 5.5
     
  2. MSplitz-PsychoK

    MSplitz-PsychoK

    Joined:
    May 16, 2015
    Posts:
    1,278
    When Unity locks up for me, it always fully closes and brings up the bug reporter unless I'm stuck in an infinite loop. Check your OnDestroy(), OnDisable(), and OnApplicationQuit() functions for any possible infinite loops.

    You can also enable the debugger and hit "pause" to pause inside the loop you get stuck in.
     
  3. ZeroSumGames

    ZeroSumGames

    Joined:
    May 7, 2013
    Posts:
    27
    I don't think I'm getting stuck in a loop as the hangup is unpredictable. It happens regularly but not every time.