simeonradivoev / UniGit

An open source GIT Unity3D editor plugin.
GNU General Public License v3.0
143 stars 16 forks source link

After changing to the HTTPS address, Errors Occur in Unity at startup #14

Closed vaulcul closed 7 years ago

vaulcul commented 7 years ago

Please see the below errors:

LibGit2SharpException: Could not open 'G:/Users/Jared/Documents/Projects/Unity/linked/Temp/UnityLockfile': The process cannot access the file because it is being used by another process.

LibGit2Sharp.Core.Ensure.HandleError (Int32 result)
LibGit2Sharp.Core.Ensure.ZeroResult (Int32 result)
LibGit2Sharp.Core.Proxy.git_status_list_new (LibGit2Sharp.Core.Handles.RepositorySafeHandle repo, LibGit2Sharp.Core.GitStatusOptions options)
LibGit2Sharp.RepositoryStatus..ctor (LibGit2Sharp.Repository repo, LibGit2Sharp.StatusOptions options)
LibGit2Sharp.Repository.RetrieveStatus (LibGit2Sharp.StatusOptions options)
UniGit.GitManager.RebuildStatus (System.String[] paths) (at D:/My Documents/My Pictures/My Art/Games/UniGit/Assets/Plugins/UniGit/Editor/GitUpdatableWindow.cs:98)
UniGit.GitManager.RetreiveStatus (System.String[] paths, Boolean threaded)
UnityEngine.Debug:LogException(Exception)
UniGit.GitManager:RetreiveStatus(String[], Boolean)
UniGit.<>c__DisplayClass34_0:<RetreiveStatusThreaded>b__0() (at D:/My Documents/My Pictures/My Art/Games/UniGit/Assets/Plugins/UniGit/Editor/Utils/FlagHelper.cs:80)
UniGit.Utils.<>c__DisplayClass17_0:<QueueWorkerWithLock>b__0(Object) (at D:/My Documents/My Pictures/My Art/Games/UniGit/Assets/Plugins/UniGit/Editor/GitDiffInspector.cs:803)
Exception: Unresolved parameter: gitManager with type: UniGit.GitManager
UniGit.Utils.InjectionHelper.HandleParameter (System.Reflection.ParameterInfo parameter, System.Type injecteeType)
UniGit.Utils.InjectionHelper.CreateInstance (System.Type type) (at D:/My Documents/My Pictures/My Art/Games/UniGit/Assets/Plugins/UniGit/Editor/GitDiffWindow.cs:1632)
UniGit.Utils.InjectionHelper+Resolve.GetInstance () (at D:/My Documents/My Pictures/My Art/Games/UniGit/Assets/Plugins/UniGit/Editor/GitDiffWindow.cs:1116)
UniGit.Utils.InjectionHelper.GetInstances[GitSettingsTab] ()
UniGit.GitSettingsWindow.InitTabs () (at D:/My Documents/My Pictures/My Art/Games/UniGit/Assets/Plugins/UniGit/Editor/Status/GitRepoStatus.cs:29)
UnityEngine.Debug:LogException(Exception)
UniGit.GitSettingsWindow:InitTabs() (at D:/My Documents/My Pictures/My Art/Games/UniGit/Assets/Plugins/UniGit/Editor/Status/GitRepoStatus.cs:29)
UniGit.GitSettingsWindow:OnEnable() (at D:/My Documents/My Pictures/My Art/Games/UniGit/Assets/Plugins/UniGit/Editor/Status/GitRepoStatus.cs:21)
UnityEditor.EditorWindow:GetWindow(Boolean, String, Boolean)
UniGit.GitSettingsWindow:GetWindow(Boolean, GitManager, GitLfsManager, GitExternalManager, GitCredentialsManager) (at D:/My Documents/My Pictures/My Art/Games/UniGit/Assets/Plugins/UniGit/Editor/Utils/InjectionHelper.cs:184)
UniGit.GitSettingsWindow:CreateEditor() (at D:/My Documents/My Pictures/My Art/Games/UniGit/Assets/Plugins/UniGit/Editor/Utils/InjectionHelper.cs:170)
There was a problem while creating the settings window tabs.
UnityEngine.Debug:LogError(Object)
UniGit.GitSettingsWindow:InitTabs() (at D:/My Documents/My Pictures/My Art/Games/UniGit/Assets/Plugins/UniGit/Editor/Status/GitRepoStatus.cs:29)
UniGit.GitSettingsWindow:OnEnable() (at D:/My Documents/My Pictures/My Art/Games/UniGit/Assets/Plugins/UniGit/Editor/Status/GitRepoStatus.cs:21)
UnityEditor.EditorWindow:GetWindow(Boolean, String, Boolean)
UniGit.GitSettingsWindow:GetWindow(Boolean, GitManager, GitLfsManager, GitExternalManager, GitCredentialsManager) (at D:/My Documents/My Pictures/My Art/Games/UniGit/Assets/Plugins/UniGit/Editor/Utils/InjectionHelper.cs:184)
UniGit.GitSettingsWindow:CreateEditor() (at D:/My Documents/My Pictures/My Art/Games/UniGit/Assets/Plugins/UniGit/Editor/Utils/InjectionHelper.cs:170)
Could not retrive Git Status
UnityEngine.Debug:LogError(Object)
UniGit.GitManager:RetreiveStatus(String[], Boolean)
UniGit.<>c__DisplayClass34_0:<RetreiveStatusThreaded>b__0() (at D:/My Documents/My Pictures/My Art/Games/UniGit/Assets/Plugins/UniGit/Editor/Utils/FlagHelper.cs:80)
UniGit.Utils.<>c__DisplayClass17_0:<QueueWorkerWithLock>b__0(Object) (at D:/My Documents/My Pictures/My Art/Games/UniGit/Assets/Plugins/UniGit/Editor/GitDiffInspector.cs:803)
simeonradivoev commented 7 years ago

Huh. it seems it's still a LibGit2Sharp problem. have you added a .gitignore file that ignores the Temp folder ?