Search Issue Tracker
Active
Votes
0
Found in [Package]
2.0.0a6
Issue ID
BOLT-742
Regression
No
Locals in flow macros do not disambiguate across multiple instances of same macro
[Original Issue|https://support.ludiq.io/communities/5/topics/4694-locals-in-flow-macros-do-not-disambiguate-across-multiple-instances-of-same-macro#] - Confirmed by Lazlo
----
Created a Flow Macro to output a random character (string). If I chain together a few of these same Flow Macros, though, the value of each call is overridden by the last one in the sequence. Each Flow Macro generates a different value but when concatenated together, they all end up being the same value. See the debug output to the console:
!https://support.ludiq.io/s/attachments/21929/5/1550/dbf180755dad67e0e48b3b95c26e7c6e.png!
I then created a Flow Function (in the same class) and it worked correctly:
!https://support.ludiq.io/s/attachments/21929/5/1550/c528cc6239f8958da3d3dd93d105586f.png!
Next, I decided to create a version of this Flow Function in a different, "Helper" class, that I could use from other classes, without requiring duplication. When I did that, though, I received an error, "...doesn't own graph..."
!https://support.ludiq.io/s/attachments/21929/5/1550/783140dd968234e62d8114500ed69a89.png!
Bolt Version:
2.0.0a6
Unity Version:
2019.2.1.7f1
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- "DrawDepthNormalPrepass" exceptions are thrown in Editor when Ctrl key is held with specific renderer settings
- Script file name changes do not display in Editor when Compiler errors are present
- Sprites are not rotating with bones when the Sprite type is Unlit
- Crash on TransferField_NonArray<YAMLRead,Converter_String> when opening a specific project
- Missing page when opening reference for Panel Text Settings
Add comment