Search Issue Tracker

Fixed

Votes

1

Found in [Package]

1.4.10

Issue ID

UVSB-50

Regression

Yes

NullReferenceException spams the console entering play mode while using the fuzzy search window

Package: Visual Scripting

-

Entering play mode, while the fuzzy search window is searching, causes the fuzzy search to freeze on-screen, spamming errors to the console.

Tested broken: 2020.1.0b6, 2020.2.0a5
Tested Working: 2019.3.9f1

To repro: 
* Start a new project and add Bolt to it
* Make a new flow machine and enter the Graph Window
* Search for anything (say, GameObject)
* While the search bar is open, enter play mode
* Notice the search window is still present, but empty
* A lot of NullReferenceException spam the console.

The only way to get this to stop is to restart the Editor.
{code:java}
NullReferenceException: Object reference not set to an instance of an object Ludiq.FuzzyWindow.OnGUI () (at <60780b9b3d704be7892014c52d7b34dd>:0) UnityEditor.HostView.OldOnGUI () (at <92f998fbb4ca4d8dab7793d6e003b794>:0) UnityEngine.UIElements.IMGUIContainer.DoOnGUI (UnityEngine.Event evt, UnityEngine.Matrix4x4 parentTransform, UnityEngine.Rect clippingRect, System.Boolean isComputingLayout, UnityEngine.Rect layoutSize, System.Action onGUIHandler, System.Boolean canAffectFocus) (at <e40488dcb2e3475fad9ef37a4468eea0>:0) UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr, Boolean&){code}
Cannot reproduce this in Unity 2019.3. Reproducible with Unity 2020.1.0b5 and 2020.2.0a7 As far as I could test, the issues reproduce on 2020.1.0a24, but in a23 and earlier, I can't reproduce this due to other more severe issues that prevent the package from even opening the Graph window. Also, for the AssetStore version, (v 1.4.11) I can't open the Graph window because of other errors, so can't regression check it either.
{code:java}
 MissingMemberException: Member 'UnityEditor.EditorWindow.ShowModal' not found. Ludiq.LudiqGUIUtility..cctor () (at <75479a292f634cecafcc6d9c858e3997>:0) Rethrow as UnityEditorInternalException: An error occured while accessing internal Unity Editor functions. This might happen if Unity makes backward-incompatible changes in their newer versions of the editor. Ludiq.LudiqGUIUtility..cctor () (at <75479a292f634cecafcc6d9c858e3997>:0) Rethrow as TypeInitializationException: The type initializer for 'Ludiq.LudiqGUIUtility' threw an exception. Ludiq.AssemblyResourceProvider.LoadTexture (System.String path, Ludiq.CreateTextureOptions options) (at <75479a292f634cecafcc6d9c858e3997>:0) Ludiq.EditorTexture.Load (Ludiq.IResourceProvider resources, System.String path, Ludiq.TextureResolution[] resolutions, Ludiq.CreateTextureOptions options, System.Boolean required) (at <75479a292f634cecafcc6d9c858e3997>:0) Ludiq.EditorTexture.Load (System.Collections.Generic.IEnumerable`1[T] resourceProviders, System.String path, Ludiq.TextureResolution[] resolutions, Ludiq.CreateTextureOptions options, System.Boolean required) (at <75479a292f634cecafcc6d9c858e3997>:0) Ludiq.PluginResources.LoadIcon (System.String path, System.Boolean required) (at <75479a292f634cecafcc6d9c858e3997>:0) Ludiq.LanguageIconSet.LoadAccessibility (System.String name, System.Boolean required) (at <75479a292f634cecafcc6d9c858e3997>:0) Ludiq.LanguageIconSet..ctor (System.String name) (at <75479a292f634cecafcc6d9c858e3997>:0) Ludiq.LanguageIconSet.Load (System.String name) (at <75479a292f634cecafcc6d9c858e3997>:0) Ludiq.Icons+Language.Load () (at <75479a292f634cecafcc6d9c858e3997>:0) Ludiq.Icons.Load () (at <75479a292f634cecafcc6d9c858e3997>:0) Ludiq.Icons..cctor () (at <75479a292f634cecafcc6d9c858e3997>:0) Rethrow as TypeInitializationException: The type initializer for 'Ludiq.Icons' threw an exception. System.Runtime.CompilerServices.RuntimeHelpers.RunClassConstructor (System.RuntimeTypeHandle type) (at <437ba245d8404784b9fbab9b439ac908>:0) Ludiq.PluginContainer.Initialize () (at <75479a292f634cecafcc6d9c858e3997>:0) Ludiq.PluginContainer..cctor () (at <75479a292f634cecafcc6d9c858e3997>:0) Rethrow as TypeInitializationException: The type initializer for 'Ludiq.PluginContainer' threw an exception. Ludiq.PluginContainer.get_initialized () (at <75479a292f634cecafcc6d9c858e3997>:0) Ludiq.Metadata.Dig[TSubpath,TMetadata] (TSubpath subpath, System.Func`2[T,TResult] constructor, System.Boolean createInPrefab, Ludiq.Metadata prefabInstance) (at <75479a292f634cecafcc6d9c858e3997>:0) Ludiq.Metadata.StaticObject (System.Object object, System.Type definedType) (at <75479a292f634cecafcc6d9c858e3997>:0) Ludiq.Metadata.StaticObject (System.Object object) (at <75479a292f634cecafcc6d9c858e3997>:0) Ludiq.LudiqRootObjectEditor+Individual.Initialize () (at <75479a292f634cecafcc6d9c858e3997>:0) Ludiq.IndividualEditor.Initialize (UnityEditor.SerializedObject serializedObject, UnityEditor.Editor editorParent) (at <75479a292f634cecafcc6d9c858e3997>:0) Ludiq.OptimizedEditor`1[TIndividual].GetIndividualDrawer (UnityEditor.SerializedObject serializedObject) (at <75479a292f634cecafcc6d9c858e3997>:0) Ludiq.OptimizedEditor`1[TIndividual].OnInspectorGUI () (at <75479a292f634cecafcc6d9c858e3997>:0) UnityEditor.UIElements.InspectorElement+<>c_DisplayClass58_0.<CreateIMGUIInspectorFromEditor>b_0 () (at <92f998fbb4ca4d8dab7793d6e003b794>:0) UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr, Boolean&){code}

Add comment

Log in to post comment