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
- 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
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
- [Android] TMP Input Field loses focus on click when using an external keyboard
- GameObject renders as a cube when changing Cast Shadows
- [Linux] Crash on ModalProgressBackendLinux::Clear when Domain Reload progress bar appears
- Duplicating the Properties in the VFX Graph Blackboard pastes them on the top of the list instead below the original Property
- Package Manager lets some packages to be imported when everything in the package is deselected while other packages have the “Import” button greyed out
Resolution Note:
Fixed BoltClassShell errors occuring when viewing the scene while running in Generated mode