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
- Remote Config file throws ArgumentNullReference exceptions in the Console and does not render in Inspector
- Multiple errors are thrown and file does not parse when saving after removing a duplicate UI Document instance from the hierarchy
- Custom Inspector throws a NullReferenceException error even when using #if UNITY_EDITOR preprocessor directive
- Sun and Clouds are distorted when using Tonemapping mode ACES
- "Camera" component's FSR2 Mode override does not change the FSR2 Mode when the "Use FSR2 Custom Attributes" option is disabled in the "Camera" component
Resolution Note:
Not reproducible on the main branch anymore
Resolution Note (fix version 1.4.14):
Not reproducible on the main branch anymore