github-for-unity / Unity

GitHub for Unity
https://unity.github.com/
MIT License
3.02k stars 448 forks source link

Constant NullReferenceException in GitHub.Unity.Window.Update() #1068

Closed DreadKyller closed 1 year ago

DreadKyller commented 5 years ago

Prerequisites

Trace logging is enabled, here is the log file contents:

190801-21:46:36.726  INFO [ 1] <Global>                            Initializing GitHubForUnity:'v1.4.0' Unity:'v2019.2.0f1'
190801-21:46:36.764 TRACE [150] <DownloadTask>                      Download of http://github-vs.s3.amazonaws.com/unity/latest.json to C:\Users\user\AppData\Local\GitHubUnity\latest.json Attempt 1 of 1
190801-21:46:36.910 TRACE [149] <ProcessWrapper>                    Running 'C:\Users\user\AppData\Local\GitHubUnity\git\cmd\git.exe --version'
190801-21:46:39.417 TRACE [149] <ProcessWrapper>                    Running 'C:\Users\user\AppData\Local\GitHubUnity\git-lfs\git-lfs.exe version'
190801-21:46:39.848 TRACE [150] <DownloadTask>                      Downloading http://github-vs.s3.amazonaws.com/unity/latest.json
190801-21:46:40.071 TRACE [149] <ProcessWrapper>                    Running 'C:\Users\user\AppData\Local\GitHubUnity\git\cmd\git.exe config --local --unset merge.unityyamlmerge.cmd'
190801-21:46:41.159 TRACE [149] <ProcessWrapper>                    Running 'C:\Users\user\AppData\Local\GitHubUnity\git\cmd\git.exe config --local --unset merge.unityyamlmerge.trustExitCode'
190801-21:46:41.450 TRACE [149] <ProcessWrapper>                    Running 'C:\Users\user\AppData\Local\GitHubUnity\git\cmd\git.exe config --replace-all --local merge.unityyamlmerge.name "Unity SmartMerge (UnityYamlMerge)"'
190801-21:46:41.456 TRACE [150] <DownloadTask>                      Downloading http://github-vs.s3.amazonaws.com/unity/latest.json StatusCode:200
190801-21:46:41.579 TRACE [150] <Global>                            Skipping GitHub for Unity update v1.4.0, we already have it
190801-21:46:41.796 TRACE [149] <ProcessWrapper>                    Running 'C:\Users\user\AppData\Local\GitHubUnity\git\cmd\git.exe config --replace-all --local merge.unityyamlmerge.driver "'C:\Program Files\Unity\Hub\Editor\2019.2.0f1\Editor\Data\Tools\UnityYAMLMerge.exe' merge -h -p --force %O %B %A %A"'
190801-21:46:42.097 TRACE [149] <ProcessWrapper>                    Running 'C:\Users\user\AppData\Local\GitHubUnity\git\cmd\git.exe config --replace-all --local merge.unityyamlmerge.recursive "binary"'
190801-21:46:42.875 TRACE [149] <ProcessWrapper>                    Running 'C:\Users\user\AppData\Local\GitHubUnity\git\cmd\git.exe lfs install'
190801-21:46:47.308 TRACE [149] <ProcessWrapper>                    Running 'C:\Users\user\AppData\Local\GitHubUnity\git\cmd\git.exe config --get --system credential.helper'
190801-21:46:47.805 TRACE [149] <RepositoryWatcher>                 Watching Path: "C:\Users\user\GameJam"
190801-21:46:47.813 TRACE [149] <IApplicationManager>               Got a repository? C:\Users\user\GameJam
190801-21:46:47.898 TRACE [ 1] <IApplicationManager>               Restarted C:\Users\user\GameJam
190801-21:46:47.906 TRACE [ 1] <GitLocksCache>                     needsInvalidation isInitialized:False timedOut:True
190801-21:46:47.918 TRACE [162] <ProcessWrapper>                    Running 'C:\Users\user\AppData\Local\GitHubUnity\git-lfs\git-lfs.exe locks --json'
190801-21:46:47.926 TRACE [ 1] <GitStatusCache>                    needsInvalidation isInitialized:False timedOut:True
190801-21:46:47.945 TRACE [156] <ProcessWrapper>                    Running 'C:\Users\user\AppData\Local\GitHubUnity\git\cmd\git.exe -c i18n.logoutputencoding=utf8 -c core.quotepath=false --no-optional-locks status -b -u --porcelain'
190801-22:12:51.262 TRACE [ 1] <GitLocksCache>                     needsInvalidation isInitialized:True timedOut:True
190801-22:12:51.267 TRACE [177] <ProcessWrapper>                    Running 'C:\Users\user\AppData\Local\GitHubUnity\git-lfs\git-lfs.exe locks --json'
190801-22:12:51.274 TRACE [179] <ProcessWrapper>                    Running 'C:\Users\user\AppData\Local\GitHubUnity\git-lfs\git-lfs.exe locks --json'
190801-22:12:55.505 TRACE [ 1] <GitLogCache>                       needsInvalidation isInitialized:False timedOut:True
190801-22:12:55.516 TRACE [190] <ProcessWrapper>                    Running 'C:\Users\user\AppData\Local\GitHubUnity\git\cmd\git.exe -c i18n.logoutputencoding=utf8 -c core.quotepath=false log --pretty=format:"%H%n%P%n%aN%n%aE%n%aI%n%cN%n%cE%n%cI%n%B---GHUBODYEND---" --name-status'
190801-22:12:55.519 TRACE [ 1] <GitAheadBehindCache>               needsInvalidation isInitialized:True timedOut:True
190801-22:12:55.530 TRACE [184] <ProcessWrapper>                    Running 'C:\Users\user\AppData\Local\GitHubUnity\git\cmd\git.exe rev-list --left-right --count master...origin/master'
190801-22:18:25.607 TRACE [ 1] <GitUserCache>                      needsInvalidation isInitialized:False timedOut:True
190801-22:18:25.620 TRACE [202] <ProcessWrapper>                    Running 'C:\Users\user\AppData\Local\GitHubUnity\git\cmd\git.exe config --get --global user.name'
190801-22:18:25.958 TRACE [213] <ProcessWrapper>                    Running 'C:\Users\user\AppData\Local\GitHubUnity\git\cmd\git.exe config --get --global user.email'

Doesn't seem to be printing anything about this error here.

Description

When the Changes tab is selected, even if the GitHub window is hidden/not actively being rendered, certain triggers cause the following error:

ArgumentException: You can only call GUI functions from inside OnGUI.
UnityEngine.GUIUtility.CheckOnGUI () (at C:/buildslave/unity/build/Modules/IMGUI/GUIUtility.cs:293)
UnityEngine.GUI.get_skin () (at C:/buildslave/unity/build/Modules/IMGUI/GUI.cs:42)
GitHub.Unity.Styles.get_Label () (at <2d57c10c727649ea8f13d21c5265f844>:0)
GitHub.Unity.Utility.get_IsDarkTheme () (at <2d57c10c727649ea8f13d21c5265f844>:0)
GitHub.Unity.Styles.get_ActiveBranchIcon () (at <2d57c10c727649ea8f13d21c5265f844>:0)
GitHub.Unity.BranchesView.OnEnable () (at <2d57c10c727649ea8f13d21c5265f844>:0)
GitHub.Unity.Window.OnEnable () (at <2d57c10c727649ea8f13d21c5265f844>:0)

This error only occurs once or twice sometimes per trigger, after which the console will start getting spammed with the following error.

NullReferenceException: Object reference not set to an instance of an object
GitHub.Unity.Window.Update () (at <2d57c10c727649ea8f13d21c5265f844>:0)
System.Reflection.MonoMethod.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) (at <a8ed250850854b439cedc18931a314fe>:0)
Rethrow as TargetInvocationException: Exception has been thrown by the target of an invocation.
System.Reflection.MonoMethod.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) (at <a8ed250850854b439cedc18931a314fe>:0)
System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) (at <a8ed250850854b439cedc18931a314fe>:0)
UnityEditor.HostView.Invoke (System.String methodName, System.Object obj) (at C:/buildslave/unity/build/Editor/Mono/HostView.cs:359)
UnityEditor.HostView.Invoke (System.String methodName) (at C:/buildslave/unity/build/Editor/Mono/HostView.cs:353)
UnityEditor.HostView.SendUpdate () (at C:/buildslave/unity/build/Editor/Mono/HostView.cs:465)
UnityEditor.EditorApplication.Internal_CallUpdateFunctions () (at C:/buildslave/unity/build/Editor/Mono/EditorApplication.cs:303)

The first error above appearently breaks something about the current instance of the GitHub window. Reloading the window by closing it and reopening from the Window -> GitHub context fixes the problem, but while the problem is active the GitHub window will cause errors on every update function, as long as it is being rendered, regardless of which tab of the GitHub window is selected, until it is closed and reopened. Why it suddenly starts trying to call rendering code from inside Update is unknown to me at this moment.

Notes about Reproducing

  1. No clue how to reproduce, it just seems to happen sometimes, I just migrated from 2019.1.12f1 to 2019.2.0f1 on a project before it started spamming the console immediately.
  2. In the past I've gotten the same error after a while, but it only effected certain tabs, this time it's effecting all tabs
  3. Closing the tab and reopening it via "Window -> GitHub" no longer was spamming my console, so whatever was causing it is reset by reopening the window or cleaned up when closing.

Edit:

I have been able to reproduce the error:

Steps: 1) Select "Branches" tab. You may need to have a second branch other than master on local and remote, I'm not sure about this yet. 2) Hit play on the game 3) I get the following errors:

ArgumentException: You can only call GUI functions from inside OnGUI.
UnityEngine.GUIUtility.CheckOnGUI () (at C:/buildslave/unity/build/Modules/IMGUI/GUIUtility.cs:293)
UnityEngine.GUI.get_skin () (at C:/buildslave/unity/build/Modules/IMGUI/GUI.cs:42)
GitHub.Unity.Styles.get_Label () (at <2d57c10c727649ea8f13d21c5265f844>:0)
GitHub.Unity.Utility.get_IsDarkTheme () (at <2d57c10c727649ea8f13d21c5265f844>:0)
GitHub.Unity.Styles.get_ActiveBranchIcon () (at <2d57c10c727649ea8f13d21c5265f844>:0)
GitHub.Unity.BranchesView.OnEnable () (at <2d57c10c727649ea8f13d21c5265f844>:0)
GitHub.Unity.Window.OnEnable () (at <2d57c10c727649ea8f13d21c5265f844>:0)
Exception: Style.Draw may not be called with GUIContent that is null.
UnityEngine.GUIStyle.Draw (UnityEngine.Rect position, UnityEngine.GUIContent content, System.Int32 controlId, System.Boolean isHover, System.Boolean isActive, System.Boolean on, System.Boolean hasKeyboardFocus) (at C:/buildslave/unity/build/Modules/IMGUI/GUIStyle.cs:269)
UnityEngine.GUIStyle.Draw (UnityEngine.Rect position, UnityEngine.GUIContent content, System.Boolean isHover, System.Boolean isActive, System.Boolean on, System.Boolean hasKeyboardFocus) (at C:/buildslave/unity/build/Modules/IMGUI/GUIStyle.cs:244)
GitHub.Unity.TreeNode.Render (UnityEngine.Rect rect, System.Single indentation, System.Boolean isSelected, System.Boolean treeIsBusy, UnityEngine.GUIStyle toggleStyle, UnityEngine.GUIStyle nodeStyle, UnityEngine.GUIStyle activeNodeStyle) (at <2d57c10c727649ea8f13d21c5265f844>:0)
GitHub.Unity.Tree`2[TNode,TData].Render (UnityEngine.Rect treeDisplayRect, UnityEngine.Vector2 scroll, System.Action`1[T] singleClick, System.Action`1[T] doubleClick, System.Action`1[T] rightClick) (at <2d57c10c727649ea8f13d21c5265f844>:0)
GitHub.Unity.BranchesView.OnTreeGUI (UnityEngine.Rect rect) (at <2d57c10c727649ea8f13d21c5265f844>:0)
GitHub.Unity.BranchesView.Render () (at <2d57c10c727649ea8f13d21c5265f844>:0)
GitHub.Unity.BranchesView.OnGUI () (at <2d57c10c727649ea8f13d21c5265f844>:0)
GitHub.Unity.Window.DoActiveViewGUI () (at <2d57c10c727649ea8f13d21c5265f844>:0)
GitHub.Unity.Window.OnUI () (at <2d57c10c727649ea8f13d21c5265f844>:0)
GitHub.Unity.BaseWindow.OnGUI () (at <2d57c10c727649ea8f13d21c5265f844>:0)
System.Reflection.MonoMethod.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) (at <a8ed250850854b439cedc18931a314fe>:0)
Rethrow as TargetInvocationException: Exception has been thrown by the target of an invocation.
UnityEngine.UIElements.UIR.RenderChain.Render (UnityEngine.Rect topRect, UnityEngine.Matrix4x4 projection) (at C:/buildslave/unity/build/Modules/UIElements/Renderer/UIRChainBuilder.cs:238)
UnityEngine.UIElements.UIRRepaintUpdater.DrawChain (UnityEngine.Rect topRect, UnityEngine.Matrix4x4 projection) (at C:/buildslave/unity/build/Modules/UIElements/Renderer/UIRRepaintUpdater.cs:66)
UnityEngine.UIElements.UIRRepaintUpdater.Update () (at C:/buildslave/unity/build/Modules/UIElements/Renderer/UIRRepaintUpdater.cs:54)
UnityEngine.UIElements.VisualTreeUpdater.UpdateVisualTree () (at C:/buildslave/unity/build/Modules/UIElements/VisualTreeUpdater.cs:72)
UnityEngine.UIElements.Panel.Repaint (UnityEngine.Event e) (at C:/buildslave/unity/build/Modules/UIElements/Panel.cs:637)
UnityEngine.UIElements.UIElementsUtility.DoDispatch (UnityEngine.UIElements.BaseVisualElementPanel panel) (at C:/buildslave/unity/build/Modules/UIElements/UIElementsUtility.cs:240)
UnityEngine.UIElements.UIElementsUtility.ProcessEvent (System.Int32 instanceID, System.IntPtr nativeEventPtr) (at C:/buildslave/unity/build/Modules/UIElements/UIElementsUtility.cs:78)
UnityEngine.GUIUtility.ProcessEvent (System.Int32 instanceID, System.IntPtr nativeEventPtr) (at C:/buildslave/unity/build/Modules/IMGUI/GUIUtility.cs:179)

And after that the window will start spamming NullReferenceExceptions in GitHub.Unity.Window.Update() while the GitHub tab is displayed, until the tab is closed and reopened.

Edit 2:

More details, As long as the currently selected tab on the GitHub window is "Branches" then even if the GitHub tab isn't active the first error listed above after the first edit still prints, the one about "You can only call GUI functions inside of OnGUI". The console will them start spamming like usual once you switch to the GitHub window again.

Edit 3:

Apparently playing in the editor isn't the only thing that triggers this issue. The recompiling step when the script assets change also causes the same problem. In both cases it only happens specifically for the Branches tab, none of the others.

Edit 4:

The problematic line seems to be:

https://github.com/github-for-unity/Unity/blob/092e13cccfdb405a9002da71df9d10d3f2242f0d/src/UnityExtension/Assets/Editor/GitHub.Unity/Misc/Styles.cs#L213

Specifically the call to get the skin property runs CheckOnGUI which errors if not called during the OnGUI stage. Since this style information isn't needed until you actually render it's likely tht the call to get the Styles.ActiveBranchIcon could be moved somehow to the start of the rendering loop, and lazy-initialized instead of setup in the OnEnable, or a way to detect the Utility.IsDarkTheme without a call to GUI.skin

Honestly why this only causes a problem during certain processes is beyond me, from what I see this should happen any time the window is open and not just under certain cases.

shana commented 5 years ago

Ugh, yes, OnEnable should never trigger GUI code, and the reason it only happens sometimes and only now in 2019 is because FindStyle has probably already run before for this style and so Unity just returns a cached result, but in 2019 all the style code has changed and this is probably no longer the case. I'll go hunt down all the stupid code doing this and get a new build up with it fixed later today.

shana commented 5 years ago

@DreadKyller There's new builds of GitHub for Unity in CI that include a fix for this, if you want to test out an early alpha of 2.0 - https://ci.appveyor.com/project/github-windows/unity/build/artifacts.

Assuming your project is targeting the .net 4 profile, you can try https://ci.appveyor.com/api/buildjobs/06u5197j7dtqotiu/artifacts/github-for-unity-net471-2.0.2%2B189f53797f.unitypackage

If your project is targetting the .net 2.0 profile, https://ci.appveyor.com/api/buildjobs/06u5197j7dtqotiu/artifacts/github-for-unity-net20-2.0.2%2B189f53797f.unitypackage

paradoxrevolver commented 5 years ago

unsure that this deserves its own issue. my procedure is almost exactly the same as described by DreadKyller and i've just started using the "unity-net471" unitypackage as was linked above. i'm working with Unity 2019.2.2f1.

after applying the unitypackage above to a completely fresh Unity project:

the warnings are all the same:

null texture passed to GUI.DrawTexture
UnityEngine.GUI:DrawTexture(Rect, Texture)
GitHub.Unity.Spinner:Render()
GitHub.Unity.Window:DoActiveViewGUI()
GitHub.Unity.Window:OnUI()
GitHub.Unity.BaseWindow:OnGUI()
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)

the errors are also all the same:

NullReferenceException: Object reference not set to an instance of an object
GitHub.Unity.Spinner.Render () (at <9b960f6e71274505917f1a724edbe9da>:0)
GitHub.Unity.Window.DoActiveViewGUI () (at <9b960f6e71274505917f1a724edbe9da>:0)
GitHub.Unity.Window.OnUI () (at <9b960f6e71274505917f1a724edbe9da>:0)
GitHub.Unity.BaseWindow.OnGUI () (at <9b960f6e71274505917f1a724edbe9da>:0)
System.Reflection.MonoMethod.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) (at <ad04dee02e7e4a85a1299c7ee81c79f6>:0)
Rethrow as TargetInvocationException: Exception has been thrown by the target of an invocation.
UnityEngine.UIElements.UIR.RenderChain.Render (UnityEngine.Rect topRect, UnityEngine.Matrix4x4 projection) (at C:/buildslave/unity/build/Modules/UIElements/Renderer/UIRChainBuilder.cs:238)
UnityEngine.UIElements.UIRRepaintUpdater.DrawChain (UnityEngine.Rect topRect, UnityEngine.Matrix4x4 projection) (at C:/buildslave/unity/build/Modules/UIElements/Renderer/UIRRepaintUpdater.cs:66)
UnityEngine.UIElements.UIRRepaintUpdater.Update () (at C:/buildslave/unity/build/Modules/UIElements/Renderer/UIRRepaintUpdater.cs:54)
UnityEngine.UIElements.VisualTreeUpdater.UpdateVisualTree () (at C:/buildslave/unity/build/Modules/UIElements/VisualTreeUpdater.cs:72)
UnityEngine.UIElements.Panel.Repaint (UnityEngine.Event e) (at C:/buildslave/unity/build/Modules/UIElements/Panel.cs:637)
UnityEngine.UIElements.UIElementsUtility.DoDispatch (UnityEngine.UIElements.BaseVisualElementPanel panel) (at C:/buildslave/unity/build/Modules/UIElements/UIElementsUtility.cs:240)
UnityEngine.UIElements.UIElementsUtility.ProcessEvent (System.Int32 instanceID, System.IntPtr nativeEventPtr) (at C:/buildslave/unity/build/Modules/UIElements/UIElementsUtility.cs:78)
UnityEngine.GUIUtility.ProcessEvent (System.Int32 instanceID, System.IntPtr nativeEventPtr) (at C:/buildslave/unity/build/Modules/IMGUI/GUIUtility.cs:179)

and they appear in the following pattern:

jbcaveman commented 4 years ago

Not sure if this is related, but an observation: when I initiatlized a repo from GitHub for Unity on Mac OS, I encountered a similar error when opening the project in Windows. However, when I initialized the same project (no changes) into a new repo from GitHub for Unity on Windows, this window error no longer appeared. Hoping maybe this helps.

HolyFot commented 4 years ago

I'm was the same error as well when I had reflection probe in my scene that didn't have the Volume Layers set. Once they were set, the error was fixed. Unity 2019.3.1f.

as3mbus commented 4 years ago
NullReferenceException: Object reference not set to an instance of an object
GitHub.Unity.Window.Update () (at C:/projects/unity/src/UnityExtension/Assets/Editor/GitHub.Unity/UI/Window.cs:539)
System.Reflection.MonoMethod.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) (at <437ba245d8404784b9fbab9b439ac908>:0)
Rethrow as TargetInvocationException: Exception has been thrown by the target of an invocation.
System.Reflection.MonoMethod.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) (at <437ba245d8404784b9fbab9b439ac908>:0)
System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) (at <437ba245d8404784b9fbab9b439ac908>:0)
UnityEditor.HostView.Invoke (System.String methodName, System.Object obj) (at <af78ad00a40d4f61b82afc6cafb0a416>:0)
UnityEditor.HostView.Invoke (System.String methodName) (at <af78ad00a40d4f61b82afc6cafb0a416>:0)
UnityEditor.HostView.SendUpdate () (at <af78ad00a40d4f61b82afc6cafb0a416>:0)
System.Reflection.MonoMethod.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) (at <437ba245d8404784b9fbab9b439ac908>:0)
Rethrow as TargetInvocationException: Exception has been thrown by the target of an invocation.
System.Reflection.MonoMethod.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) (at <437ba245d8404784b9fbab9b439ac908>:0)
System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) (at <437ba245d8404784b9fbab9b439ac908>:0)
System.Delegate.DynamicInvokeImpl (System.Object[] args) (at <437ba245d8404784b9fbab9b439ac908>:0)
System.MulticastDelegate.DynamicInvokeImpl (System.Object[] args) (at <437ba245d8404784b9fbab9b439ac908>:0)
System.Delegate.DynamicInvoke (System.Object[] args) (at <437ba245d8404784b9fbab9b439ac908>:0)
UnityEditor.EditorApplication.Internal_CallUpdateFunctions () (at <af78ad00a40d4f61b82afc6cafb0a416>:0)

also happen on Unity 2019.4.0f1 even on basic project

PangeranWiguan commented 3 years ago

I'm on Unity 2021.1.0b3. The error still persists. But it stops once I close the Github for Unity window. It doesn't affect the project and functionality, so far. Just reporting. Screenshot 2021-01-24 at 9 40 51 PM

zcavaness commented 3 years ago

I'm on Unity 2021.1.0b3. The error still persists. But it stops once I close the Github for Unity window. It doesn't affect the project and functionality, so far. Just reporting. Screenshot 2021-01-24 at 9 40 51 PM

Encountered the same issue today. Closing the GitHub Window and re-opening seemed to resolve it / stop the NullReference errors. I can now freely commit and change branches.

ethanbaker22 commented 3 years ago

I'm on 2019.4.18f1 (Version we are told to use for Uni project) & yeah just getting spammed by this message. I've just merged a branch on GitHub is the only thing I can think that could cause it.

Is there anyway I can stop the messages? image

sfhall commented 3 years ago

I'm on 2020.2.2f1 having this same issue. Cannot switch branches and does not give any info as why, so I can only assume it is this persistent error message.

elfmimi commented 3 years ago

sharing just another observation. let the window of GitHub-for-Unity inside Unity project open and with 'branches' tab selected. if you close Unity and the next time you open the same Unity project, flood of NullRefEx occurs from start up. it can be resolved by closing and reopening the GiHub-for-Unity window. as mentioned above.

vellarod commented 2 years ago

Problem still there. Any fix?

willkillson commented 2 years ago

I still see this, closing the GitHub unity window fixes it.

image