0
Pending Review

Collapse to macro causes error

Elvisish 6 months ago updated by Lazlo Bonin (Lead Developer) 5 months ago 1

I made the macro manually and it worked fine, it just refused to make this macro from Collapse:

https://gfycat.com/briefwhirlwindbactrian

The error given in console:

ArgumentException: An item with the same key has already been added. Key: ValueOutput#result
System.Collections.Generic.Dictionary`2[TKey,TValue].TryInsert (TKey key, TValue value, System.Collections.Generic.InsertionBehavior behavior) (at <437ba245d8404784b9fbab9b439ac908>:0)
Bolt Version:
2.0.0a10
Unity Version:
2019.3.6f1
Platform(s):
Scripting Backend:
.NET Version (API Compatibility Level):
Bolt 2
Pending Review

Hi Elvishish,

Thanks for the report and sorry about the issue.

I'll put it on my todo list to try and reproduce this, but it would really speed things up if you could isolate what conditions exactly cause this bug to happen. It's probably related to selection you're trying to collapse, or to the connections that remain to elements outside of it.