Search Issue Tracker
Fixed
Fixed in 1.4.14
Votes
0
Found in [Package]
1.4.13
Issue ID
UVSB-996
Regression
Yes
NullReferenceException when graph window is opened on a new project
*Reproducible on:*
* "main" branch
* Release candidate 1.4.13
* Platform: Window 10
* Unity version: 2020.1.3f1 and 2019.4.8f1
*Steps to Reproduce:*
* Create a fresh project
* Install Bolt
* Open the graph windows (Windows->Graph)
* Close the editor
* Reopen the project
*Outcome Results:*
{code:java}
NullReferenceException: Object reference not set to an instance of an object
Ludiq.LudiqGraphs.get_Configuration () (at Assets/Ludiq/Ludiq.Graphs/Editor/Plugin/LudiqGraphs.cs:22)
Ludiq.GraphWindow.get_showSidebars () (at Assets/Ludiq/Ludiq.Graphs/Editor/Windows/GraphWindow.cs:685)
Ludiq.GraphWindow.OnGUI () (at Assets/Ludiq/Ludiq.Graphs/Editor/Windows/GraphWindow.cs:423)
UnityEditor.HostView.InvokeOnGUI (UnityEngine.Rect onGUIPosition, UnityEngine.Rect viewRect) (at <701f6580abad44cfb237a543dcd0d94b>:0)
UnityEditor.DockArea.DrawView (UnityEngine.Rect viewRect, UnityEngine.Rect dockAreaRect) (at <701f6580abad44cfb237a543dcd0d94b>:0)
UnityEditor.DockArea.OldOnGUI () (at <701f6580abad44cfb237a543dcd0d94b>: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 <9c9fa79efe9e479a8cbe7a6f99f673d3>:0)
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr, Boolean&)
NullReferenceException: Object reference not set to an instance of an object
Ludiq.LudiqGraphs.get_Configuration () (at Assets/Ludiq/Ludiq.Graphs/Editor/Plugin/LudiqGraphs.cs:22)
Ludiq.GraphWindow.get_showSidebars () (at Assets/Ludiq/Ludiq.Graphs/Editor/Windows/GraphWindow.cs:685)
Ludiq.GraphWindow.OnGUI () (at Assets/Ludiq/Ludiq.Graphs/Editor/Windows/GraphWindow.cs:423)
UnityEditor.HostView.InvokeOnGUI (UnityEngine.Rect onGUIPosition, UnityEngine.Rect viewRect) (at <701f6580abad44cfb237a543dcd0d94b>:0)
UnityEditor.DockArea.DrawView (UnityEngine.Rect viewRect, UnityEngine.Rect dockAreaRect) (at <701f6580abad44cfb237a543dcd0d94b>:0)
UnityEditor.DockArea.OldOnGUI () (at <701f6580abad44cfb237a543dcd0d94b>: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 <9c9fa79efe9e479a8cbe7a6f99f673d3>:0)
UnityEngine.UIElements.IMGUIContainer.HandleIMGUIEvent (UnityEngine.Event e, UnityEngine.Matrix4x4 worldTransform, UnityEngine.Rect clippingRect, System.Action onGUIHandler, System.Boolean canAffectFocus) (at <9c9fa79efe9e479a8cbe7a6f99f673d3>:0)
UnityEngine.UIElements.IMGUIContainer.DoIMGUIRepaint () (at <9c9fa79efe9e479a8cbe7a6f99f673d3>:0)
UnityEngine.UIElements.UIR.RenderChainCommand.ExecuteNonDrawMesh (UnityEngine.UIElements.UIR.DrawParams drawParams, System.Single pixelsPerPoint, System.Exception& immediateException) (at <9c9fa79efe9e479a8cbe7a6f99f673d3>:0)
Rethrow as ImmediateModeException
UnityEngine.UIElements.UIR.RenderChain.Render () (at <9c9fa79efe9e479a8cbe7a6f99f673d3>:0)
UnityEngine.UIElements.UIRRepaintUpdater.Update () (at <9c9fa79efe9e479a8cbe7a6f99f673d3>:0)
UnityEngine.UIElements.VisualTreeUpdater.UpdateVisualTreePhase (UnityEngine.UIElements.VisualTreeUpdatePhase phase) (at <9c9fa79efe9e479a8cbe7a6f99f673d3>:0)
UnityEngine.UIElements.Panel.UpdateForRepaint () (at <9c9fa79efe9e479a8cbe7a6f99f673d3>:0)
UnityEngine.UIElements.Panel.Repaint (UnityEngine.Event e) (at <9c9fa79efe9e479a8cbe7a6f99f673d3>:0)
UnityEngine.UIElements.UIElementsUtility.DoDispatch (UnityEngine.UIElements.BaseVisualElementPanel panel) (at <9c9fa79efe9e479a8cbe7a6f99f673d3>:0)
UnityEngine.UIElements.UIElementsUtility.UnityEngine.UIElements.IUIElementsUtility.ProcessEvent (System.Int32 instanceID, System.IntPtr nativeEventPtr, System.Boolean& eventHandled) (at <9c9fa79efe9e479a8cbe7a6f99f673d3>:0)
UnityEngine.UIElements.UIEventRegistration.ProcessEvent (System.Int32 instanceID, System.IntPtr nativeEventPtr) (at <9c9fa79efe9e479a8cbe7a6f99f673d3>:0)
UnityEngine.UIElements.UIEventRegistration+<>c.<.cctor>b__1_2 (System.Int32 i, System.IntPtr ptr) (at <9c9fa79efe9e479a8cbe7a6f99f673d3>:0)
UnityEngine.GUIUtility.ProcessEvent (System.Int32 instanceID, System.IntPtr nativeEventPtr, System.Boolean& result) (at <2500dd078a544a69b6c923861af6cd15>:0)
{code}
*Expected Results:*
* Error message should not appear inm the console
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Crash on GUIManager::DoGUIEvent when focusing on the Game view window on a specific project
- Asset creation in the Project Browser is not always undone/inconsistent when the undo shortcut is pressed right after creating an asset
- JobTempAlloc memory leak warning is thrown when the Player is shut down
- Graphics State Collection warm-up does not work when using with Addressables Shaders
- "Baked Shadow Radius" field is visible but inactive when when the Shadow Type is set to "Hard Shadows" under the Light Component
Resolution Note:
Not reproducible on the main branch anymore
Resolution Note (fix version 1.4.14):
Not reproducible on the main branch anymore