[591] Flow breaks with many jumping nodes
complete
faidra
If there are about ten or more jumping nodes (Branch, For, and While), other jumping nodes, which are compiled after them, will never send Exit or False.
Log In
Momo the Monster
complete
Momo the Monster
in progress
Fixed in next release - tested with up to 500 branches!
Momo the Monster
Merged in a post:
12 or More Branches will Cause the Compiler to Break
Oscar Casey
When connecting 12 or more Branches or While nodes in a chain from an Update node, It will cause the Compiler to Error "Cannot jump to an unaligned address '0x########'. Jump targets must be 4-byte aligned boundaries". Other Chaining limits can be hit with other types of nodes, broke with adding 1 too many Text Set Text nodes in the chain. (remedied by removing the Branch Nodes) But a Consistent is 12 or More Branch or While nodes will break the Compiler
Hitori Ou
This explains most the issues i have run into with larger scripts. Confirmed this issue by removing excess jumps.
Hitori Ou
Same here, plz fix.
Oscar Casey
https://feedback.vrchat.com/vrchat-udon-closed-alpha-bugs/p/12-or-more-branches-will-cause-the-compiler-to-break < My Experience with the bug <
Momo the Monster
tracked
Synergiance
I've run into this bug a couple times now, if you look at the compiled assembly it breaks after the JUMP_IF_FALSE that has a 7 digit hex address. In this case 0x00002D0, 0x00002D1 and 0x00002D2 have all been listed in the assembly. Meanwhile all other addresses are for example 0x000120