0
Confirmed

Macro input / output shows as dimmed / never entered

Elvisish 2 years ago updated 2 years ago 4

Here is a macro inside a graph in Bolt 2 a5:



It shows correctly, here is the same macro recreated in a10:

And it shows this on the graph:



Here is another example:



This works fine in a5:

Bolt Version:
2.0.0a10
Unity Version:
2019.1.0f2
Platform(s):
Scripting Backend:
.NET Version (API Compatibility Level):
Bolt 2
Pending Review

Hi Elvishish,

Thanks for the report.

Just to make sure I understand, the issue is that the "Input" and "Output" nodes get dimmed out because Bolt doesn't recognize that they ever get "entered", correct?

If so, this is probably a port definition bug, I'll have a look.

Yes, it doesn't appear to consider the On Button Input to act as an input in a10.

+1
Confirmed

I've looked into this some more and it seems that the Flow Macro Unit is not being marked as having external ports (e.g. events) even when one of its inputs / outputs is connected to an external port. The relation inferral code will need to be improved to add the external flag in those cases.

Thanks for looking into this, if you need any more info from my graph, just let me know!