Search Issue Tracker

Fixed

Votes

0

Found in [Package]

1.4.13

1.5.1

Issue ID

UVSB-1160

Regression

No

[Bolt] NullReferenceException gets thrown in the Console when selecting 'Show Data...' in the Graph window

Package: Visual Scripting

-

Reproducible on:

  • Bolt version: 1.4.14
  • Unity version: 2018.4.30f1, 2019.4.17f1, 2020.1.17f1, 2020.2.1f1, 2021.1.0b1
  • Platforms: Windows 10, macOS Catalina and most probably it will occur on Ubuntu as well

Steps to reproduce:

  1. Before creating a new project make sure that the Graph window is closed (not docked or floating)
  2. Create a new project
  3. Install the Bolt Asset (Instruction: https://docs.unity3d.com/2019.3/Documentation/Manual/bolt-installation.html)
  4. Open Window > Graph
  5. Click on the three dots located in the upper right corner of the Graph window
  6. Select 'Show Data...'

Actual result:

  • The NullReferenceException gets thrown in the Console

{code:java}
NullReferenceException: Object reference not set to an instance of an object
Ludiq.SerializationData.ToString (System.String title) (at Ludiq.Core.Runtime/Serialization/SerializationData.cs:67)
Ludiq.SerializationData.ShowString (System.String title) (at Ludiq.Core.Runtime/Serialization/SerializationData.cs:110)
Ludiq.LudiqEditorWindow.<AddItemsToMenu>b__11_0 () (at Ludiq.Core.Editor/Windows/LudiqEditorWindow.cs:90)
UnityEditor.GenericMenu.CatchMenu (System.Object userData, System.String[] options, System.Int32 selected) (at <c5b8ea301f1f41bf85e0302c2ee96b92>:0)
{code}

Expected result:

  • No errors should appear in the console.
  • A text document should open with all the data requested.

Notes:

  • The issue does not reproduce if the Graph window is already open when reopening the project (i.e. the Graph window was not closed before closing the project)
  1. Resolution Note:

    Show Data button no longer causes errors

Add comment

Log in to post comment