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
- Channel remapping dropdown in the Terrain Layer does not open when clicked on the title
- The Editor freezes indefinitely when a large number of elements are entered in the Subgraphs or Categories lists
- Some Visual Effects package Assets links to documentation are not working
- Heatmap asset’s documentation button in the Inspector window leads to “Sorry... that page seems to be missing!” page when clicked
- Crash on MonoBehaviour::CallMethodIfAvailable when performing various actions
Add comment