simeonradivoev / UniGit

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

nullreff error #9

Closed UncleJey closed 7 years ago

UncleJey commented 7 years ago

Hi again! Now win10, Unity3d 5.5.3 x64

trying pull repo.

NullReferenceException: Object reference not set to an instance of an object UniGit.GitWizardBase.Init (LibGit2Sharp.Branch branch) (at D:/My Documents/My Pictures/My Art/Games/UniGit/Assets/Plugins/UniGit/Editor/GitWizardBase.cs:42) UniGit.GitHistoryWindow.DoToolbar (Rect rect, LibGit2Sharp.RepositoryInformation info) (at D:/My Documents/My Pictures/My Art/Games/UniGit/Assets/Plugins/UniGit/Editor/GitHistoryWindow.cs:311) UniGit.GitHistoryWindow.OnGUI () (at D:/My Documents/My Pictures/My Art/Games/UniGit/Assets/Plugins/UniGit/Editor/GitHistoryWindow.cs:266) System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) (at /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.Reflection/MonoMethod.cs:222)

simeonradivoev commented 7 years ago

Have you setup remotes for your branch ?

UncleJey commented 7 years ago

yes. remote and credentials.

simeonradivoev commented 7 years ago

Have you made a commit ? I fixed it but if you can't wait for a build, you should have at least one commit.

simeonradivoev commented 7 years ago

Also if you are trying to clone a repository inside the editor that won't work. You will have to do it from outside.