Git Product home page Git Product logo

unity-preview's People

Contributors

donokuda avatar gitter-badger avatar saraford avatar shana avatar stanleygoldman avatar warpin-pabu avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

unity-preview's Issues

Null Reference Exception, looking for Texture2D that has been destroyed. Error reoccurs in Unity Console

Please fill out the data below and include a zip with the Unity log file and the extension log file.
On Windows, the extension log file is at %LOCALAPPDATA%\GitHubUnityDebug\github-unity.log
On macOS, the extension log file is at ~/.local/share/GitHubUnityDebug/github-unity.log
github-unity.zip

Version of Unity: 5.5.3f1
Version of GitHub for Unity (see console output): 0.9.1.0
Platform (eg. Windows, macOS, Linux): Windows

There is a reoccurring error showing up in the unity console.

MissingReferenceException: The object of type 'Texture2D' has been destroyed but you are still trying to access it.
Your script should either check if it is null or you should not destroy the object.
UnityEngine.Texture.get_width () (at C:/buildslave/unity/build/artifacts/generated/Metro/runtime/TextureBindings.gen.cs:46)
GitHub.Unity.ProjectWindowInterface.OnProjectWindowItemGUI (System.String guid, Rect itemRect) (at /Users/shana/code/work/github/UnityInternal/src/UnityExtension/Assets/Editor/GitHub.Unity/UI/ProjectWindowInterface.cs:225)
UnityEditor.ObjectListArea+LocalGroup.DrawItem (Rect position, UnityEditor.FilterResult filterItem, UnityEditor.BuiltinResource builtinResource, Boolean isFolderBrowsing) (at C:/buildslave/unity/build/Editor/Mono/ObjectListLocalGroup.cs:855)
UnityEditor.ObjectListArea+LocalGroup.DrawInternal (Int32 beginIndex, Int32 endIndex, Single yOffset) (at C:/buildslave/unity/build/Editor/Mono/ObjectListLocalGroup.cs:192)
UnityEditor.ObjectListArea+Group.Draw (Single yOffset, Vector2 scrollPos) (at C:/buildslave/unity/build/Editor/Mono/ObjectListGroup.cs:144)
UnityEditor.ObjectListArea.HandleListArea () (at C:/buildslave/unity/build/Editor/Mono/ObjectListArea.cs:1367)
UnityEditor.ObjectListArea.OnGUI (Rect position, Int32 keyboardControlID) (at C:/buildslave/unity/build/Editor/Mono/ObjectListArea.cs:562)
UnityEditor.ProjectBrowser.OnGUI () (at C:/buildslave/unity/build/Editor/Mono/ProjectBrowser.cs:1754)
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)

InvalidOperationException: Unable to reflect EditorApplication.editorApplicationQuit

Version of Unity (eg. 5.5.0f1): 5.3.5f1
Version of GitHub for Unity (see console output): 0.9.1.0
Platform (eg. Windows, macOS, Linux): macOS

What happened
I did a fresh install of github for unity and I got the above error (with backtrace):

InvalidOperationException: Unable to reflect EditorApplication.editorApplicationQuit
GitHub.Unity.ApplicationManager.SecureQuitActionField () (at /Users/shana/code/work/github/UnityInternal/src/UnityExtension/Assets/Editor/GitHub.Unity/ApplicationManager.cs:133)
GitHub.Unity.ApplicationManager.get_EditorApplicationQuit () (at /Users/shana/code/work/github/UnityInternal/src/UnityExtension/Assets/Editor/GitHub.Unity/ApplicationManager.cs:115)
GitHub.Unity.ApplicationManager.ListenToUnityExit () (at /Users/shana/code/work/github/UnityInternal/src/UnityExtension/Assets/Editor/GitHub.Unity/ApplicationManager.cs:102)
GitHub.Unity.ApplicationManager..ctor (IMainThreadSynchronizationContext synchronizationContext) (at /Users/shana/code/work/github/UnityInternal/src/UnityExtension/Assets/Editor/GitHub.Unity/ApplicationManager.cs:36)
GitHub.Unity.EntryPoint.get_ApplicationManager () (at /Users/shana/code/work/github/UnityInternal/src/UnityExtension/Assets/Editor/GitHub.Unity/EntryPoint.cs:89)
GitHub.Unity.EntryPoint.Initialize () (at /Users/shana/code/work/github/UnityInternal/src/UnityExtension/Assets/Editor/GitHub.Unity/EntryPoint.cs:60)
UnityEditor.EditorApplication.Internal_CallUpdateFunctions () (at /Users/builduser/buildslave/unity/build/artifacts/generated/common/editor/EditorApplicationBindings.gen.cs:217)

On macOS, the extension log file is at ~/.local/share/GitHubUnityDebug/github-unity.log
That path did not exist for me.

I don't have a /Users/shana directory. I think one of the devs forgot to take out the hardcoded path from the code.

MethodAccessException Unity 5.3.6p3 OS X 10.11.6

Trying to open the GitHub window after import I receive the following two errors:

MethodAccessException: Method `UnityEditor.EditorGUIUtility:get_pixelsPerPoint ()' is inaccessible from method `GitHub.Unity.Utility:GetIcon (string,string)'

GitHub.Unity.Styles.get_SmallLogo () (at /Users/stanleygoldman/Documents/UnityInternal/src/UnityExtension/Assets/Editor/GitHub.Unity/Misc/Styles.cs:653)
GitHub.Unity.Window.OnEnable () (at /Users/stanleygoldman/Documents/UnityInternal/src/UnityExtension/Assets/Editor/GitHub.Unity/UI/Window.cs:80)
UnityEditorInternal.InternalEditorUtility:LoadSerializedFileAndForget(String)
UnityEditor.EditorApplication:Internal_CallGlobalEventHandler()
MethodAccessException: Method `UnityEditor.EditorGUIUtility:get_pixelsPerPoint ()' is inaccessible from method `GitHub.Unity.Utility:GetIcon (string,string)'

GitHub.Unity.Styles.get_RepoIcon () (at /Users/stanleygoldman/Documents/UnityInternal/src/UnityExtension/Assets/Editor/GitHub.Unity/Misc/Styles.cs:746)
GitHub.Unity.Window.DoNotInitializedGUI () (at /Users/stanleygoldman/Documents/UnityInternal/src/UnityExtension/Assets/Editor/GitHub.Unity/UI/Window.cs:219)
GitHub.Unity.Window.OnGUI () (at /Users/stanleygoldman/Documents/UnityInternal/src/UnityExtension/Assets/Editor/GitHub.Unity/UI/Window.cs:131)
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)

Doesn't work with x86 Unity

When initializing repository on 5.5.2f1 (x86), I get:

Failed to load 'Assets/Editor/GitHub/sfw.dll', expected x86 architecture, but was x64 architecture. You must recompile your plugin for x86 architecture.
GitHub.Unity.RepositoryWatcher:Initialize() (at /Users/stanleygoldman/Documents/UnityInternal/src/GitHub.Api/Events/RepositoryWatcher.cs:70)
GitHub.Unity.RepositoryWatcher:Initialize() (at /Users/stanleygoldman/Documents/UnityInternal/src/GitHub.Api/Events/RepositoryWatcher.cs:69)
GitHub.Unity.RepositoryManager:Initialize() (at /Users/stanleygoldman/Documents/UnityInternal/src/GitHub.Api/RepositoryManager.cs:178)
GitHub.Unity.c__async0:MoveNext() (at /Users/stanleygoldman/Documents/UnityInternal/src/GitHub.Api/ApplicationManagerBase.cs:97)
System.Runtime.CompilerServices.AsyncTaskMethodBuilder:Start(c__async0&)
GitHub.Unity.ApplicationManagerBase:RestartRepository()
GitHub.Unity.ApplicationManager:RestartRepository() (at /Users/stanleygoldman/Documents/UnityInternal/src/UnityExtension/Assets/Editor/GitHub.Unity/ApplicationManager.cs:91)
GitHub.Unity.c__AnonStorey0:<>m__4(Task`1) (at /Users/stanleygoldman/Documents/UnityInternal/src/GitHub.Api/RepositoryLocator.cs:83)
System.Threading.Tasks.ThreadPoolTaskScheduler:TaskExecuteWaitCallback(Object)

I know, it's weird that I even use x86 version today, but it's a long story involving some legacy x86 dlls I was already using, so I can't easily switch to x64 right now.


Version of Unity: 5.5.2f1 (x86)
Version of GitHub for Unity: 0.8.0.0
Platform: Win7

Never ends the push action - Ubuntu 16.10

NOT github-unity.log file created but this message is show: Initializing GitHub for Unity log file: /home/amarok/.local/share/GitHubUnityDebug/github-unity.log

Version of Unity: 5.6.0xf3Linux
Version of GitHub for Unity: 0.8.0.0
Platform: Linux (Ubuntu 16.10)

Never ends the push action

UnityEditor.log.zip

ArgumentException: The value for 'remote' must not be empty

Imported the github-unity package, setup a new project with all default settings. After saving the remote URL and then trying to push, I received this error:

ArgumentException: The value for 'remote' must not be empty

I went back and checked the Settings tab, and the remote URL string was still there. After playing and stopping the scene, I tried again and was able to Push and get the push progress bar dialog. But this operation hung forever and I had to force kill unity. (I think this is Issue #5)

github-unity.log.zip

Version of Unity: 5.5.2f1
Version of GitHub for Unity (see console output): 0.8.0.0
Platform (eg. Windows, macOS, Linux): MacOS 10.11.6

Unable to login with Github Enterprise Account

Version of Unity: 5.4.2p2
Version of GitHub for Unity: v0.9.1-alpha
Platform: macOS

I can't choose Github Enterprise URL and login Enterprise account on Authenticate View.
Please make a dropdown menu to choose Github.com or Enterprise to login.

The Github Unity tool cannot be committed to version control

Version: 5.6.0f3
Github For Windows Version: v0.9.1-alpha
Platform: Windows 10

Steps to Reproduce:

  1. Init a new repro
  2. Select the Changes Tab
  3. Observe, the files you can commit do not include the Github Unity tool because it is looking for a Editor file in your root. If you create a Github Folder and move Editor into it (which is fine in Unity 5.0 and above), you can then commit it to version control so everyone in your team now has the Github For Unity Tool.

Support file diffs

Feature Request: Add the ability to quickly show change diffs through the UI. Often this is done using 'Ctrl-D' or double-clicking a changed file.

Selecting Window->Github results in a History Window Error

Version: 5.6.0f3
Github For Windows Version: v0.9.1-alpha
Platform : Windows 10

Steps to Reproduce:

  1. After a fresh install from the Unity Package, select Window->Github
  2. Observe the following error:

NullReferenceException: Object reference not set to an instance of an object
GitHub.Unity.HistoryView.Initialize (IView parent) (at /Users/shana/code/work/github/UnityInternal/src/UnityExtension/Assets/Editor/GitHub.Unity/UI/HistoryView.cs:72)
GitHub.Unity.Window.Setup (IRepository repository) (at /Users/shana/code/work/github/UnityInternal/src/UnityExtension/Assets/Editor/GitHub.Unity/UI/Window.cs:91)
GitHub.Unity.Window.ShowWindow () (at /Users/shana/code/work/github/UnityInternal/src/UnityExtension/Assets/Editor/GitHub.Unity/UI/Window.cs:57)
GitHub.Unity.Window.Window_GitHub () (at /Users/shana/code/work/github/UnityInternal/src/UnityExtension/Assets/Editor/GitHub.Unity/UI/Window.cs:38)

Exceptions on focus changed

Version of Unity: 5.6
Version of GitHub for Unity: 0.8-alpha
Platform: Windows

What happened
On focus window canged, give exceptions

Exception(72 times):

GitHub.Unity.Logging.GetLogger (System.String context) (at /Users/stanleygoldman/Documents/UnityInternal/src/GitHub.Logging/Logging.cs:63)
GitHub.Unity.Logging.GetLogger (System.Type type) (at /Users/stanleygoldman/Documents/UnityInternal/src/GitHub.Logging/Logging.cs:58)
GitHub.Unity.Logging.GetLogger[ProjectWindowInterface] () (at /Users/stanleygoldman/Documents/UnityInternal/src/GitHub.Logging/Logging.cs:53)
GitHub.Unity.ProjectWindowInterface..cctor () (at /Users/stanleygoldman/Documents/UnityInternal/src/UnityExtension/Assets/Editor/GitHub.Unity/UI/ProjectWindowInterface.cs:19)
Rethrow as TypeInitializationException: An exception was thrown by the type initializer for GitHub.Unity.ProjectWindowInterface
System.Reflection.MonoCMethod.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:513)
Rethrow as TargetInvocationException: Exception has been thrown by the target of an invocation.
System.Reflection.MonoCMethod.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:519)
System.Reflection.MonoCMethod.Invoke (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:528)
System.Reflection.ConstructorInfo.Invoke (System.Object[] parameters) (at /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.Reflection/ConstructorInfo.cs:77)
System.Activator.CreateInstance (System.Type type, Boolean nonPublic) (at /Users/builduser/buildslave/mono/build/mcs/class/corlib/System/Activator.cs:372)
System.Activator.CreateInstance (System.Type type) (at /Users/builduser/buildslave/mono/build/mcs/class/corlib/System/Activator.cs:254)
UnityEditor.AssetPostprocessingInternal.GetAudioProcessorVersions () (at C:/buildslave/unity/build/Editor/Mono/AssetPostprocessor.cs:339)
UnityEditor.AssetDatabase:Refresh()
GooglePlayGames.Editor.GPGSUpgrader:.cctor() (at Assets/GooglePlayGames/Editor/GPGSUpgrader.cs:110)
UnityEditor.EditorAssemblies:ProcessInitializeOnLoadAttributes()

Warning in Unity Console

Version of Unity (eg. 5.5.0f1): 5.5.2f1
Version of GitHub for Unity (see console output): 0.8.0.0
Platform (eg. Windows, macOS, Linux): Windows

I am seeing the following error in the Unity Console whenever I exit play mode -

Serialization depth limit 7 exceeded at 'FileTreeNode.children'. There may be an object composition cycle in one or more of your serialized classes.

Serialization hierarchy:
8: FileTreeNode.children
7: FileTreeNode.children
6: FileTreeNode.children
5: FileTreeNode.children
4: FileTreeNode.children
3: FileTreeNode.children
2: GitHub.Unity::ChangesetTreeView.tree
1: GitHub.Unity::ChangesView.tree
0: GitHub.Unity::Window.changesTab

github-unity.zip

Installation on a Mac

Version of Unity: 5.5 something and 5.6.1f1
Version of GitHub for Unity (see console output): v0.11-alpha
Platform: macOS Sierra

What happened: Installation failed
On three different Macs, I tried to install the package by downloading and double clicking, as stated in the installation instructions. Unity opens, but the github tab/window just is not there. No error message, and I cannot find the log.
Any ideas/comments? Has anybody installed it successfully on a Mac?

Could not find the specified module

13:54:26 PM WARN [ 2] <GitInstaller>                      Archive "PlatformResources\windows\git-lfs.zip" missing
13:54:39 PM ERROR [ 2] <TaskRunner>                        
Task_Start_ContinuationTask
  at System.Threading.Tasks.Task.Start (System.Threading.Tasks.TaskScheduler scheduler) [0x00000] in <filename unknown>:0 
  at GitHub.Unity.BaseTask.Run (CancellationToken cancellationToken) [0x00030] in /Users/stanleygoldman/Documents/UnityInternal/src/GitHub.Api/Tasks/BaseTask.cs:87 
  at GitHub.Unity.TaskRunnerBase.<RunLoop>m__3 () [0x0000e] in /Users/stanleygoldman/Documents/UnityInternal/src/GitHub.Api/Tasks/TaskRunnerBase.cs:218 
   at GitHub.Unity.LogAdapterBase.Error(System.Exception ex, System.String message) in /Users/stanleygoldman/Documents/UnityInternal/src/GitHub.Logging/LogAdapterBase.cs:line 148
   at GitHub.Unity.LogAdapterBase.Error(System.Exception ex) in /Users/stanleygoldman/Documents/UnityInternal/src/GitHub.Logging/LogAdapterBase.cs:line 154
   at GitHub.Unity.TaskRunnerBase.<RunLoop>m__3() in /Users/stanleygoldman/Documents/UnityInternal/src/GitHub.Api/Tasks/TaskRunnerBase.cs:line 222
   at System.Threading.Tasks.Task.InnerInvoke()
   at System.Threading.Tasks.Task.Execute()
   at System.Threading.Tasks.Task.ExecutionContextCallback(System.Object obj)
   at System.Security.SecurityContext.Run(System.Security.SecurityContext securityContext, System.Threading.ContextCallback callback, System.Object state) in /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.Security/SecurityContext.cs:line 150
   at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state) in /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.Threading/ExecutionContext.cs:line 150
   at System.Threading.Tasks.Task.ExecuteWithThreadLocal(System.Threading.Tasks.Task ByRef currentTaskSlot)
   at System.Threading.Tasks.Task.ExecuteEntry(Boolean bPreventDoubleExecution)
   at System.Threading.Tasks.ThreadPoolTaskScheduler.TaskExecuteWaitCallback(System.Object obj)
13:57:10 PM INFO [ 1] <LoginManager>                      Login Username:[email protected]
14:02:12 PM WARN [ 1] <RepositoryWatcher>                 Watcher already stopped
14:02:12 PM WARN [ 1] <RepositoryWatcher>                 Watcher already stopped
14:02:27 PM INFO [ 1]                                     Initializing GitHub for Unity version 0.8.0.0
14:03:09 PM INFO [ 1] <LoginManager>                      Login Username:[email protected]
14:12:13 PM WARN [ 2] <RepositoryWatcher>                 Watcher already stopped
14:12:16 PM WARN [ 2] <RepositoryWatcher>                 NativeInterface is null
14:12:16 PM ERROR [ 2] <GitPullTask>                       
Not initialized
  at GitHub.Unity.RepositoryWatcher.Start () [0x00041] in /Users/stanleygoldman/Documents/UnityInternal/src/GitHub.Api/Events/RepositoryWatcher.cs:83 
  at GitHub.Unity.RepositoryManager+<PrepareTask>c__AnonStorey2.<>m__1 (ITask t) [0x00018] in /Users/stanleygoldman/Documents/UnityInternal/src/GitHub.Api/RepositoryManager.cs:334 
  at (wrapper delegate-invoke) System.Action`1<GitHub.Unity.ITask>:invoke_void__this___ITask (GitHub.Unity.ITask)
  at GitHub.Unity.BaseTask.RaiseOnEnd () [0x00015] in /Users/stanleygoldman/Documents/UnityInternal/src/GitHub.Api/Tasks/BaseTask.cs:123 
  at GitHub.Unity.ProcessTask.Finished () [0x0002b] in /Users/stanleygoldman/Documents/UnityInternal/src/GitHub.Api/Tasks/ProcessTask.cs:228 
  at GitHub.Unity.ProcessTask.RunAsync (CancellationToken cancellationToken) [0x00199] in /Users/stanleygoldman/Documents/UnityInternal/src/GitHub.Api/Tasks/ProcessTask.cs:204 
   at GitHub.Unity.LogAdapterBase.Error(System.Exception ex, System.String message) in /Users/stanleygoldman/Documents/UnityInternal/src/GitHub.Logging/LogAdapterBase.cs:line 148
   at GitHub.Unity.LogAdapterBase.Error(System.Exception ex) in /Users/stanleygoldman/Documents/UnityInternal/src/GitHub.Logging/LogAdapterBase.cs:line 154
   at GitHub.Unity.ProcessTask.RunAsync(CancellationToken cancellationToken) in /Users/stanleygoldman/Documents/UnityInternal/src/GitHub.Api/Tasks/ProcessTask.cs:line 208
   at GitHub.Unity.GitTask.RunAsync(CancellationToken cancellationToken) in /Users/stanleygoldman/Documents/UnityInternal/src/GitHub.Api/Tasks/GitTask.cs:line 34
   at GitHub.Unity.GitNetworkTask.<RunAsync>__BaseCallProxy0(CancellationToken cancellationToken)
   at GitHub.Unity.GitNetworkTask+<RunAsync>c__async1.MoveNext() in /Users/stanleygoldman/Documents/UnityInternal/src/GitHub.Api/Tasks/GitNetworkTask.cs:line 61
   at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start(<RunAsync>c__async1 ByRef stateMachine)
   at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1[[System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].Start(<RunAsync>c__async1 ByRef stateMachine)
   at GitHub.Unity.GitNetworkTask.RunAsync(CancellationToken cancellationToken)
   at GitHub.Unity.GitNetworkTask+<Run>c__async0.MoveNext() in /Users/stanleygoldman/Documents/UnityInternal/src/GitHub.Api/Tasks/GitNetworkTask.cs:line 28
   at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start(<Run>c__async0 ByRef stateMachine)
   at System.Runtime.CompilerServices.AsyncVoidMethodBuilder.Start(<Run>c__async0 ByRef stateMachine)
   at GitHub.Unity.GitNetworkTask.Run(CancellationToken cancellationToken)
   at GitHub.Unity.TaskRunnerBase.<RunLoop>m__3() in /Users/stanleygoldman/Documents/UnityInternal/src/GitHub.Api/Tasks/TaskRunnerBase.cs:line 218
   at System.Threading.Tasks.Task.InnerInvoke()
   at System.Threading.Tasks.Task.Execute()
   at System.Threading.Tasks.Task.ExecutionContextCallback(System.Object obj)
   at System.Security.SecurityContext.Run(System.Security.SecurityContext securityContext, System.Threading.ContextCallback callback, System.Object state) in /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.Security/SecurityContext.cs:line 150
   at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state) in /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.Threading/ExecutionContext.cs:line 150
   at System.Threading.Tasks.Task.ExecuteWithThreadLocal(System.Threading.Tasks.Task ByRef currentTaskSlot)
   at System.Threading.Tasks.Task.ExecuteEntry(Boolean bPreventDoubleExecution)
   at System.Threading.Tasks.ThreadPoolTaskScheduler.TaskExecuteWaitCallback(System.Object obj)
14:15:11 PM WARN [ 1] <RepositoryWatcher>                 NativeInterface is null
14:15:28 PM WARN [ 1] <RepositoryWatcher>                 Watcher already stopped
14:15:28 PM WARN [ 1] <RepositoryWatcher>                 Watcher already stopped
14:15:40 PM INFO [ 1]                                     Initializing GitHub for Unity version 0.8.0.0
14:16:29 PM INFO [ 1]                                     Initializing GitHub for Unity version 0.8.0.0
14:19:13 PM WARN [ 2] <RepositoryWatcher>                 Watcher already stopped
14:19:15 PM WARN [ 2] <RepositoryWatcher>                 NativeInterface is null
14:19:15 PM ERROR [ 2] <GitPullTask>                       
Not initialized
  at GitHub.Unity.RepositoryWatcher.Start () [0x00041] in /Users/stanleygoldman/Documents/UnityInternal/src/GitHub.Api/Events/RepositoryWatcher.cs:83 
  at GitHub.Unity.RepositoryManager+<PrepareTask>c__AnonStorey2.<>m__1 (ITask t) [0x00018] in /Users/stanleygoldman/Documents/UnityInternal/src/GitHub.Api/RepositoryManager.cs:334 
  at (wrapper delegate-invoke) System.Action`1<GitHub.Unity.ITask>:invoke_void__this___ITask (GitHub.Unity.ITask)
  at GitHub.Unity.BaseTask.RaiseOnEnd () [0x00015] in /Users/stanleygoldman/Documents/UnityInternal/src/GitHub.Api/Tasks/BaseTask.cs:123 
  at GitHub.Unity.ProcessTask.Finished () [0x0002b] in /Users/stanleygoldman/Documents/UnityInternal/src/GitHub.Api/Tasks/ProcessTask.cs:228 
  at GitHub.Unity.ProcessTask.RunAsync (CancellationToken cancellationToken) [0x00199] in /Users/stanleygoldman/Documents/UnityInternal/src/GitHub.Api/Tasks/ProcessTask.cs:204 
   at GitHub.Unity.LogAdapterBase.Error(System.Exception ex, System.String message) in /Users/stanleygoldman/Documents/UnityInternal/src/GitHub.Logging/LogAdapterBase.cs:line 148
   at GitHub.Unity.LogAdapterBase.Error(System.Exception ex) in /Users/stanleygoldman/Documents/UnityInternal/src/GitHub.Logging/LogAdapterBase.cs:line 154
   at GitHub.Unity.ProcessTask.RunAsync(CancellationToken cancellationToken) in /Users/stanleygoldman/Documents/UnityInternal/src/GitHub.Api/Tasks/ProcessTask.cs:line 208
   at GitHub.Unity.GitTask.RunAsync(CancellationToken cancellationToken) in /Users/stanleygoldman/Documents/UnityInternal/src/GitHub.Api/Tasks/GitTask.cs:line 34
   at GitHub.Unity.GitNetworkTask.<RunAsync>__BaseCallProxy0(CancellationToken cancellationToken)
   at GitHub.Unity.GitNetworkTask+<RunAsync>c__async1.MoveNext() in /Users/stanleygoldman/Documents/UnityInternal/src/GitHub.Api/Tasks/GitNetworkTask.cs:line 61
   at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start(<RunAsync>c__async1 ByRef stateMachine)
   at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1[[System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].Start(<RunAsync>c__async1 ByRef stateMachine)
   at GitHub.Unity.GitNetworkTask.RunAsync(CancellationToken cancellationToken)
   at GitHub.Unity.GitNetworkTask+<Run>c__async0.MoveNext() in /Users/stanleygoldman/Documents/UnityInternal/src/GitHub.Api/Tasks/GitNetworkTask.cs:line 28
   at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start(<Run>c__async0 ByRef stateMachine)
   at System.Runtime.CompilerServices.AsyncVoidMethodBuilder.Start(<Run>c__async0 ByRef stateMachine)
   at GitHub.Unity.GitNetworkTask.Run(CancellationToken cancellationToken)
   at GitHub.Unity.TaskRunnerBase.<RunLoop>m__3() in /Users/stanleygoldman/Documents/UnityInternal/src/GitHub.Api/Tasks/TaskRunnerBase.cs:line 218
   at System.Threading.Tasks.Task.InnerInvoke()
   at System.Threading.Tasks.Task.Execute()
   at System.Threading.Tasks.Task.ExecutionContextCallback(System.Object obj)
   at System.Security.SecurityContext.Run(System.Security.SecurityContext securityContext, System.Threading.ContextCallback callback, System.Object state) in /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.Security/SecurityContext.cs:line 150
   at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state) in /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.Threading/ExecutionContext.cs:line 150
   at System.Threading.Tasks.Task.ExecuteWithThreadLocal(System.Threading.Tasks.Task ByRef currentTaskSlot)
   at System.Threading.Tasks.Task.ExecuteEntry(Boolean bPreventDoubleExecution)
   at System.Threading.Tasks.ThreadPoolTaskScheduler.TaskExecuteWaitCallback(System.Object obj)
14:19:27 PM WARN [ 1] <RepositoryWatcher>                 NativeInterface is null
14:20:17 PM WARN [ 1] <RepositoryWatcher>                 Watcher already stopped
14:20:17 PM WARN [ 1] <RepositoryWatcher>                 Watcher already stopped
14:20:29 PM INFO [ 1]                                     Initializing GitHub for Unity version 0.8.0.0

Version of Unity : eg. 5.5.3f1
Version of GitHub for Unity : git version 2.11.0.windows.3
Platform : windows10_x64

Failed to load 'Assets/Editor/GitHub/sfw.dll' with error 'Could not find the specified module.
'.
GitHub.Unity.RepositoryWatcher:Initialize() (at /Users/stanleygoldman/Documents/UnityInternal/src/GitHub.Api/Events/RepositoryWatcher.cs:70)
GitHub.Unity.RepositoryWatcher:Initialize() (at /Users/stanleygoldman/Documents/UnityInternal/src/GitHub.Api/Events/RepositoryWatcher.cs:69)
GitHub.Unity.RepositoryManager:Initialize() (at /Users/stanleygoldman/Documents/UnityInternal/src/GitHub.Api/RepositoryManager.cs:178)
GitHub.Unity.<RestartRepository>c__async0:MoveNext() (at /Users/stanleygoldman/Documents/UnityInternal/src/GitHub.Api/ApplicationManagerBase.cs:97)
System.Runtime.CompilerServices.AsyncTaskMethodBuilder:Start(<RestartRepository>c__async0&)
GitHub.Unity.ApplicationManagerBase:RestartRepository()
GitHub.Unity.ApplicationManager:RestartRepository() (at /Users/stanleygoldman/Documents/UnityInternal/src/UnityExtension/Assets/Editor/GitHub.Unity/ApplicationManager.cs:91)
GitHub.Unity.<RunInternal>c__async1:MoveNext() (at /Users/stanleygoldman/Documents/UnityInternal/src/GitHub.Api/ApplicationManagerBase.cs:121)
System.Threading.Tasks.ThreadPoolTaskScheduler:TaskExecuteWaitCallback(Object)

Reduce initialization log output

It would be super helpful to have a flag that can be turned on to write the debug statements to the Unity Console, but that we can turn off so that there is not a bunch of Unity GitHub log statements for me to try and parse through as I am working on my app. At this point there are so many that I don't bother to look at them anyways, so I don't feel like they are doing that much good.

Fix installation location of the extension

We should install the extension into Assets/GitHub/Editor instead of Assets/Editor/GitHub. That way we can ignore Assets/GitHub.meta and Assets/GitHub/ at this alpha stage without having to worry about an empty Editor folder lying around the place.

NullReferenceException HistoryView.Initialize

Started a new project, added the unity github package, clicked on Window -> Github, and received a NullReferenceException in HistoryView.Initialize line 72.

Windows 10, Unity 5.6.0f3 64bit

Not much in the log

02:02:10 AM WARN [ 2] Archive "PlatformResources\windows\git-lfs.zip" missing
02:03:19 AM INFO [ 1] Initializing GitHub for Unity version 0.9.1.0
02:03:25 AM INFO [ 1] Initializing GitHub for Unity version 0.9.1.0
02:15:03 AM INFO [ 1] Initializing GitHub for Unity version 0.9.1.0
02:15:08 AM INFO [ 1] Initializing GitHub for Unity version 0.9.1.0

but see image below

image

Selecting Github->Authenticate results in Null Reference Error if you have not Signed In.

Version: 5.6.0f3
Github For Windows Version: v0.9.1-alpha
Platform: Windows 10

Steps to Reproduce:

  1. Download the Unity Package File
  2. Import->Custom Asset
  3. Select Github->Authenticate
  4. Observe the Following Error:

NullReferenceException: Object reference not set to an instance of an object
GitHub.Unity.AuthenticationWindow.OnGUI () (at /Users/shana/code/work/github/UnityInternal/src/UnityExtension/Assets/Editor/GitHub.Unity/UI/AuthenticationWindow.cs:32)
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)

Editor.zip

problem with cloning down

Please fill out the data below and include a zip with the Unity log file and the extension log file.
On Windows, the extension log file is at %LOCALAPPDATA%\GitHubUnityDebug\github-unity.log
On macOS, the extension log file is at ~/.local/share/GitHubUnityDebug/github-unity.log

If you prefer not to submit your log files through the issue tracker, send them
to [email protected] with the issue number.

Version of Unity (eg. 5.5.0f1):
Version of GitHub for Unity (see console output):
Platform (eg. Windows, macOS, Linux):

What happened

I installed the desktop version too on my laptop and PC. I initialed the github on the Pc and pushed the changes two time. On the next day, i tried to pull it down with the github desktop version. If the github extansion is in the asset directory, there should be no problem, but if i "opned" the project, it destroyed the other files in the asset directory. "Removing Assets/Editor because the asset does not exist", "Removing Assets/objects/Pictures beacuase the asset does not exist" and much more ...
How do i clone a Project to a other system (Computer)?

Sry for my bad English
Max

LFS Lock Failed - Could not find file

image

GitHubUnityLogs.zip

Version of Unity (eg. 5.5.0f1): 5.6.0b11 x64
Version of GitHub for Unity (see console output): Latest alpha
Platform (eg. Windows, macOS, Linux): Windows

What happened:
Attempted to lock a file via the context menu in Unity and it fails saying it cannot find the file. It appears that it assumes the Unity project is the root of the GIT repository (ie. /Assets is in the root repository folder) instead of using the actual path to the file in the repo.

Failed path: HXT.LockTest\Assets\Scenes\Main.unity
Actual path: HXT.LockTest\Unity\TestProject\Assets\Scenes\Main.unity

click push button then Unity dies.

Please fill out the data below and inc
github-unity.log.zip
lude a zip with the Unity log file and the extension log file.
On Windows, the extension log file is at %LOCALAPPDATA%\GitHubUnityDebug\github-unity.log
On macOS, the extension log file is at ~/.local/share/GitHubUnityDebug/github-unity.log

If you prefer not to submit your log files through the issue tracker, send them
to [email protected] with the issue number.

Version of Unity (eg. 5.5.0f1): 5.5.2f1
Version of GitHub for Unity (see console output): 0.8 alpha
Platform (eg. Windows, macOS, Linux): macOS

What happened
I followed the steps and finished setting the Github with unity.
When I click the push button, a window showing "git push" shows up then nothing.
And the unity goes into freeze.

Immediately crashes upon authentication on Unity 2017.1.0b1

crash_adf6d51e8a87864fa4e401c1cce0a156.zip

Please fill out the data below and include a zip with the Unity log file and the extension log file.
On Windows, the extension log file is at %LOCALAPPDATA%\GitHubUnityDebug\github-unity.log
On macOS, the extension log file is at ~/.local/share/GitHubUnityDebug/github-unity.log

If you prefer not to submit your log files through the issue tracker, send them
to [email protected] with the issue number.

Version of Unity (eg. 5.5.0f1): Unity 2017.1.0b1 (64-bit)
Version of GitHub for Unity (see console output):
Platform (eg. Windows, macOS, Linux): Win10

What happened
Immediately crashes upon authentication on Unity 2017.1.0b1

Changes View performance problems ~1400 items

Here are some notes I took after running it for the first time on a big project, with Unity 5.5.1f1:

Commits aren't applied when you have > 2k items and you select the folder only (no commit is made, and nothing is seen in the history tab)
Workaround: select the items in the folder, one by one, and it will work

To make more commits in the changes tab, you have to switch from it to the history tab and back again, and the changes tab will update both the view and unlock the commit button

Changes tab is incredibly unresponsive (latency of 2-3 seconds between every action) when > 2k items changed
note: Sluggishness disappeared around <1400 items

And finally, a question I couldn't find an answer to is you are supposed to clone a project, a regular git clone fails due to needing to run some kind of git-lfs command, of which I'm not sure what to run.

Error during regular clone:

C:\project_name>git clone https://github.com/cblgh/project_name.git
Cloning into 'project_name'...
remote: Counting objects: 1778, done.
remote: Compressing objects: 100% (1016/1016), done.
remote: Total 1778 (delta 786), reused 1746 (delta 754), pack-reused 0Receiving objects:  96% (1707/1778), 628.0
Receiving objects: 100% (1778/1778), 1.07 MiB | 1.11 MiB/s, done.
Resolving deltas: 100% (786/786), done.
Checking connectivity... done.
Downloading Assets/ADG_Textures/ground_vol1/ground1/ground1_Ambient_Occlusion.tga (1.00 MB)
Error downloading object: Assets/ADG_Textures/ground_vol1/ground1/ground1_Ambient_Occlusion.tga (08da51f84430900bc7856459ec5e942e228f408d6de991b0eb13c03fc4ebd241)

Errors logged to C:\project_name\.git\lfs\objects\logs\20170424T185315.7141229.log
Use `git lfs logs last` to view the log.
error: external filter git-lfs smudge -- %f failed 2
error: external filter git-lfs smudge -- %f failed
fatal: Assets/ADG_Textures/ground_vol1/ground1/ground1_Ambient_Occlusion.tga: smudge filter lfs failed
warning: Clone succeeded, but checkout failed.
You can inspect what was checked out with 'git status'
and retry the checkout with 'git checkout -f HEAD'

With the contents in the git-lfs log file being:

git-lfs/2.0.2 (GitHub; windows amd64; go 1.8; git 85e2aec4)
git version 2.8.1.windows.1

$ git-lfs.exe smudge -- Assets/ADG_Textures/ground_vol1/ground1/ground1_Ambient_Occlusion.tga
Error downloading object: Assets/ADG_Textures/ground_vol1/ground1/ground1_Ambient_Occlusion.tga (08da51f84430900bc7856459ec5e942e228f408d6de991b0eb13c03fc4ebd241)

Smudge error: Error downloading Assets/ADG_Textures/ground_vol1/ground1/ground1_Ambient_Occlusion.tga (08da51f84430900bc7856459ec5e942e228f408d6de991b0eb13c03fc4ebd241): batch response: This repository is over its data quota. Purchase more data packs to restore access.
github.com/git-lfs/git-lfs/errors.newWrappedError
	C:/Users/ttaylorr/go/src/github.com/git-lfs/git-lfs/src/github.com/git-lfs/git-lfs/errors/types.go:166
github.com/git-lfs/git-lfs/errors.NewSmudgeError
	C:/Users/ttaylorr/go/src/github.com/git-lfs/git-lfs/src/github.com/git-lfs/git-lfs/errors/types.go:252
github.com/git-lfs/git-lfs/lfs.PointerSmudge
	C:/Users/ttaylorr/go/src/github.com/git-lfs/git-lfs/src/github.com/git-lfs/git-lfs/lfs/pointer_smudge.go:68
github.com/git-lfs/git-lfs/lfs.(*Pointer).Smudge
	C:/Users/ttaylorr/go/src/github.com/git-lfs/git-lfs/src/github.com/git-lfs/git-lfs/lfs/pointer.go:64
github.com/git-lfs/git-lfs/commands.smudge
	C:/Users/ttaylorr/go/src/github.com/git-lfs/git-lfs/src/github.com/git-lfs/git-lfs/commands/command_smudge.go:63
github.com/git-lfs/git-lfs/commands.smudgeCommand
	C:/Users/ttaylorr/go/src/github.com/git-lfs/git-lfs/src/github.com/git-lfs/git-lfs/commands/command_smudge.go:91
github.com/git-lfs/git-lfs/vendor/github.com/spf13/cobra.(*Command).execute
	C:/Users/ttaylorr/go/src/github.com/git-lfs/git-lfs/src/github.com/git-lfs/git-lfs/vendor/github.com/spf13/cobra/command.go:477
github.com/git-lfs/git-lfs/vendor/github.com/spf13/cobra.(*Command).Execute
	C:/Users/ttaylorr/go/src/github.com/git-lfs/git-lfs/src/github.com/git-lfs/git-lfs/vendor/github.com/spf13/cobra/command.go:551
github.com/git-lfs/git-lfs/commands.Run
	C:/Users/ttaylorr/go/src/github.com/git-lfs/git-lfs/src/github.com/git-lfs/git-lfs/commands/run.go:68
main.main
	C:/Users/ttaylorr/go/src/github.com/git-lfs/git-lfs/git-lfs.go:35
runtime.main
	C:/Go/src/runtime/proc.go:185
runtime.goexit
	C:/Go/src/runtime/asm_amd64.s:2197

ENV:
LocalWorkingDir=C:\project_name\domkyrkan
LocalGitDir=C:\project_name\domkyrkan\.git
LocalGitStorageDir=C:\project_name\.git
LocalMediaDir=C:\project_name\.git\lfs\objects
LocalReferenceDir=
TempDir=C:\project_name\.git\lfs\tmp
ConcurrentTransfers=3
TusTransfers=false
BasicTransfersOnly=false
SkipDownloadErrors=false
FetchRecentAlways=false
FetchRecentRefsDays=7
FetchRecentCommitsDays=0
FetchRecentRefsIncludeRemotes=true
PruneOffsetDays=3
PruneVerifyRemoteAlways=false
PruneRemoteName=origin
AccessDownload=none
AccessUpload=none
DownloadTransfers=basic
UploadTransfers=basic
GIT_DIR=.git
GIT_LFS_PATH=C:\Program Files\Git LFS

As a final aside, looks like I went over the limit quite a bit as I found this in my email:

Git LFS has been disabled on your personal account cblgh because you’ve exceeded your data plan by at least 150%. Please purchase additional data packs to cover your bandwidth and storage usage:

  https://github.com/account/billing/data/upgrade

Current usage as of 24 Apr 2017 04:38PM UTC:

  Bandwidth: 0.0 GB / 1 GB (0%)
  Storage: 3.21 GB / 1 GB (321%)

I guess that's that for experimenting with git-lfs in the meantime! Hope the above details are of some use though.

Unable to Authenticate before fixing script error

Version of Unity (eg. 5.5.0f1): 5.6.0f3
Version of GitHub for Unity (see console output): 0.8.0.0
Platform (eg. Windows, macOS, Linux): macOS

What happened

I was unable to find the settings and GitHub options in the Editor before fixing an error in an unrelated script. Not sure if this affects me since I have initialized this repo outside of Unity, but this may cause problems for others.

Error Message "Task_Start_ContinuationTask..." appears in log

Version of Unity: All
Version of GitHub for Unity: 0.0.9.1
Platform: All

In the log an error appears on startup.
This is a known issue and should not have an effect on your usage.

09:48:32 AM WARN [ 2] <GitInstaller>                      Archive "PlatformResources\windows\git-lfs.zip" missing
09:49:13 AM ERROR [ 3] <TaskRunner>                        
Task_Start_ContinuationTask
  at System.Threading.Tasks.Task.Start (System.Threading.Tasks.TaskScheduler scheduler) [0x00000] in <filename unknown>:0 
  at GitHub.Unity.BaseTask.Run (CancellationToken cancellationToken) [0x00030] in /Users/shana/code/work/github/UnityInternal/src/GitHub.Api/Tasks/BaseTask.cs:87 
  at GitHub.Unity.TaskRunnerBase.<RunLoop>m__3 () [0x0000e] in /Users/shana/code/work/github/UnityInternal/src/GitHub.Api/Tasks/TaskRunnerBase.cs:218 
   at GitHub.Unity.LogAdapterBase.Error(System.Exception ex, System.String message) in /Users/shana/code/work/github/UnityInternal/src/GitHub.Logging/LogAdapterBase.cs:line 168
   at GitHub.Unity.LogAdapterBase.Error(System.Exception ex) in /Users/shana/code/work/github/UnityInternal/src/GitHub.Logging/LogAdapterBase.cs:line 174
   at GitHub.Unity.TaskRunnerBase.<RunLoop>m__3() in /Users/shana/code/work/github/UnityInternal/src/GitHub.Api/Tasks/TaskRunnerBase.cs:line 222
   at System.Threading.Tasks.Task.InnerInvoke()
   at System.Threading.Tasks.Task.Execute()
   at System.Threading.Tasks.Task.ExecutionContextCallback(System.Object obj)
   at System.Security.SecurityContext.Run(System.Security.SecurityContext securityContext, System.Threading.ContextCallback callback, System.Object state) in /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.Security/SecurityContext.cs:line 150
   at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state) in /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.Threading/ExecutionContext.cs:line 150
   at System.Threading.Tasks.Task.ExecuteWithThreadLocal(System.Threading.Tasks.Task ByRef currentTaskSlot)
   at System.Threading.Tasks.Task.ExecuteEntry(Boolean bPreventDoubleExecution)
   at System.Threading.Tasks.ThreadPoolTaskScheduler.TaskExecuteWaitCallback(System.Object obj)
09:53:43 AM WARN [ 1] <RepositoryWatcher>                 Watcher already stopped
09:53:43 AM WARN [ 1] <RepositoryWatcher>                 Watcher already stopped
09:53:44 AM INFO [ 1]                                     Initializing GitHub for Unity version 0.9.1.0

Exceptions thrown from Dispose methods in ApplicationManager and RepositoryWatcher

Version of Unity (eg. 5.5.0f1): 5.5
Version of GitHub for Unity (see console output): 0.9.1-alpha
Platform (eg. Windows, macOS, Linux): Windows

Occasionally, Dispose() in ApplicationManager and RepositoryWatcher throw exceptions when Unity reloads the domain for compilation or play mode. RepositoryWatcher seems to happen more often, ApplicationManager is rarer (only twice in a full day of working in Unity)

The exception getting thrown from ApplicationManager seems to cause Unity to crash.

Github for Unity does not commit any files that are located into a folder Called Editor in the Root

Version: 5.6.0f3 to 5.0f1
Github For Windows Version: v0.9.1-alpha
Platform: All versions of Unity from 5.0 on Windows, OSX, Linux

Severity:

Github for Unity is Unusable with any code that extends Unity, which includes the majority of the Unity Asset Store and all of a teams code that extends the Unity Editor via a root Editor folder.

Description:

The project cannot be used with most if not the majority of Unity Asset Store Plugins or your own code that contains an editor extension due to Github for Unity ignoring the all files/folders/assets inside of any folder called "Editor" because thats where Unity for Github is located.

The feature of unity having Editor Folders inside of other folders and not having to be in the Root Assets has existed for a long time. You can have multiple Editor folders inside of other folders. Please see our special folders documentation.

Special Folders Documentation

Solution 1:
A more direct path needs to be associated with Github by moving the Github for Unity Plugin into a folder called Github. Github for Unity will ignore all files within the Github Folder.

Folder Structure:

Unity Project

  • Assets
    • Github
      • Editor (contains Github For Unity)
  • Project Settings

Solution 2:
Do not restrict what Github for Unity commits in anyway. It does not matter if users commit Github for Unity to their repos. A lot of people move all their plugins to different folders so Solution 1 isn't perfect either.

Name and E-Mail doesn't get saved on Windows

Version of Unity (eg. 5.5.0f1): 5.6.0f3
Version of GitHub for Unity (see console output): 0.8.0.0
Platform (eg. Windows, macOS, Linux): Windows 10

What happened
I tried to enter a name and email for the commit messages in the git configuration fields. The name and email field were filled and when i changed the values and clicked save they didn't get saved, even worse they get removed completely. Now i don't have any values in this fields.

Edit:
When i change the name and email in a terminal and restart Unity the values i tried to enter before the restart of unity appeared again (the values who didn't get saved in the first way). Also when i hit save in unity and check in the terminal the value of user.name didn't changed.

github-unity.log.txt

Unable to commit changes,

21:02:18 PM WARN [ 2] Archive "PlatformResources\windows\git-lfs.zip" missing
21:05:58 PM ERROR [ 1] Failed to get the credential helper
21:05:58 PM INFO [ 1] Login Username:GeorgeZZZZZ
21:06:02 PM ERROR [ 1] Failed to get the credential helper
21:12:01 PM ERROR [ 3]
Task_Start_ContinuationTask
at System.Threading.Tasks.Task.Start (System.Threading.Tasks.TaskScheduler scheduler) [0x00000] in :0
at GitHub.Unity.BaseTask.Run (CancellationToken cancellationToken) [0x00024] in D:\code\github\UnityInternal\src\GitHub.Api\Tasks\BaseTask.cs:87
at GitHub.Unity.TaskRunnerBase.m__3 () [0x00000] in D:\code\github\UnityInternal\src\GitHub.Api\Tasks\TaskRunnerBase.cs:218
at GitHub.Unity.LogAdapterBase.Error(System.Exception ex, System.String message) in D:\code\github\UnityInternal\src\GitHub.Logging\LogAdapterBase.cs:line 168
at GitHub.Unity.LogAdapterBase.Error(System.Exception ex) in D:\code\github\UnityInternal\src\GitHub.Logging\LogAdapterBase.cs:line 174
at GitHub.Unity.TaskRunnerBase.m__3() in D:\code\github\UnityInternal\src\GitHub.Api\Tasks\TaskRunnerBase.cs:line 222
at System.Threading.Tasks.Task.InnerInvoke()
at System.Threading.Tasks.Task.Execute()
at System.Threading.Tasks.Task.ExecutionContextCallback(System.Object obj)
at System.Security.SecurityContext.Run(System.Security.SecurityContext securityContext, System.Threading.ContextCallback callback, System.Object state) in /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.Security/SecurityContext.cs:line 150
at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state) in /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.Threading/ExecutionContext.cs:line 150
at System.Threading.Tasks.Task.ExecuteWithThreadLocal(System.Threading.Tasks.Task ByRef currentTaskSlot)
at System.Threading.Tasks.Task.ExecuteEntry(Boolean bPreventDoubleExecution)
at System.Threading.Tasks.ThreadPoolTaskScheduler.TaskExecuteWaitCallback(System.Object obj)
21:14:58 PM WARN [ 1] Watcher already stopped
21:15:23 PM INFO [ 1] Initializing GitHub for Unity version 0.10.0.0
21:21:54 PM ERROR [ 1] Failed to get the credential helper
21:21:54 PM INFO [ 1] Login Username:GeorgeZZZZZ
21:22:08 PM ERROR [ 1] Failed to get the credential helper
21:26:48 PM WARN [ 1] Watcher already stopped
21:27:34 PM INFO [ 1] Initializing GitHub for Unity version 0.10.0.0
21:28:39 PM WARN [ 1] Watcher already stopped
21:29:18 PM INFO [ 1] Initializing GitHub for Unity version 0.10.0.0
21:30:01 PM INFO [ 1] Initializing GitHub for Unity version 0.10.0.0
21:34:26 PM INFO [ 1] Initializing GitHub for Unity version 0.10.0.0
22:02:28 PM INFO [ 1] Initializing GitHub for Unity version 0.10.0.0
22:10:48 PM ERROR [ 2] Failed to get the credential helper
22:17:03 PM ERROR [ 1] Failed to get the credential helper
22:17:03 PM INFO [ 1] Login Username:GeorgeZZZZZ
22:18:53 PM ERROR [ 1] Failed to get the credential helper
22:22:10 PM ERROR [ 1] Failed to get the credential helper
22:22:10 PM INFO [ 1] Login Username:[email protected]
22:22:19 PM ERROR [ 1] Failed to get the credential helper
22:22:31 PM ERROR [ 1] Failed to get the credential helper
22:22:31 PM INFO [ 1] Login Username:[email protected]
22:29:28 PM WARN [ 1] Login Exception
TaskCanceledException_ctor_DefaultMessage
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x00000] in :0
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccess (System.Threading.Tasks.Task task) [0x00000] in :0
at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x00000] in :0
at System.Runtime.CompilerServices.TaskAwaiter`1[Octokit.ApplicationAuthorization].GetResult () [0x00000] in :0
at GitHub.Unity.LoginManager+c__async0.MoveNext () [0x00164] in D:\code\github\UnityInternal\src\GitHub.Api\Authentication\LoginManager.cs:90
at GitHub.Unity.LogAdapterBase.Warning(System.Exception ex, System.String message) in D:\code\github\UnityInternal\src\GitHub.Logging\LogAdapterBase.cs:line 140
at GitHub.Unity.LoginManager+c__async0.MoveNext() in D:\code\github\UnityInternal\src\GitHub.Api\Authentication\LoginManager.cs:line 126
at System.Runtime.CompilerServices.AsyncMethodBuilderCore+MoveNextRunner.InvokeMoveNext(System.Object stateMachine)
at System.Security.SecurityContext.Run(System.Security.SecurityContext securityContext, System.Threading.ContextCallback callback, System.Object state) in /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.Security/SecurityContext.cs:line 150
at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state) in /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.Threading/ExecutionContext.cs:line 150
at System.Runtime.CompilerServices.AsyncMethodBuilderCore+MoveNextRunner.Run()
at System.Runtime.CompilerServices.TaskAwaiter+<>c__DisplayClassa.b__1(System.Object state)
at GitHub.Unity.MainThreadSynchronizationContext+c__AnonStorey1.<>m__0() in D:\code\github\UnityInternal\src\UnityExtension\Assets\Editor\GitHub.Unity\Threading\SingleThreadSynchronizationContext.cs:line 25
at UnityEditor.EditorApplication.Internal_CallDelayFunctions() in C:\buildslave\unity\build\artifacts\generated\common\editor\EditorApplicationBindings.gen.cs:line 259
22:29:41 PM ERROR [ 1] Failed to get the credential helper
22:29:41 PM INFO [ 1] Login Username:[email protected]
22:31:37 PM ERROR [ 1] Failed to get the credential helper
22:33:31 PM ERROR [ 1] Failed to get the credential helper
22:33:31 PM INFO [ 1] Login Username:GeorgeZZZZZ
22:33:38 PM ERROR [ 1] Failed to get the credential helper

Version of Unity : 5.6.0f3
Version of GitHub for Unity (see console output): 2.11.1.windows.1
Platform (eg. Windows, macOS, Linux): win 8.1

What happened:

  1. Experience slow when switch to "changes" tab.
    The unity become very slow. No matter I click on a button or type words, I need wait for a long time to get response.

  2. Can't commit changes
    After I select all and click on button "commit to master", the button will become gray for a wile. When the button change back, every thing remain same. It still shows I have same amount of changed files and nothing has changed in history tab.
    Some time Unity freeze after I press the button.

  3. Push nothing
    Because I can't commit any changes, I try to push the initial commit.
    Some times git push widow will pop out but never end, if I cancel it then a login widow will pop out.
    Some times git push widow will close but nothing happens in my repository.

bug in the unity console

Please fill out the data below and include a zip with the Unity log file and the extension log file.
On Windows, the extension log file is at %LOCALAPPDATA%\GitHubUnityDebug\github-unity.log
On macOS, the extension log file is at ~/.local/share/GitHubUnityDebug/github-unity.log

If you prefer not to submit your log files through the issue tracker, send them
to [email protected] with the issue number.

Version of Unity (eg. 5.5.0f1):
Version of GitHub for Unity (see console output):
Platform (eg. Windows, macOS, Linux):

What happened

Changes hang Unity 2017.1.0b1

Please fill out the data below and include a zip with the Unity log file and the extension log file.
On Windows, the extension log file is at %LOCALAPPDATA%\GitHubUnityDebug\github-unity.log
On macOS, the extension log file is at ~/.local/share/GitHubUnityDebug/github-unity.log

If you prefer not to submit your log files through the issue tracker, send them
to [email protected] with the issue number.

Version of Unity (eg. 5.5.0f1): 2017.1.0b1
Version of GitHub for Unity (see console output):
Platform (eg. Windows, macOS, Linux): Win10

What happened

I added a cube to see if changes would show, this hangs unity enitrely, sticks at 12% cpu but does nothing at all. Requires the process to be killed. I dont think this happpened before I installed this.

NullReferenceException reported in log in "OnProjectWindowItemGUI"

Version of Unity: All
Version of GitHub for Unity: 0.0.9.1
Platform: All

This error message was initially reported in #24

NullReferenceException: Object reference not set to an instance of an object
GitHub.Unity.ProjectWindowInterface.OnProjectWindowItemGUI (System.String guid, Rect itemRect) (at /Users/shana/code/work/github/UnityInternal/src/UnityExtension/Assets/Editor/GitHub.Unity/UI/ProjectWindowInterface.cs:233)
UnityEditor.ObjectListArea+LocalGroup.DrawItem (Rect position, UnityEditor.FilterResult filterItem, UnityEditor.BuiltinResource builtinResource, Boolean isFolderBrowsing) (at C:/buildslave/unity/build/Editor/Mono/ObjectListLocalGroup.cs:855)
UnityEditor.ObjectListArea+LocalGroup.DrawInternal (Int32 beginIndex, Int32 endIndex, Single yOffset) (at C:/buildslave/unity/build/Editor/Mono/ObjectListLocalGroup.cs:192)
UnityEditor.ObjectListArea+Group.Draw (Single yOffset, Vector2 scrollPos) (at C:/buildslave/unity/build/Editor/Mono/ObjectListGroup.cs:144)
UnityEditor.ObjectListArea.HandleListArea () (at C:/buildslave/unity/build/Editor/Mono/ObjectListArea.cs:1367)
UnityEditor.ObjectListArea.OnGUI (Rect position, Int32 keyboardControlID) (at C:/buildslave/unity/build/Editor/Mono/ObjectListArea.cs:562)
UnityEditor.ProjectBrowser.OnGUI () (at C:/buildslave/unity/build/Editor/Mono/ProjectBrowser.cs:1754)
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)

Null reference exception just before starting

Please fill out the data below and include a zip with the Unity log file and the extension log file.
On Windows, the extension log file is at %LOCALAPPDATA%\GitHubUnityDebug\github-unity.log
On macOS, the extension log file is at ~/.local/share/GitHubUnityDebug/github-unity.log

If you prefer not to submit your log files through the issue tracker, send them
to [email protected] with the issue number.

Version of Unity (eg. 5.5.0f1):
Version of GitHub for Unity (see console output):
Platform (eg. Windows, macOS, Linux):

What happened

Unable to switch branches in editor

Version of Unity (eg. 5.5.0f1): 5.6.0f3
Version of GitHub for Unity (see console output): 0.0.9.1
Platform (eg. Windows, macOS, Linux): Windows

What happened

In the editor, the plugin defaults to the master branch. I'm doing majority of my work in a separate 'prototyping' branch before creating a pull request into the master. However, I cannot switch to the prototyping branch, all I get is a blank window pop-up and all it says is OK.

github error

(pj)github-unity.zip

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.