0
Fixed

2.0.0a9 Units that contain graph variables cant collapse

NeedsLoomis 1 month ago updated by Lazlo Bonin (Lead Developer) 1 month ago 2

Trying to collapse a group of units that contain local graph variables into a function or macro results in errors.

Bolt Version:
2.0.0a9
Unity Version:
2019.3
Platform(s):
Windows
Scripting Backend:
Both
.NET Version (API Compatibility Level):
.NET 4.x
Bolt 2
Fixed (Unreleased)

Thanks for the report.

I fixed the error to allow the operation to proceed.

However, note that the unit that accesses the graph variable will fail to define in the collapsed graph. That is by design: the new collapsed graph doesn't have the graph variable, and graph variables are not accessible from outside their parent graph.