
+1
Fixed (Unreleased)
Bolt 2 A10 Setting graph variable in function breaks C# generation
Create a Flow function and add a graph variable.
Set the graph variable.
Check C# generation.
Getting the variable works fine, and uses the variable value as normal:
Bolt Version:
Bolt 2a10
Unity Version:
2019.3.2f1
Platform(s):
Windows
Scripting Backend:
Mono
.NET Version (API Compatibility Level):
.NET 4.x
Duplicates 1
Customer support service by UserEcho
Graph: https://imgur.com/ALTPOxT
Can confirm, also happens on my end:
As a side note - deleting the graph variable doesn't mark the set graph variable units still present in the graph as red/missing.
Hi Matthias,
Sorry for the late reply and thanks for the report.
I'll look into this, there has been many similar reports over the last few days.
Hi everyone,
Thanks for the report, I'll have to look into what may be causing this, but it seems like I forgot to alias the graph variable in the local function body generator.
Hi everyone,
I can't get this to reproduce on my end. It works fine here.
I had assumed I might have fixed it already in another commit, but even reverting to Alpha 10, I can't get it to occur.
Is there any more specific information needed? Any particular type of variable, or anything particular about the flow function?
I can't reproduce it either anymore.
I'll see what I can get tonight. I haven't been able to create a graph variable successfully yet, so I should be able to create a repro.
Easy for me to induce!
test.asset
Nothing funky, bare class with the function you see here.
Thanks everyone, reproduced and fixed for the next version. :)