Udon Program graph visuals bugged.
complete
jetdog8808
I'm not sure how to reproduce at the moment but documenting here what happened.
I recreated a script into udon to move a object with the mouse position using a ray to hit a mesh collider.
Update () {
var ray = Camera.main.ScreenPointToRay (Input.mousePosition);
var hit : RaycastHit;
if (Physics.Raycast (ray, hit, 300)) {
print(hit.point);}
}
my first test did not work so i went into the graph to add debug logs to find where its breaking. upon selecting the name to add node nothing happened. i proceeded trying to see if i could add any nodes but nothing was added.
i restarted unity to see if it would be fixed. upon loading the graph it showed all the nodes i tried adding before all piled together and none of the previously connected nodes were connected. I deleted all the added nodes and added a debug.log to start testing. but then it started functioning as the udon program should of done from the start.
upon loading the udon program it reverted to having all the nodes i previously deleted back and all nodes unconnected. ( https://cdn.discordapp.com/attachments/436983428643291156/656036543839862795/2019-12-16_01-18-54.mp4 )
Log In
CubedParadox
complete
Fixed in next sdk
jetdog8808
here is a package of the file.
jetdog8808
copying and pasting nodes into a new graph has all the connections correct. but the program wont work anymore.
EDIT: looking closer i noticed variables have changed and correcting them for new graph.
jetdog8808
fixed variables and is now working.