Search Issue Tracker

Not Reproducible

Votes

0

Found in [Package]

1.5.1-pre.3

Issue ID

UVSB-1141

Regression

No

InvalidOperationException When editing multi-selcetion in Bolt

Package: Visual Scripting

-

Reproducible on:

  • Unity version: 2021.1
  • VS version: 1.4.14
  • Platform: Windows 10 and macOS Catalina (pretty sure this will happen with Ubuntu as well)

Repro steps:

  1. download attached project
  2. use the Simple grap provided
  3. drag to select both Get Variable and On Input event
  4. Duplicate
  5. try to change the drop-down of the event from on Hold to other value, while multiselection is active

Outcome Results:

{code:java}
InvalidOperationException: Decorated object is not valid: ValueConnection#0f15b...
Unity.VisualScripting.SingleDecoratorProvider`3[TDecorated,TDecorator,TAttribute].Create
ArgumentException: Getting control 15's position in a group with only 15 controls when doing repaint
Aborting
{code}

  • Also, see video attached
  1. Resolution Note:

    Cannot reproduce with the actual main branch(commit f2770787c391fdd22d2c50b0e0837032ec97953b):

    STR:
    - Open the project as described in the ticket
    - Open the package manager
    - Remove the Visual Scripting package
    - Add the Visual Scripting package from disk (must be on main branch)
    - Open the Simple script
    - Multi-select the nodes and duplicated them
    - While multi-selection is active, change On Input node Hold drop-down
    - No error is thrown in the console

Add comment

Log in to post comment