Search Issue Tracker
Won't Fix
Votes
0
Found in [Package]
2.0.0a13
Issue ID
UVSB-950
Regression
No
Invoke button in the inspector throws a GUI drawing error
Steps to repro
- Open [this|https://drive.google.com/file/d/1_JZIgOmieNE_J0FCDUod1DzLmMydbZ22/view?usp=sharing] project
- Select the Main Camera in the Hierarchy
- In the inspector find the Bolt Component
- Click the invoke button
Notice issue >> Errors and warnings in the console. Error Drawing GraphInspector appears in the inspector.
Video Attached
Tested: Unity 2020.1.f1, Bolt 2.0.0a13, macOS
{code:java}
Inspector block accessor mismatch.
Started Main Camera (BoltComponent) [TEST CLASS (BoltClass)].trait.bfa03aeb-766f-4d6f-8e2a-371b46389307, ended Main Camera (BoltComponent) [TEST CLASS (BoltClass)].trait.
UnityEngine.Debug:LogWarning(Object)
Unity.Bolt.Inspector:EndBlock(Accessor) (at /Users/johncrowe/Downloads/com.unity.bolt-fix-23-setting-local-function-variable/Packages/com.unity.bolt/Editor/Bolt.Core/Inspection/Inspector.cs:794)
Unity.Bolt.Inspector:EndBlock() (at /Users/johncrowe/Downloads/com.unity.bolt-fix-23-setting-local-function-variable/Packages/com.unity.bolt/Editor/Bolt.Core/Inspection/Inspector.cs:779)
Unity.Bolt.Inspector:DrawControl(Rect) (at /Users/johncrowe/Downloads/com.unity.bolt-fix-23-setting-local-function-variable/Packages/com.unity.bolt/Editor/Bolt.Core/Inspection/Inspector.cs:458)
Unity.Bolt.Inspector:DrawControl(Rect, Single&) (at /Users/johncrowe/Downloads/com.unity.bolt-fix-23-setting-local-function-variable/Packages/com.unity.bolt/Editor/Bolt.Core/Inspection/Inspector.cs:543)
Unity.Bolt.BoltClassShellEditor:OnInnerGUI(Rect) (at /Users/johncrowe/Downloads/com.unity.bolt-fix-23-setting-local-function-variable/Packages/com.unity.bolt/Editor/Bolt.Core/BTS/BoltClassShellEditor.cs:29)
Unity.Bolt.Editor:OnControlGUI(Rect) (at /Users/johncrowe/Downloads/com.unity.bolt-fix-23-setting-local-function-variable/Packages/com.unity.bolt/Editor/Bolt.Core/Inspection/Editor.cs:222)
Unity.Bolt.Inspector:DrawControl(Rect) (at /Users/johncrowe/Downloads/com.unity.bolt-fix-23-setting-local-function-variable/Packages/com.unity.bolt/Editor/Bolt.Core/Inspection/Inspector.cs:456)
Unity.Bolt.Inspector:DrawControlLayout(Single) (at /Users/johncrowe/Downloads/com.unity.bolt-fix-23-setting-local-function-variable/Packages/com.unity.bolt/Editor/Bolt.Core/Inspection/Inspector.cs:858)
Unity.Bolt.Persistent:OnGUI() (at /Users/johncrowe/Downloads/com.unity.bolt-fix-23-setting-local-function-variable/Packages/com.unity.bolt/Editor/Bolt.Core/Inspection/Root/UnityRootObjectEditor.cs:49)
Unity.Bolt.PersistentRootEditorWrapper:OnInspectorGUI() (at /Users/johncrowe/Downloads/com.unity.bolt-fix-23-setting-local-function-variable/Packages/com.unity.bolt/Editor/Bolt.Core/Inspection/PersistentRootEditorWrapper.cs:33)
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr, Boolean&) (at /Users/builduser/buildslave/unity/build/Modules/IMGUI/GUIUtility.cs:189)
{code}
{code:java}
GraphPointerException: Graph pointer must have data for this operation.
[ Main Camera (BoltComponent) > Test Function#bfa03aeb#1052588032 ]
Unity.Bolt.GraphPointer.EnsureDataAvailable () (at /Users/johncrowe/Downloads/com.unity.bolt-fix-23-setting-local-function-variable/Packages/com.unity.bolt/Runtime/Bolt.Core/Graphs/GraphPointer.cs:288)
Unity.Bolt.GraphPointer.get_data () (at /Users/johncrowe/Downloads/com.unity.bolt-fix-23-setting-local-function-variable/Packages/com.unity.bolt/Runtime/Bolt.Core/Graphs/GraphPointer.cs:294)
Unity.Bolt.SetFlowGraphVariable.Set (Unity.Bolt.Flow flow) (at /Users/johncrowe/Downloads/com.unity.bolt-fix-23-setting-local-function-variable/Packages/com.unity.bolt/Runtime/Bolt.Flow/Units/BTS/SetFlowGraphVariable.cs:58)
Unity.Bolt.Flow.InvokeDelegate (Unity.Bolt.ControlInput input) (at /Users/johncrowe/Downloads/com.unity.bolt-fix-23-setting-local-function-variable/Packages/com.unity.bolt/Runtime/Bolt.Flow/Flow.cs:513)
Rethrow as GraphPingException: <!GraphPing[18728,18730,bfa03aeb-766f-4d6f-8e2a-371b46389307,96ae2e1a-80ce-4e3f-889f-2ec69021da88]!>
Unity.Bolt.Flow.InvokeDelegate (Unity.Bolt.ControlInput input) (at /Users/johncrowe/Downloads/com.unity.bolt-fix-23-setting-local-function-variable/Packages/com.unity.bolt/Runtime/Bolt.Flow/Flow.cs:517)
Unity.Bolt.Flow.Invoke (Unity.Bolt.ControlOutput output) (at /Users/johncrowe/Downloads/com.unity.bolt-fix-23-setting-local-function-variable/Packages/com.unity.bolt/Runtime/Bolt.Flow/Flow.cs:408)
Unity.Bolt.FlowFunction.Invoke (Unity.Bolt.GraphReference reference, System.Object[] args) (at /Users/johncrowe/Downloads/com.unity.bolt-fix-23-setting-local-function-variable/Packages/com.unity.bolt/Runtime/Bolt.Flow/Graphs/FlowFunction.cs:174)
Unity.Bolt.GraphInspector.OnControlGUI (UnityEngine.Rect position) (at /Users/johncrowe/Downloads/com.unity.bolt-fix-23-setting-local-function-variable/Packages/com.unity.bolt/Editor/Bolt.Core/Inspection/GraphInspector.cs:55)
Unity.Bolt.Inspector.OnFieldGUI (UnityEngine.Rect position) (at /Users/johncrowe/Downloads/com.unity.bolt-fix-23-setting-local-function-variable/Packages/com.unity.bolt/Editor/Bolt.Core/Inspection/Inspector.cs:245)
Unity.Bolt.Inspector.DrawField (UnityEngine.Rect position, UnityEngine.GUIStyle labelStyle) (at /Users/johncrowe/Downloads/com.unity.bolt-fix-23-setting-local-function-variable/Packages/com.unity.bolt/Editor/Bolt.Core/Inspection/Inspector.cs:516)
UnityEngine.Debug:LogException(Exception)
Unity.Bolt.Inspector:ShieldDraw(Rect) (at /Users/johncrowe/Downloads/com.unity.bolt-fix-23-setting-local-function-variable/Packages/com.unity.bolt/Editor/Bolt.Core/Inspection/Inspector.cs:431)
Unity.Bolt.Inspector:DrawField(Rect, GUIStyle) (at /Users/johncrowe/Downloads/com.unity.bolt-fix-23-setting-local-function-variable/Packages/com.unity.bolt/Editor/Bolt.Core/Inspection/Inspector.cs:483)
Unity.Bolt.Inspector:DrawField(Rect, Single&) (at /Users/johncrowe/Downloads/com.unity.bolt-fix-23-setting-local-function-variable/Packages/com.unity.bolt/Editor/Bolt.Core/Inspection/Inspector.cs:548)
Unity.Bolt.BoltClassShellTraitEditor:OnInnerGUI(Rect) (at /Users/johncrowe/Downloads/com.unity.bolt-fix-23-setting-local-function-variable/Packages/com.unity.bolt/Editor/Bolt.Core/BTS/BoltClassShellTraitEditor.cs:273)
Unity.Bolt.Editor:OnControlGUI(Rect) (at /Users/johncrowe/Downloads/com.unity.bolt-fix-23-setting-local-function-variable/Packages/com.unity.bolt/Editor/Bolt.Core/Inspection/Editor.cs:222)
Unity.Bolt.Inspector:DrawControl(Rect) (at /Users/johncrowe/Downloads/com.unity.bolt-fix-23-setting-local-function-variable/Packages/com.unity.bolt/Editor/Bolt.Core/Inspection/Inspector.cs:456)
Unity.Bolt.Inspector:DrawControl(Rect, Single&) (at /Users/johncrowe/Downloads/com.unity.bolt-fix-23-setting-local-function-variable/Packages/com.unity.bolt/Editor/Bolt.Core/Inspection/Inspector.cs:543)
Unity.Bolt.BoltClassShellEditor:OnInnerGUI(Rect) (at /Users/johncrowe/Downloads/com.unity.bolt-fix-23-setting-local-function-variable/Packages/com.unity.bolt/Editor/Bolt.Core/BTS/BoltClassShellEditor.cs:29)
Unity.Bolt.Editor:OnControlGUI(Rect) (at /Users/johncrowe/Downloads/com.unity.bolt-fix-23-setting-local-function-variable/Packages/com.unity.bolt/Editor/Bolt.Core/Inspection/Editor.cs:222)
Unity.Bolt.Inspector:DrawControl(Rect) (at /Users/johncrowe/Downloads/com.unity.bolt-fix-23-setting-local-function-variable/Packages/com.unity.bolt/Editor/Bolt.Core/Inspection/Inspector.cs:456)
Unity.Bolt.Inspector:DrawControlLayout(Single) (at /Users/johncrowe/Downloads/com.unity.bolt-fix-23-setting-local-function-variable/Packages/com.unity.bolt/Editor/Bolt.Core/Inspection/Inspector.cs:858)
Unity.Bolt.Persistent:OnGUI() (at /Users/johncrowe/Downloads/com.unity.bolt-fix-23-setting-local-function-variable/Packages/com.unity.bolt/Editor/Bolt.Core/Inspection/Root/UnityRootObjectEditor.cs:49)
Unity.Bolt.PersistentRootEditorWrapper:OnInspectorGUI() (at /Users/johncrowe/Downloads/com.unity.bolt-fix-23-setting-local-function-variable/Packages/com.unity.bolt/Editor/Bolt.Core/Inspection/PersistentRootEditorWrapper.cs:33)
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr, Boolean&) (at /Users/builduser/buildslave/unity/build/Modules/IMGUI/GUIUtility.cs:189)
{code}
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
- Articulation Body with 'Revolute' Joint Type has erratic behavior when Upper Limit is set to above 360
- WebGL Player fails to render Scene when Terrain with Detail Mesh is added and WebGPU Graphics API is used
- Inconsistent errors are logged when different types are passed into the Query "Q<>" method in UIToolkit and the ancestor VisualElement is null
- Crash on GetMaterialPropertyByIndex when opening a specific Scene
- Discrepancies in the styling are present when using a TSS file instead of a USS file in custom EditorWindow
Resolution Note:
Bolt 2 will not be released as its own product. See https://forum.unity.com/threads/visual-scripting-roadmap-update-august-2020.951675/ for details.