ryanjon2040 / Unreal-Binary-Builder

An application designed to create installed Unreal Engine builds (aka Rocket builds) from Unreal Engine GitHub source.
MIT License
660 stars 152 forks source link

LibGit2Sharp: unsupported repository version 1. Only versions up to 0 are supported. #46

Open lcsondes opened 2 years ago

lcsondes commented 2 years ago

Updating to this version seems to fix the problem: https://www.nuget.org/packages/LibGit2Sharp/0.27.0-preview-0158

See also https://github.com/libgit2/libgit2sharp/issues/1845

Source ->   LibGit2Sharp
Message ->  unsupported repository version 1. Only versions up to 0 are supported.
Target ->   Void HandleError(Int32)
StackTrace ->
   at LibGit2Sharp.Core.Ensure.HandleError(Int32 result)
   at LibGit2Sharp.Core.Ensure.ZeroResult(Int32 result)
   at LibGit2Sharp.Core.Proxy.git_repository_open_ext(String path, RepositoryOpenFlags flags, String ceilingDirs)
   at LibGit2Sharp.Repository.IsValid(String path)
   at UnrealBinaryBuilder.Classes.Git.UpdateRepository() in C:\[redacted]\Unreal-Binary-Builder\UnrealBinaryBuilder\Classes\Git.cs:line 47
   at UnrealBinaryBuilder.Classes.Git.get_CommitHash() in C:\[redacted]\Unreal-Binary-Builder\UnrealBinaryBuilder\Classes\Git.cs:line 15
...