Unity: [Unity 2018.3.7f1][Github for Unity 1.2.1-6394] Editor Freeze

github-unity.log (click me)
SystemDrive:C:
HOME:C:\Users\sorap
windir:C:\WINDOWS
GHU_WORKINGDIR:D:\Users\Dokumente\Unity3D\New Unity Project
FPS_BROWSER_USER_PROFILE_STRING:Default
HOMEPATH:\Users\sorap
GHU_FULLPATH:C:\Program Files\Git LFS;C:\Program Files\Git\cmd;C:\Program Files\Git\usr\bin;C:\Program Files\Git\mingw64\libexec\git-core;C:\Program Files\Git\mingw64\bin;END;C:\Program Files\Docker\Docker\Resources\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\Program Files\Git LFS;D:\Programme\MikTex_2_9\miktex\bin\x64\;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;D:\Programme\Windows Kits\10\WindowsSDK\Windows Performance Toolkit\;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\WINDOWS\System32\OpenSSH\;C:\Program Files\NVIDIA Corporation\NVIDIA NvDLISR;C:\Program Files (x86)\Microsoft VS Code\bin;C:\Program Files\Git\cmd;C:\Program Files\Docker\Docker\Resources\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\Program Files\Git LFS;D:\Programme\MikTex_2_9\miktex\bin\x64\;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;D:\Programme\Windows Kits\10\WindowsSDK\Windows Performance Toolkit\;C:\WINDOWS\System32\OpenSSH\;C:\Program Files\NVIDIA Corporation\NVIDIA NvDLISR;C:\Users\sorap\AppData\Local\Microsoft\WindowsApps;C:\Users\sorap\AppData\Roaming\npm;D:\Programme\nodejs;C:\Python36;C:\Python36\Scripts;D:\tmp\docker-platformio-core-master\platformio.sh
CommonProgramFiles(x86):C:\Program Files (x86)\Common Files
APPDATA:C:\Users\sorap\AppData\Roaming
OneDrive:C:\Users\sorap\OneDrive
PROCESSOR_LEVEL:6
CommonProgramW6432:C:\Program Files\Common Files
ProgramFiles(x86):C:\Program Files (x86)
SystemRoot:C:\WINDOWS
SESSIONNAME:Console
GIT_LFS_PATH:C:\Program Files\Git LFS
LOGONSERVER:\\HRZR-MATRIX
LOCALAPPDATA:C:\Users\sorap\AppData\Local
HOMEDRIVE:C:
USERDOMAIN_ROAMINGPROFILE:HRZR-MATRIX
ProgramData:C:\ProgramData
 ---> GitHub.Unity.ProcessException: Process timed out
  at GitHub.Unity.ProcessWrapper.Run () [0x001d9] in C:\projects\unity\src\GitHub.Api\Tasks\ProcessTask.cs:164 
   --- End of inner exception stack trace ---
GitHub.Unity.ProcessException: Process timed out
  at GitHub.Unity.ProcessWrapper.Run () [0x001d9] in C:\projects\unity\src\GitHub.Api\Tasks\ProcessTask.cs:164 
=======
  at GitHub.Unity.Repository.InvalidationFailed (System.Exception ex, GitHub.Unity.CacheType cacheType) [0x00000] in C:\projects\unity\src\GitHub.Api\Git\Repository.cs:248 
  at GitHub.Unity.Repository+<>c__DisplayClass68_0.<CacheHasBeenInvalidated>b__3 (System.Exception ex) [0x00000] in C:\projects\unity\src\GitHub.Api\Git\Repository.cs:225 
  at System.Reflection.MonoMethod.InternalInvoke () [0x00000] in <d7ac571ca2d04b2f981d0d886fa067cf>:0 
  at System.Reflection.MonoMethod.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <d7ac571ca2d04b2f981d0d886fa067cf>:0 
  at System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) [0x00000] in <d7ac571ca2d04b2f981d0d886fa067cf>:0 
  at System.Delegate.DynamicInvokeImpl (System.Object[] args) [0x00000] in <d7ac571ca2d04b2f981d0d886fa067cf>:0 
  at System.MulticastDelegate.DynamicInvokeImpl (System.Object[] args) [0x00000] in <d7ac571ca2d04b2f981d0d886fa067cf>:0 
  at System.Delegate.DynamicInvoke (System.Object[] args) [0x00000] in <d7ac571ca2d04b2f981d0d886fa067cf>:0 
  at GitHub.Unity.TaskBase.RaiseFaultHandlers (System.Exception ex) [0x00074] in C:\projects\unity\src\GitHub.Api\Tasks\TaskBase.cs:453 
  at GitHub.Unity.ProcessTaskWithListOutput`1+<>c__DisplayClass20_0[T].<RunWithReturn>b__1 () [0x000b5] in C:\projects\unity\src\GitHub.Api\Tasks\ProcessTask.cs:497 
  at GitHub.Unity.ProcessWrapper.Run () [0x003cd] in C:\projects\unity\src\GitHub.Api\Tasks\ProcessTask.cs:199 
  at GitHub.Unity.ProcessTaskWithListOutput`1[T].RunWithReturn (System.Boolean success) [0x00061] in C:\projects\unity\src\GitHub.Api\Tasks\ProcessTask.cs:506 
  at GitHub.Unity.TaskBase`1[TResult].RunSynchronously () [0x00049] in C:\projects\unity\src\GitHub.Api\Tasks\TaskBase.cs:685 
  at System.Threading.Tasks.Task`1[TResult].InnerInvoke () [0x00000] in <d7ac571ca2d04b2f981d0d886fa067cf>:0 
  at System.Threading.Tasks.Task.Execute () [0x00000] in <d7ac571ca2d04b2f981d0d886fa067cf>:0 
  at System.Threading.Tasks.Task.ExecutionContextCallback (System.Object obj) [0x00000] in <d7ac571ca2d04b2f981d0d886fa067cf>:0 
  at System.Threading.ExecutionContext.RunInternal (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00000] in <d7ac571ca2d04b2f981d0d886fa067cf>:0 
  at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00000] in <d7ac571ca2d04b2f981d0d886fa067cf>:0 
  at System.Threading.Tasks.Task.ExecuteWithThreadLocal (System.Threading.Tasks.Task& currentTaskSlot) [0x00000] in <d7ac571ca2d04b2f981d0d886fa067cf>:0 
  at System.Threading.Tasks.Task.ExecuteEntry (System.Boolean bPreventDoubleExecution) [0x00000] in <d7ac571ca2d04b2f981d0d886fa067cf>:0 
  at System.Threading.Tasks.TaskScheduler.TryExecuteTask (System.Threading.Tasks.Task task) [0x00000] in <d7ac571ca2d04b2f981d0d886fa067cf>:0 
  at GitHub.Unity.ThreadPerTaskScheduler+<>c__DisplayClass4_0.<QueueTask>b__0 () [0x00000] in C:\projects\unity\src\GitHub.Api\Tasks\ConcurrentExclusiveInterleave.cs:440 
  at System.Threading.ThreadHelper.ThreadStart_Context (System.Object state) [0x00000] in <d7ac571ca2d04b2f981d0d886fa067cf>:0 
  at System.Threading.ExecutionContext.RunInternal (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00000] in <d7ac571ca2d04b2f981d0d886fa067cf>:0 
  at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00000] in <d7ac571ca2d04b2f981d0d886fa067cf>:0 
  at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state) [0x00000] in <d7ac571ca2d04b2f981d0d886fa067cf>:0 
  at System.Threading.ThreadHelper.ThreadStart () [0x00000] in <d7ac571ca2d04b2f981d0d886fa067cf>:0 
190305-14:26:33.973 ERROR [76] <TaskManager>                       Exception on concurrent thread: 2 git lfs locks
GitHub.Unity.ProcessException: Error code -42
Process timed out
'C:\Program Files\Git LFS\git-lfs.exe locks --json'
PLINK_PROTOCOL:ssh
USERDOMAIN:HRZR-MATRIX
ProgramFiles:C:\Program Files
TMP:C:\Users\sorap\AppData\Local\Temp
PROCESSOR_ARCHITECTURE:AMD64
DISPLAY:0
PROCESSOR_REVISION:3c03
OS:Windows_NT
ALLUSERSPROFILE:C:\ProgramData
PROCESSOR_IDENTIFIER:Intel64 Family 6 Model 60 Stepping 3, GenuineIntel
CHROME_ALLOCATOR:TCMALLOC
GOOGLE_API_KEY:AIzaSyAQfxPJiounkhOjODEO5ZieffeBv6yft2Q
ProgramW6432:C:\Program Files
TERM:msys
USERPROFILE:C:\Users\sorap
JAVA_HOME:D:\Programme\Java\jdk_1_8
CommonProgramFiles:C:\Program Files\Common Files
DriverData:C:\Windows\System32\Drivers\DriverData
ComSpec:C:\WINDOWS\system32\cmd.exe
GITLFSLOCKSENABLED:1
PSModulePath:C:\Program Files\WindowsPowerShell\Modules;C:\WINDOWS\system32\WindowsPowerShell\v1.0\Modules
PUBLIC:C:\Users\Public
USERNAME:sorap
NUMBER_OF_PROCESSORS:4
FPS_BROWSER_APP_PROFILE_STRING:Internet Explorer
TEMP:C:\Users\sorap\AppData\Local\Temp
Path:C:\Program Files\Docker\Docker\Resources\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\Program Files\Git LFS;D:\Programme\MikTex_2_9\miktex\bin\x64\;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;D:\Programme\Windows Kits\10\WindowsSDK\Windows Performance Toolkit\;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\WINDOWS\System32\OpenSSH\;C:\Program Files\NVIDIA Corporation\NVIDIA NvDLISR;C:\Program Files (x86)\Microsoft VS Code\bin;C:\Program Files\Git\cmd;C:\Program Files\Docker\Docker\Resources\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\Program Files\Git LFS;D:\Programme\MikTex_2_9\miktex\bin\x64\;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;D:\Programme\Windows Kits\10\WindowsSDK\Windows Performance Toolkit\;C:\WINDOWS\System32\OpenSSH\;C:\Program Files\NVIDIA Corporation\NVIDIA NvDLISR;C:\Users\sorap\AppData\Local\Microsoft\WindowsApps;C:\Users\sorap\AppData\Roaming\npm;D:\Programme\nodejs;C:\Python36;C:\Python36\Scripts;D:\tmp\docker-platformio-core-master\platformio.sh
GIT_EXEC_PATH:C:\Program Files\Git\mingw64\libexec\git-core
COMPUTERNAME:HRZR-MATRIX
PATH:C:\Program Files\Git LFS;C:\Program Files\Git\cmd;C:\Program Files\Git\usr\bin;C:\Program Files\Git\mingw64\libexec\git-core;C:\Program Files\Git\mingw64\bin;END;C:\Program Files\Docker\Docker\Resources\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\Program Files\Git LFS;D:\Programme\MikTex_2_9\miktex\bin\x64\;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;D:\Programme\Windows Kits\10\WindowsSDK\Windows Performance Toolkit\;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\WINDOWS\System32\OpenSSH\;C:\Program Files\NVIDIA Corporation\NVIDIA NvDLISR;C:\Program Files (x86)\Microsoft VS Code\bin;C:\Program Files\Git\cmd;C:\Program Files\Docker\Docker\Resources\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\Program Files\Git LFS;D:\Programme\MikTex_2_9\miktex\bin\x64\;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;D:\Programme\Windows Kits\10\WindowsSDK\Windows Performance Toolkit\;C:\WINDOWS\System32\OpenSSH\;C:\Program Files\NVIDIA Corporation\NVIDIA NvDLISR;C:\Users\sorap\AppData\Local\Microsoft\WindowsApps;C:\Users\sorap\AppData\Roaming\npm;D:\Programme\nodejs;C:\Python36;C:\Python36\Scripts;D:\tmp\docker-platformio-core-master\platformio.sh
PATHEXT:.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC
SystemDrive:C:
HOME:C:\Users\sorap
windir:C:\WINDOWS
GHU_WORKINGDIR:D:\Users\Dokumente\Unity3D\New Unity Project
FPS_BROWSER_USER_PROFILE_STRING:Default
HOMEPATH:\Users\sorap
GHU_FULLPATH:C:\Program Files\Git LFS;C:\Program Files\Git\cmd;C:\Program Files\Git\usr\bin;C:\Program Files\Git\mingw64\libexec\git-core;C:\Program Files\Git\mingw64\bin;END;C:\Program Files\Docker\Docker\Resources\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\Program Files\Git LFS;D:\Programme\MikTex_2_9\miktex\bin\x64\;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;D:\Programme\Windows Kits\10\WindowsSDK\Windows Performance Toolkit\;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\WINDOWS\System32\OpenSSH\;C:\Program Files\NVIDIA Corporation\NVIDIA NvDLISR;C:\Program Files (x86)\Microsoft VS Code\bin;C:\Program Files\Git\cmd;C:\Program Files\Docker\Docker\Resources\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\Program Files\Git LFS;D:\Programme\MikTex_2_9\miktex\bin\x64\;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;D:\Programme\Windows Kits\10\WindowsSDK\Windows Performance Toolkit\;C:\WINDOWS\System32\OpenSSH\;C:\Program Files\NVIDIA Corporation\NVIDIA NvDLISR;C:\Users\sorap\AppData\Local\Microsoft\WindowsApps;C:\Users\sorap\AppData\Roaming\npm;D:\Programme\nodejs;C:\Python36;C:\Python36\Scripts;D:\tmp\docker-platformio-core-master\platformio.sh
CommonProgramFiles(x86):C:\Program Files (x86)\Common Files
APPDATA:C:\Users\sorap\AppData\Roaming
OneDrive:C:\Users\sorap\OneDrive
PROCESSOR_LEVEL:6
CommonProgramW6432:C:\Program Files\Common Files
ProgramFiles(x86):C:\Program Files (x86)
SystemRoot:C:\WINDOWS
SESSIONNAME:Console
GIT_LFS_PATH:C:\Program Files\Git LFS
LOGONSERVER:\\HRZR-MATRIX
LOCALAPPDATA:C:\Users\sorap\AppData\Local
HOMEDRIVE:C:
USERDOMAIN_ROAMINGPROFILE:HRZR-MATRIX
ProgramData:C:\ProgramData
 ---> GitHub.Unity.ProcessException: Process timed out
  at GitHub.Unity.ProcessWrapper.Run () [0x001d9] in C:\projects\unity\src\GitHub.Api\Tasks\ProcessTask.cs:164 
   --- End of inner exception stack trace ---
  at GitHub.Unity.ProcessTaskWithListOutput`1+<>c__DisplayClass20_0[T].<RunWithReturn>b__1 () [0x000da] in C:\projects\unity\src\GitHub.Api\Tasks\ProcessTask.cs:498 
  at GitHub.Unity.ProcessWrapper.Run () [0x003cd] in C:\projects\unity\src\GitHub.Api\Tasks\ProcessTask.cs:199 
  at GitHub.Unity.ProcessTaskWithListOutput`1[T].RunWithReturn (System.Boolean success) [0x00061] in C:\projects\unity\src\GitHub.Api\Tasks\ProcessTask.cs:506 
  at GitHub.Unity.TaskBase`1[TResult].RunSynchronously () [0x00049] in C:\projects\unity\src\GitHub.Api\Tasks\TaskBase.cs:685 
  at System.Threading.Tasks.Task`1[TResult].InnerInvoke () [0x0000f] in <d7ac571ca2d04b2f981d0d886fa067cf>:0 
  at System.Threading.Tasks.Task.Execute () [0x00010] in <d7ac571ca2d04b2f981d0d886fa067cf>:0 
GitHub.Unity.ProcessException: Process timed out
  at GitHub.Unity.ProcessWrapper.Run () [0x001d9] in C:\projects\unity\src\GitHub.Api\Tasks\ProcessTask.cs:164 
=======
  at GitHub.Unity.TaskManager+<>c__DisplayClass30_0`1[T].<ScheduleConcurrent>b__0 (System.Threading.Tasks.Task tt) [0x00000] in C:\projects\unity\src\GitHub.Api\Tasks\TaskManager.cs:146 
  at System.Threading.Tasks.ContinuationTaskFromTask.InnerInvoke () [0x00000] in <d7ac571ca2d04b2f981d0d886fa067cf>:0 
  at System.Threading.Tasks.Task.Execute () [0x00000] in <d7ac571ca2d04b2f981d0d886fa067cf>:0 
  at System.Threading.Tasks.Task.ExecutionContextCallback (System.Object obj) [0x00000] in <d7ac571ca2d04b2f981d0d886fa067cf>:0 
  at System.Threading.ExecutionContext.RunInternal (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00000] in <d7ac571ca2d04b2f981d0d886fa067cf>:0 
  at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00000] in <d7ac571ca2d04b2f981d0d886fa067cf>:0 
  at System.Threading.Tasks.Task.ExecuteWithThreadLocal (System.Threading.Tasks.Task& currentTaskSlot) [0x00000] in <d7ac571ca2d04b2f981d0d886fa067cf>:0 
  at System.Threading.Tasks.Task.ExecuteEntry (System.Boolean bPreventDoubleExecution) [0x00000] in <d7ac571ca2d04b2f981d0d886fa067cf>:0 
  at System.Threading.Tasks.TaskScheduler.TryExecuteTask (System.Threading.Tasks.Task task) [0x00000] in <d7ac571ca2d04b2f981d0d886fa067cf>:0 
  at GitHub.Unity.ThreadPerTaskScheduler+<>c__DisplayClass4_0.<QueueTask>b__0 () [0x00000] in C:\projects\unity\src\GitHub.Api\Tasks\ConcurrentExclusiveInterleave.cs:440 
  at System.Threading.ThreadHelper.ThreadStart_Context (System.Object state) [0x00000] in <d7ac571ca2d04b2f981d0d886fa067cf>:0 
  at System.Threading.ExecutionContext.RunInternal (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00000] in <d7ac571ca2d04b2f981d0d886fa067cf>:0 
  at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00000] in <d7ac571ca2d04b2f981d0d886fa067cf>:0 
  at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state) [0x00000] in <d7ac571ca2d04b2f981d0d886fa067cf>:0 
  at System.Threading.ThreadHelper.ThreadStart () [0x00000] in <d7ac571ca2d04b2f981d0d886fa067cf>:0 

Description

Unity Freezes after making changes to the project and pressing play.

Steps to Reproduce

So i wrote a rather long e-mail to the unity support today after i opened an issue yesterday, because of the freeze. and after further investigation and testing it seems to be an issue of this plugin and not on the unity side.

the full mail is here, including every steps i made to get it to freeze - multiple times

[The mail I wrote]

Hi,

Thanks for the fast reply! After reporting the bug yesterday, i created a new project - because it seems the bug happened only in this one project. So in this new project (Unity 2018.3.7f1) I added the meshes and materials for our project and added the Github for Unity (https://unity.github.com/) plugin.

I tested spamming the play/stop button and it never froze.

(While writing this email, i’m (re)doing those tests, so the following is kind of an log file) (After finishing this mail I think i could pin it down to the Github for Unity plugin, and I’m going to create an issue there, but my testings and findings might be interesting for you so I’m sending the whole mail anyway. Wall of Text following)

The next thing i did was importing cinemachine (2.2.8). I added an Free Look Camera (Menu: Cinemachine > Free Look) and created an empty gameobject “lookAt” which i used as lookAt for the cinemachine Free Look Camera. (I’m not using a follow object). Pressed Play: the editor froze.

I killed the process and restarted the project. now i could play the scene without issue. I added the “lookAt” gameobject also as follow target for the cinemachine Free Look Camera. pressed play -> the editor froze.

I killed the process again, and restarted the project. pressing play and the scene does play now with a lookAt and follow target. So i removed look at and follow target from the Free Look Camera, and pressing play worked just fine. re-adding both and pressing play made the editor freeze again.

I removed all the Cinemachine objects from the scene, moved the camera to another position. pressed play it worked. stopped and pressing play again froze the editor. after a restart it froze again.

I removed Cinemachine via the package manager. And delted the Gizmos folder cinemachine created. pressing play -> the editor froze. After restarting it, now with cinemachine uninstalled i can spam play/stop without freezing moving the camera in the scene view and no freezing.

that made me wondering. i added a box collider to the camera, pressed play -> the editor froze.

So in the current state unity freezes when i simply add a component and press play.

I went to \AppData\Roaming\Unity and removed the Caches, Editor-5.x and Packages folder. Aswell as the Library, Logs and Temp folder in my Project. I restarted the project, opened my scene again.

spamming play/stop does not result in a freeze. removing the box collider from the camera (that was saved earlier) and pressing play does not result in a freeze. adding it again and pressing play - does not result in a freeze

changing the editor layout to my preferences. changing positions, adding components - pressing play: no freeze.

my conclusions out of this testing (so far)

  • it has something to do with cinemachine, and the way packages are installed and cached.
  • the editor freezing makes it really hard to find why it does this

maximizing the editor window - pressing play: freeze (at this point i was like WTF) restarted the editor, changed the layout again because it was not saved. pressing play - worked. maximizing + pressing play - worked. changing the window size pressing play. minimizing, maximizing pressing play. no freeze.

my conclusios so far

  • from observing the behaviour I’d say it is a problem with my machine. BUT: that can’t be the problem, because i did not even realize that the project froze until a friend that also works on the project wrote me about it.
  • the editor works fine again, its that one freeze after maximizing the editor window that puzzles me. and i can’t reproduce that one.

also this is the second time i made these tests. last night i did all of this, too (adding cinemachine - freezing the editor multiple times, removing cinemachine still freezing, clearing caches and everything working fine again)

My System: Core i5-4670K GTX 970 16GB DDR 3 RAM MSI Z87-G43

Windows 10 Pro (version 1803)


I used the package manager to import Cinemachine 2.2.7 and tried some of the things that made the editor crash with Cinemachine 2.2.8. it was way harder to do that but after playing around with the follow / lookAt fields in the freeLook camera i managed to do it again.

also note: the rest of my computer responds just fine, its only unity that freezes. also note: when unity freezes it has 0% CPU usage (and ~650 MB RAM). so it does not seem to be an infinite loop - maybe a deadlock?

again after removing the Cinemachine 2.2.7 gameobjects the editor is still freezing when adding/removing components I removed the Package with the package manager. and it seemed stable at first, but i managed to crash it with multiple component changes After that it seemed again stable, i could not crash it with GameObject/component changes. but i deleted the gizmos folder that cinemachine created and it crashed again.

I tried to crash it again with minimizing / maximizing the editor window or creating/deleting assets or changing components/game objects but no luck so far. it seems to be stable again.

my conclusios so far

  • if it has something to do with cinemachine, both 2.2.7 and 2.2.8 are affected.

I installed the post processing package from the package manager. I added Volume and Layer to my camera fiddled a bit with components, pressed play and it crashed

my conclusios so far

  • it has nothing to do with cinemachine.

I removed the Github plugin, and tried some of the things i did prior to freeze the Editor. and it seems to be stable for now.

my conclusios so far

  • its the Github plugin, but: i also use this plugin in another project where i have absolutely no issues at all.

I imported cinemachine 2.2.8 again (note, sometimes after installing it no Gizmos folder is created, but this is just a side note). no freezes so far.

so it really is the Github plugin - but why does my other project work fine? i.d.k. but i will post an issue on the github plugins repository.


after sending the mail I readded the plugin to the project. it first seemed to be stable, but after restarting the editor, i wanted to change the branch, which the tool did not let me (so i did it manually on the command line) and i wanted to commit my testings but the commit button stayed disabled. so i did the commit manually. restarded unity and at this point i can reproduce the freezes again.


Expected behavior: Not Freezing, but instead playing the scene
Actual behavior: Untiy freezing
Reproduces how often: ~95-100%

Additional Information

  • sometimes it freezes when trying to close Unity, not just when pressing play.

About this issue

  • Original URL
  • State: closed
  • Created 5 years ago
  • Reactions: 5
  • Comments: 19

Most upvoted comments

Same issue for me. I uninstalled Github for Unity and everything started working again.

@soraphis i also have this issues with 1.3 still. if you end the github for unity task(along with LTS) in task manager you can temporarly Get rid of freeze but it will come again and again in a minute.

My Editor is still freezing, on 2019.1.4.f1. also geting the multiple instance issue @vvalente87 had… GithubForUnityIssue

So I restarted unity and this time I looked at the boot log for git log for unity… here are the interseting snippets: …LogSnippet1

190526-13:44:55.489 TRACE [57] <ProcessWrapper> Running ‘C:\Users<RETRACTED_USERNAME>\AppData\Local\GitHubUnity\git-lfs\git-lfs.exe locks --json’ 190526-13:44:55.631 TRACE [ 1] <IApplicationManager> Restarted C:\GIT<RETRACTED-UNITY-PROJECT> 190526-13:45:00.531 WARN [57] <Repository> Error invalidating GitLocks GitHub.Unity.ProcessException: Error code -42 Process timed out ‘C:\Users<RETRACTED_USERNAME>\AppData\Local\GitHubUnity\git-lfs\git-lfs.exe locks --json’

GitHub.Unity.ProcessException: Process timed out at GitHub.Unity.ProcessWrapper.Run () [0x001d9] in C:\projects\unity\src\GitHub.Api\Tasks\ProcessTask.cs:164 — End of inner exception stack trace — GitHub.Unity.ProcessException: Process timed out at GitHub.Unity.ProcessWrapper.Run () [0x001d9] in C:\projects\unity\src\GitHub.Api\Tasks\ProcessTask.cs:164

at GitHub.Unity.Repository.InvalidationFailed (System.Exception ex, GitHub.Unity.CacheType cacheType) [0x00000] in C:\projects\unity\src\GitHub.Api\Git\Repository.cs:262 at GitHub.Unity.Repository+<>c__DisplayClass74_0.<CacheHasBeenInvalidated>b__4 (System.Exception ex) [0x00000] in C:\projects\unity\src\GitHub.Api\Git\Repository.cs:239 at System.Reflection.MonoMethod.InternalInvoke (System.Object obj, System.Object[] parameters, System.Exception& exc) [0x00000] in <1f0c1ef1ad524c38bbc5536809c46b48>:0 at System.Reflection.MonoMethod.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <1f0c1ef1ad524c38bbc5536809c46b48>:0 at System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) [0x00000] in <1f0c1ef1ad524c38bbc5536809c46b48>:0 at System.Delegate.DynamicInvokeImpl (System.Object[] args) [0x00000] in <1f0c1ef1ad524c38bbc5536809c46b48>:0 at System.MulticastDelegate.DynamicInvokeImpl (System.Object[] args) [0x00000] in <1f0c1ef1ad524c38bbc5536809c46b48>:0 at System.Delegate.DynamicInvoke (System.Object[] args) [0x00000] in <1f0c1ef1ad524c38bbc5536809c46b48>:0 at GitHub.Unity.TaskBase.RaiseFaultHandlers (System.Exception ex) [0x00074] in C:\projects\unity\src\GitHub.Api\Tasks\TaskBase.cs:453 at GitHub.Unity.ProcessTaskWithListOutput1+<>c__DisplayClass20_0[T].<RunWithReturn>b__1 () [0x000b5] in C:\projects\unity\src\GitHub.Api\Tasks\ProcessTask.cs:497 at GitHub.Unity.ProcessWrapper.Run () [0x003cd] in C:\projects\unity\src\GitHub.Api\Tasks\ProcessTask.cs:199 at GitHub.Unity.ProcessTaskWithListOutput1[T].RunWithReturn (System.Boolean success) [0x00061] in C:\projects\unity\src\GitHub.Api\Tasks\ProcessTask.cs:506 at GitHub.Unity.TaskBase1[TResult].RunSynchronously () [0x00049] in C:\projects\unity\src\GitHub.Api\Tasks\TaskBase.cs:685 at System.Threading.Tasks.Task1[TResult].InnerInvoke () [0x00000] in <1f0c1ef1ad524c38bbc5536809c46b48>:0 at System.Threading.Tasks.Task.Execute () [0x00000] in <1f0c1ef1ad524c38bbc5536809c46b48>:0 at System.Threading.Tasks.Task.ExecutionContextCallback (System.Object obj) [0x00000] in <1f0c1ef1ad524c38bbc5536809c46b48>:0 at System.Threading.ExecutionContext.RunInternal (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00000] in <1f0c1ef1ad524c38bbc5536809c46b48>:0 at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00000] in <1f0c1ef1ad524c38bbc5536809c46b48>:0 at System.Threading.Tasks.Task.ExecuteWithThreadLocal (System.Threading.Tasks.Task& currentTaskSlot) [0x00000] in <1f0c1ef1ad524c38bbc5536809c46b48>:0 at System.Threading.Tasks.Task.ExecuteEntry (System.Boolean bPreventDoubleExecution) [0x00000] in <1f0c1ef1ad524c38bbc5536809c46b48>:0 at System.Threading.Tasks.TaskScheduler.TryExecuteTask (System.Threading.Tasks.Task task) [0x00000] in <1f0c1ef1ad524c38bbc5536809c46b48>:0 at GitHub.Unity.ThreadPerTaskScheduler+<>c__DisplayClass4_0.<QueueTask>b__0 () [0x00000] in C:\projects\unity\src\GitHub.Api\Tasks\ConcurrentExclusiveInterleave.cs:440 at System.Threading.ThreadHelper.ThreadStart_Context (System.Object state) [0x00000] in <1f0c1ef1ad524c38bbc5536809c46b48>:0 at System.Threading.ExecutionContext.RunInternal (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00000] in <1f0c1ef1ad524c38bbc5536809c46b48>:0 at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00000] in <1f0c1ef1ad524c38bbc5536809c46b48>:0 at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state) [0x00000] in <1f0c1ef1ad524c38bbc5536809c46b48>:0 at System.Threading.ThreadHelper.ThreadStart () [0x00000] in <1f0c1ef1ad524c38bbc5536809c46b48>:0 190526-13:45:00.535 ERROR [60] <TaskManager> Exception on concurrent thread: 1 git lfs locks GitHub.Unity.ProcessException: Error code -42 Process timed out

GitHub.Unity.ProcessException: Process timed out at GitHub.Unity.ProcessWrapper.Run () [0x001d9] in C:\projects\unity\src\GitHub.Api\Tasks\ProcessTask.cs:164 — End of inner exception stack trace — at GitHub.Unity.ProcessTaskWithListOutput1+<>c__DisplayClass20_0[T].<RunWithReturn>b__1 () [0x000da] in C:\projects\unity\src\GitHub.Api\Tasks\ProcessTask.cs:498 at GitHub.Unity.ProcessWrapper.Run () [0x003cd] in C:\projects\unity\src\GitHub.Api\Tasks\ProcessTask.cs:199 at GitHub.Unity.ProcessTaskWithListOutput1[T].RunWithReturn (System.Boolean success) [0x00061] in C:\projects\unity\src\GitHub.Api\Tasks\ProcessTask.cs:506 at GitHub.Unity.TaskBase1[TResult].RunSynchronously () [0x00049] in C:\projects\unity\src\GitHub.Api\Tasks\TaskBase.cs:685 at System.Threading.Tasks.Task1[TResult].InnerInvoke () [0x0000f] in <1f0c1ef1ad524c38bbc5536809c46b48>:0 at System.Threading.Tasks.Task.Execute () [0x00010] in <1f0c1ef1ad524c38bbc5536809c46b48>:0 GitHub.Unity.ProcessException: Process timed out at GitHub.Unity.ProcessWrapper.Run () [0x001d9] in C:\projects\unity\src\GitHub.Api\Tasks\ProcessTask.cs:164

at GitHub.Unity.TaskManager+<>c__DisplayClass30_0`1[T].<ScheduleConcurrent>b__0 (System.Threading.Tasks.Task tt) [0x00000] in C:\projects\unity\src\GitHub.Api\Tasks\TaskManager.cs:146 at System.Threading.Tasks.ContinuationTaskFromTask.InnerInvoke () [0x00000] in <1f0c1ef1ad524c38bbc5536809c46b48>:0 at System.Threading.Tasks.Task.Execute () [0x00000] in <1f0c1ef1ad524c38bbc5536809c46b48>:0 at System.Threading.Tasks.Task.ExecutionContextCallback (System.Object obj) [0x00000] in <1f0c1ef1ad524c38bbc5536809c46b48>:0 at System.Threading.ExecutionContext.RunInternal (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00000] in <1f0c1ef1ad524c38bbc5536809c46b48>:0 at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00000] in <1f0c1ef1ad524c38bbc5536809c46b48>:0 at System.Threading.Tasks.Task.ExecuteWithThreadLocal (System.Threading.Tasks.Task& currentTaskSlot) [0x00000] in <1f0c1ef1ad524c38bbc5536809c46b48>:0 at System.Threading.Tasks.Task.ExecuteEntry (System.Boolean bPreventDoubleExecution) [0x00000] in <1f0c1ef1ad524c38bbc5536809c46b48>:0 at System.Threading.Tasks.TaskScheduler.TryExecuteTask (System.Threading.Tasks.Task task) [0x00000] in <1f0c1ef1ad524c38bbc5536809c46b48>:0 at GitHub.Unity.ThreadPerTaskScheduler+<>c__DisplayClass4_0.<QueueTask>b__0 () [0x00000] in C:\projects\unity\src\GitHub.Api\Tasks\ConcurrentExclusiveInterleave.cs:440 at System.Threading.ThreadHelper.ThreadStart_Context (System.Object state) [0x00000] in <1f0c1ef1ad524c38bbc5536809c46b48>:0 at System.Threading.ExecutionContext.RunInternal (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00000] in <1f0c1ef1ad524c38bbc5536809c46b48>:0 at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00000] in <1f0c1ef1ad524c38bbc5536809c46b48>:0 at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state) [0x00000] in <1f0c1ef1ad524c38bbc5536809c46b48>:0 at System.Threading.ThreadHelper.ThreadStart () [0x00000] in <1f0c1ef1ad524c38bbc5536809c46b48>:0

I will poke around git-lfs stuff for a bit to try to fix this but I really don’t have the time to start working on this project today. Hopefully this was helpful for someone!