Search Issue Tracker

Won't Fix

Votes

0

Found in [Package]

2.0.0a10

Issue ID

UVSB-645

Regression

Yes

Error drawing UnityObjectInspector when clicking radial button twice

Package: Visual Scripting Bugs

-

*!Imvt4ChHsc.gif|width=460,height=131!*

*Repro:*
1. Create a project and have Bolt 2 set up, using latest 2020.1 Unity version.
2. Create -> Bolt -> Bolt Class, click to view this new asset in Inspector.
4. Click "+" under "Variables" to add a new variable.
6. Click dropdown arrow to expand.
8. Click radial button next to variable field to open search. Click radial button again.

*Expected Result:* Button and field should not be affected.
*Actual Result:* Button and field disappear and "Error drawing UnityObjectInspector" warning replaces them. Also an "Inspector block accessor mismatch" warning appears in console. Warning message details at the end of this description.

Doesn't appear to occur with any non-Bolt buttons.

Used Bolt version 2.0.0a10. Does not appear to be a Bolt version issue, as the issue is reproducible on 2020.1 and 2020.2 Unity versions and not 2019.3 Unity versions.
*Tested and Reproducible on*: 2020.1.0b6, 2020.1.0b1, 2020.2.0a9
*Tested and not reproducible on:* 2019.3.11f1

Spent some time trying to regression check this through 2020.1, but I could not get Bolt working in many of them so I can't say for certain which version the issue was introduced. Will update if this changes.

Also tested with older Bolt versions 2.0.0a6 and 2.0.0a8 on Unity 2018 and 2019 versions, no issues.

 

*Warning Details:*
----
Inspector block accessor mismatch.
Started Test (BoltClass).variables.1, ended Test (BoltClass).
UnityEngine.Debug:LogWarning (object)
Ludiq.Inspector:EndBlock (Ludiq.Accessor) (at Assets/Ludiq/Ludiq.Core/Editor/Inspection/Inspector.cs:794)
Ludiq.Inspector:EndBlock () (at Assets/Ludiq/Ludiq.Core/Editor/Inspection/Inspector.cs:779)
Ludiq.Inspector:DrawControl (UnityEngine.Rect) (at Assets/Ludiq/Ludiq.Core/Editor/Inspection/Inspector.cs:458)
Ludiq.Inspector:DrawControlLayout (single) (at Assets/Ludiq/Ludiq.Core/Editor/Inspection/Inspector.cs:858)
Ludiq.Bolt.ExplorerWindow:_OnGUI () (at Assets/Ludiq/Bolt.Core/Editor/Exploration/ExplorerWindow.cs:518)
Ludiq.LudiqEditorWindow:OnGUI () (at Assets/Ludiq/Ludiq.Core/Editor/Windows/LudiqEditorWindow.cs:140)
UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)

  1. 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.

Add comment

Log in to post comment