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 - 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
- Mono Windows Builds don't produce full log callstacks when generating logs
- AssetBundles fail to load when running in Built Players for Mobile Devices
- UI elements with text gets bigger and grey when Player window is moved to another screen with different resolution
- System name accepts multiline text but crops it on confirmation, duplicates input, and shrinks the field when empty
- UI element scale and position are wrong in project build when DRS is changed with HDR and Software Dynamic Resolution enabled
Add comment