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
- Rendering Debugger window sections do not have a minimum width set when resizing with the slider in the middle of the window
- Last segment of a Sprite Shape Spline is affected by other segments' Sprite Variant change when no edge Sprite is selected
- [iOS] Application frequently crashes on Social.LoadAchievements call when many achievements are registered
- Errors “RenderPass: Attachment 0 is declared as depth attachment but RGBA8 sRGB is not a valid depth format.“ and “BeginSubPass: Not inside a Renderpass“ are present when using Native RenderPass with a RenderTexture that only has depth output
- ArgumentOutOfRangeException is thrown when an empty DropdownField is clicked at runtime
Resolution Note:
Fixed BoltClassShell errors occuring when viewing the scene while running in Generated mode