Search Issue Tracker
Fixed
Votes
0
Found in [Package]
1.4.13
Issue ID
UVSB-985
Regression
Yes
NullReferenceExceptions when Bolt graph window is open
When using 2020.1.1f1 I get the following errors every time I enter play mode.
{code:java}
NullReferenceException: Object reference not set to an instance of an object
Ludiq.LudiqGraphs.get_Resources () (at Assets/Package/Ludiq.Graphs/Editor/Plugin/LudiqGraphs.cs:23)
Ludiq.LudiqGraphs.get_Icons () (at Assets/Package/Ludiq.Graphs/Editor/Plugin/LudiqGraphs.cs:24)
Ludiq.GraphWindow.OnEnable () (at Assets/Package/Ludiq.Graphs/Editor/Windows/GraphWindow.cs:289)
{code}
{code:java}
NullReferenceException: Object reference not set to an instance of an object
Ludiq.GraphWindow.get_showSidebars () (at Assets/Package/Ludiq.Graphs/Editor/Windows/GraphWindow.cs:686)
Ludiq.GraphWindow.OnGUI () (at Assets/Package/Ludiq.Graphs/Editor/Windows/GraphWindow.cs:424)
UnityEditor.HostView.InvokeOnGUI (UnityEngine.Rect onGUIPosition, UnityEngine.Rect viewRect) (at /Users/builduser/buildslave/unity/build/Editor/Mono/HostView.cs:423)
UnityEditor.DockArea.DrawView (UnityEngine.Rect viewRect, UnityEngine.Rect dockAreaRect) (at /Users/builduser/buildslave/unity/build/Editor/Mono/GUI/DockArea.cs:364)
UnityEditor.DockArea.OldOnGUI () (at /Users/builduser/buildslave/unity/build/Editor/Mono/GUI/DockArea.cs:353)
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 /Users/builduser/buildslave/unity/build/Modules/UIElements/IMGUIContainer.cs:296)
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr, Boolean&) (at /Users/builduser/buildslave/unity/build/Modules/IMGUI/GUIUtility.cs:189)
{code}
Expected: No graph window console errors. No references to Ludiq.
Video: [^GraphWindowCausesErrors.mp4]
Steps to reproduce
* Open this [project|https://drive.google.com/file/d/1sTNedSsygzte2GyY1VNnygmWa02VRd-j/view?usp=sharing] with Unity 2020.1.1f1 on macOS.
* Open the Bolt graph window (Window > Graph)
* Enter play mode
Notice issue >> Multiple error messages. These errors don't appear if you don't have the graph window open, but that makes using Bolt unuseable.
!Screenshot 2020-08-25 at 17.04.08.png|thumbnail!
Tested Broken: Unity 2020.1.1f1, 2019.4.8f1, macOS, [Bolt Main Build|https://github.cds.internal.unity3d.com/unity/com.unity.bolt/commit/b1c74a68c0a58abb37e7773ca2183cf1265ed92c]
Seems to have regressed in [commit 79f15b11cb631bbe3729226ecc79cd41381720a3|https://github.cds.internal.unity3d.com/unity/com.unity.bolt/commit/79f15b11cb631bbe3729226ecc79cd41381720a3]
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Opening Terrain Prefab in Prefab Editing Mode throws "NullReferenceException" error
- [Search] Dragging query pills put them behind the search text field
- A CustomPropertyDrawer that returns a PropertyField for a property named the same as a child field will not render all child fields
- Graphics Settings shows default values instead of the real values in the Rendering Debugger when Volume.profile is assigned via script
- Deleting multiple Tags throws “NullReferenceException”, and "Retrieving array element that was out of bounds" errors when holding the Enter key
Add comment