No Assignment with Set and Get Variable Connected Directly
complete
あーあーあ~
Connecting nodes "Get Variable" and "Set Variable" directly does not cause the assignment.
Screenshots consist of the graph causing this, the corresponding debug logs and the assembly codes.
At first bool1 is False and bool2 is True, nextly we assign bool2 to bool1, hence bool1 is supposed True after the assignment.
However the result says bool1 remains False.
The assembly codes also look strange, not having codes for it.
(I am not familiar with assembly codes, so very sorry if they have in fact)
I tried with integer variables too instead of boolean ones, also in the current VRChat client, but both results were same as above.
How to replicate:see graph
SDK:VRCSDK3+UDON-2020.04.03.13.19
VRC client:916
Log In
Momo the Monster
complete
Momo the Monster
in progress
Made some updates to compiler logic for Set Variable, looks like we'll have this fixed in the next release.
jetdog8808
recently noticed this is still a problem at least with "VRCSDK3-WORLD-2020.08.07.18.18_Public" sdk. the code will not compile it. first image is a temp value setting it working fine. second image is a variable setting it which doesn't compile.
jetdog8808
did a clean install into a new project and still happened.
Momo the Monster
tracked
Thanks for the reproductions, we've verified this issue in the compiler and will work to fix it.
Gondola
had a lot of trouble with this one, it looks like they changed the behavior of set variable and functionally replaced it with the new node pictured below, that or they just broke set variable and the other one is an alternative that isn't broken, after replacing the traditional set variable nodes with the new one everything works, still a problem though, set variable is hugely important and shouldn't be confused/disabled by the new addition(but it appears to be as of the current update)
naqtn
More simple reproduction sample. COPY operation completely missing. Workaround is inserting identity transformation node such as adding zero in case of integer.