Search Issue Tracker
Fixed
Votes
0
Found in [Package]
2.0.0a12
Issue ID
UVSB-914
Regression
Yes
BoltClassShell errors spew the console when running graph in generated mode
When running a basic debug.log script in Generated mode errors continually spam the console.
!image-2020-07-16-15-44-45-252.png!
Steps to reproduce
* Download the 2.0.0a12 alpha build from [here|https://drive.google.com/drive/u/1/folders/1ODflWvcy8VXoy8-Lm-VapqEEytXP5Mow]
* Create a new 2019.4.1f1 project and install the alpha by dragging and dropping the package
* Create a blank game object in the hierarchy
* Select the blank game object and add a new bolt class via the add component button in the inspector.
* In the new bolt class creates a new flow graph.
* Select the start function and add a debug.log and a sting Litteral node to it.
* Switch to Generated mode via the play options
* Press play
Notice issue >> NullReferenceException: Object reference not set to an instance of an object is constantly spewed to the log.
{code:java}
Unity.Bolt.BoltClassShellGraphRoot..ctor (Unity.Bolt.IBoltClassShell shell, Unity.Bolt.IBoltClassGraph graph) (at Assets/Bolt/Bolt.Core/Runtime/BTS/BoltClassShellGraphRoot.cs:22)
Unity.Bolt.BoltClassShellTrait.CreateTransientGraphInstance (Unity.Bolt.IBoltClassGraph graph) (at Assets/Bolt/Bolt.Core/Runtime/BTS/BoltClassShellTrait.cs:496)
Unity.Bolt.BoltClassShellTrait.GetOrCreateGraphInstance (Unity.Bolt.IBoltClassGraph graph) (at Assets/Bolt/Bolt.Core/Runtime/BTS/BoltClassShellTrait.cs:483)
Unity.Bolt.BoltClassShellTrait.ManualInvokeEvent (Unity.Bolt.EventHookID eventHookID) (at Assets/Bolt/Bolt.Core/Runtime/BTS/BoltClassShellTrait.cs:926)
Unity.Bolt.BoltUnityClassShellTrait.OnDrawGizmosSelected () (at Assets/Bolt/Bolt.Core/Runtime/BTS/BoltUnityClassShellTrait.cs:76)
Unity.Bolt.BoltComponent.OnDrawGizmosSelected () (at Assets/Bolt/Bolt.Core/Runtime/BTS/BoltComponent.cs:158)
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr){code}
Project files: [Here|https://drive.google.com/file/d/1dc4jbU71-uxHlA-SYg5huT-Mbthlw_C0/view?usp=sharing]
Tested Broken with Unity 2014.1.1f1, 2019.3.15f1, 2020.1.b12
Tested Working with Bolt 2.0.0a12 Release and Unity 2018.4.23f1
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
- Text is truncated in the Inspector when the display scale is set to 150%
- CancellationTokenSource(<timeout>) has incorrect cancellation status when used in WebGL Player
- VFX property value names are cut off when properties with 'Arc' are viewed in the VFX Blackboard
- Lighting generation freezes the Editor during the Global Illumination Post Processing stage when baking lighting on certain systems
- "EndLayoutGroup: BeginLayoutGroup must be called first." error is thrown after building the project when Scripting Backend and Api Compatibility Level fields are changed
Resolution Note:
Fixed BoltClassShell errors occuring when viewing the scene while running in Generated mode