Search Issue Tracker
Duplicate
Votes
0
Found in
2021.1.0b1
Issue ID
1301394
Regression
No
[Visual Scripting] Error is thrown on selecting 'Show Data..' option in 'State' and 'Script' Graph
On creating 'State' and 'Script' Graph when 'Show Data..' option is selected then NullReferenceException thrown in console. Refer attached video and stack trace.
Steps to repro:
1. Create a new Project
2. Project window > Create > Visual Scripting > 'State' and 'Script' Graph
3. Inspector > Edit Graph > 'Show Data..' option > Click
Actual Result:
Error is thrown on selecting 'Show Data..' option in 'State' and 'Script' Graph.
Expected Result:
On selecting 'Show Data..' option respective Data should show without throwing any error.
Reproducible on:
2021.1.0b1 with Version 1.5.1-pre.3
Note: Visual Scripting has been introduced in 2021.1.0b1
Environment: Windows 10 and Mac 10.15
Stack Trace:
NullReferenceException: Object reference not set to an instance of an object
Unity.VisualScripting.SerializationData.ToString (System.String title) (at Library/PackageCache/com.unity.visualscripting@1.5.1-pre.3/Runtime/VisualScripting.Core/Serialization/SerializationData.cs:67)
Unity.VisualScripting.SerializationData.ShowString (System.String title) (at Library/PackageCache/com.unity.visualscripting@1.5.1-pre.3/Runtime/VisualScripting.Core/Serialization/SerializationData.cs:110)
Unity.VisualScripting.LudiqEditorWindow.<AddItemsToMenu>b__11_0 () (at Library/PackageCache/com.unity.visualscripting@1.5.1-pre.3/Editor/VisualScripting.Core/Windows/LudiqEditorWindow.cs:89)
UnityEditor.GenericMenu.CatchMenu (System.Object userData, System.String[] options, System.Int32 selected) (at /Users/bokken/buildslave/unity/build/Editor/Mono/GUI/GenericMenu.cs:126)
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 AnimatorHelper::Validate when TextMeshPro package is upgraded and then downgraded
- Crash on SrpBatcherDx12Lightweight::BindTextures when building the project for UWP
- Global Search returns incorrect results in the Project tab when searching by namespace and class type after they have been modified
- Cannot select a child element in UI Builder when the parent is selected
- [Linux] Crash on NewInput::MouseCallbacks::IOCTL when "WarpCursorPosition" function is called
Add comment