Search Unity

  1. Unity 6 Preview is now available. To find out what's new, have a look at our Unity 6 Preview blog post.
    Dismiss Notice
  2. Unity is excited to announce that we will be collaborating with TheXPlace for a summer game jam from June 13 - June 19. Learn more.
    Dismiss Notice
  3. Dismiss Notice

Question Relaunch Unity (Hub and Editor)

Discussion in 'Unity Hub' started by gueAT, Apr 16, 2024.

  1. gueAT

    gueAT

    Joined:
    Jan 25, 2022
    Posts:
    3
    I would like to find a way to (intentionally) trigger that popup I attached starting the Hub.
    Our project is quit code intensive and many Editor crashes occur, it is difficult to narrow down why. The problem is not that Unity crashes but that an Editor (re)start from the Hub (every now and then) says, that an instance is already running (even after waiting). Now, closing the Hup and reopening it often ends up staying at that Hub loading screen and never reaching the project-list view. At that point one can restart the computer, or start killing processes to get the Hub to start which at some point triggers that (attached) popup. After that, everything works fine again.

    Bildschirmfoto 2024-04-16 um 16.22.30.png

    Current Editor 2022.3, was the same with 2021.x. Current machine: M1 Pro, Sonoma 14.4
     
  2. CodeSmile

    CodeSmile

    Joined:
    Apr 10, 2014
    Posts:
    6,934
    The project has a Temp folder in which you will find a file named "UnityLockFile" (or quite similar). Delete that file and you can reopen the project.

    If the file is not deletable most likely the editor process is still lingering and holding a lock on that file. In that case you can't do much other than restarting the system.

    M1 suffer from various stability issues with Unity, there are numerous complaints. Perhaps if you search specifically for your crash (see editor.log) and M1 you may find some tips.
     
  3. gueAT

    gueAT

    Joined:
    Jan 25, 2022
    Posts:
    3
    Thanks a lot, I'll give it a try.