Unity: Unzipped resources cannot be directly moved between drives

After importing package to existed git+lfs (or not) repository with Unity project, and trying to use it, rotating GitHub logo is not disappearing from main view. I think that maybe my ram disk set as T partition can be issue here.

Log

180619-20:19:06.803  INFO [ 1] <Global>                            Initializing GitHubForUnity:'v1.0.0' Unity:'v2017.4.5f1'
180619-20:19:06.975 TRACE [ 2] <UnzipTask>                         Unzip File: C:\Users\illuminati\AppData\Local\GitHubUnity\downloads\octorun.zip to Path: T:\temp\octorun_extract_archive_path_2100252434
180619-20:19:06.981 TRACE [ 3] <DownloadTask>                      Download of http://github-vs.s3.amazonaws.com/unity/latest.json to C:\Users\illuminati\AppData\Local\GitHubUnity\latest.json Attempt 1 of 1
180619-20:19:07.148 TRACE [ 3] <DownloadTask>                      Downloading http://github-vs.s3.amazonaws.com/unity/latest.json
180619-20:19:07.557 ERROR [ 2] <IApplicationManager>               A problem ocurred setting up Git
System.UnauthorizedAccessException: Access to the path is denied.
  at System.IO.Directory.Move (System.String sourceDirName, System.String destDirName) [0x000f8] in /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.IO/Directory.cs:403 
  at GitHub.Unity.FileSystem.DirectoryMove (System.String toString, System.String s) [0x00000] in /Users/shana/code/work/github/Unity/src/GitHub.Api/IO/FileSystem.cs:224 
  at GitHub.Unity.FSWrapper.DirectoryMove (NPath from, NPath to) [0x00000] in /Users/shana/code/work/github/Unity/src/GitHub.Api/IO/NiceIO.cs:1277 
  at GitHub.Unity.NPath.Move (NPath dest) [0x000c9] in /Users/shana/code/work/github/Unity/src/GitHub.Api/IO/NiceIO.cs:806 
  at GitHub.Unity.OctorunInstaller.MoveOctorun (NPath fromPath) [0x0001c] in /Users/shana/code/work/github/Unity/src/GitHub.Api/Installer/OctorunInstaller.cs:57 
  at GitHub.Unity.OctorunInstaller.SetupOctorunIfNeeded () [0x0008f] in /Users/shana/code/work/github/Unity/src/GitHub.Api/Installer/OctorunInstaller.cs:43 
  at GitHub.Unity.ApplicationManagerBase.<Run>m__0 () [0x000fd] in /Users/shana/code/work/github/Unity/src/GitHub.Api/Application/ApplicationManagerBase.cs:93 
=======
   at GitHub.Unity.ApplicationManagerBase.<Run>m__0() in /Users/shana/code/work/github/Unity/src/GitHub.Api/Application/ApplicationManagerBase.cs:line 145
180619-20:19:07.635 TRACE [ 3] <DownloadTask>                      Downloading http://github-vs.s3.amazonaws.com/unity/latest.json StatusCode:200
180619-20:19:07.740  INFO [ 3] <Global>                            Skipping GitHub for Unity update v1.0.0
180619-20:22:03.483 TRACE [ 4] <UsageTracker>                      Already sent today
180619-20:34:56.665 TRACE [ 1] <GitLogCache>                       needsInvalidation isInitialized:False timedOut:True
180619-20:34:56.667 TRACE [ 1] <GitAheadBehindCache>               needsInvalidation isInitialized:False timedOut:True
180619-20:35:04.588 TRACE [ 1] <BranchesCache>                     needsInvalidation isInitialized:False timedOut:False
180619-20:35:07.991 TRACE [ 1] <GitUserCache>                      needsInvalidation isInitialized:False timedOut:True
180619-20:35:09.755 TRACE [ 5] <ProcessWrapper>                    Running 'where git'
180619-20:35:10.036 TRACE [ 5] <ProcessWrapper>                    Running 'C:\Program Files\Git\cmd\git.exe --version'
180619-20:35:10.200 TRACE [ 5] <ProcessWrapper>                    Running 'where git-lfs'
180619-20:35:10.489 TRACE [ 5] <ProcessWrapper>                    Running 'C:\Program Files\Git LFS\git-lfs.exe version'

Steps to Reproduce

  1. Import package no matter if 1.0 or 1.0.rc4 version, I used asset store version
  2. Switch to GitHub window
  3. Rotating Github logo not disappearing, but I can see commit logs, branches etc.

Expected behavior: Rotating GitHub logo disappears if Unity project is detected as git repository. This is even more weird, because it looks like this happen now.

Actual behavior: Rotating GitHub logo is covering GitHub window view.

Reproduces how often: Always

Additional information I didn’t set up GitHub credentials because I’m not using it. I installed git+lfs using chocolatey. ConEmu detects git-cli so env var’s are probably set up correctly.

About this issue

  • Original URL
  • State: closed
  • Created 6 years ago
  • Comments: 38 (22 by maintainers)

Most upvoted comments

That’s fine, I’ve seen this error since our early days and we never figured it out. Thanks for helping.

hmm, let me test that for myself…