com.unity.search.extensions icon indicating copy to clipboard operation
com.unity.search.extensions copied to clipboard

Exception at DependencyTableView.GetColumns() on startup

Open NibbleByte opened this issue 3 years ago • 0 comments

Repro:

  1. Open Dependency Viewer window and have dependency index built.
  2. Select something to display dependencies.
  3. Close Unity.
  4. Open Unity again.

Result: exception is logged

[Exception] NullReferenceException: Object reference not set to an instance of an object
DependencyTableView.GetColumns() at Packages/com.unity.search.extensions-main/Dependencies/DependencyTableView.cs:298
UnityEditor.Search.PropertyTable+PropertyTableColumnHeader..ctor() at <abf6464d174f467683d5f2a1c6dbeb17>:0
UnityEditor.Search.PropertyTable..ctor() at <abf6464d174f467683d5f2a1c6dbeb17>:0
DependencyTableView.BuildTable() at Packages/com.unity.search.extensions-main/Dependencies/DependencyTableView.cs:308
DependencyTableView.<Reload>b__15_1() at Packages/com.unity.search.extensions-main/Dependencies/DependencyTableView.cs:37
SearchService+<>c__DisplayClass30_0.<Request>g__OnSessionEnded|2() at <abf6464d174f467683d5f2a1c6dbeb17>:0
MultiProviderAsyncSearchSession.OnProviderAsyncSessionEnded() at <abf6464d174f467683d5f2a1c6dbeb17>:0
SearchSession.Stop() at <abf6464d174f467683d5f2a1c6dbeb17>:0
UnityEditor.Search.BaseAsyncIEnumerableHandler`1[T].OnUpdate() at <abf6464d174f467683d5f2a1c6dbeb17>:0
EditorApplication.Internal_InvokeTickEvents() at <1f0be198f5164d2489de92f22c998266>:0

Using Unity 2021.3.5f1 & com.unity.search.extensions version 1.0.1 (basically downloaded the master branch a few weeks back).

NibbleByte avatar Jan 23 '23 12:01 NibbleByte