Hi, my name is Kjartan and I just bought flowCanvas.
I have been playing around with it for a little bit now, and I think I found a bug with the macro system.
I started recreating a simple RTS camera and I decided to put some of the math into a macro so that I could reuse it.
You can see from the screenshot that I have the exact same Macro duplicated twice, and only one of them works (you can see based on the colors of the lines, the blue’ish ones are for some reason not working..).
Here is a link to the project files with the bug:
–link removed because it contains paid products–
I have investigated a bit more and it seems like the problem is starting from the integer value from the “Get Pixel Width” node.
I made another simpler setup that also fails every time. You can see it in the screenshot.
This time I am just using a Macro that is is not doing anything (called “IntFloat”). The only thing it is doing is passing data from Float / Int data from input to output inside the macro.
The macro is simply refusing to pass data through it. If I bypass the macro and connect directly to the Set Value nodes then everything works fine.
Indeed there is a bug here (introduced in last version). Thanks for finding out and for reproduction.
To fix this, please open up FlowGraph.cs and replace method OnGraphStarted() contents with the following code: