[585] Broken Raycast Output
complete
Waai!
VRCSDK3 2020.03.14.13.18
UDONSDK 2020.03.13.17.05
Attempting to use either outputs of a raycast node (tested with raycast and spherecast) -- the return value or the out parameter -- breaks graph compilation with errors similar to this: https://pastebin.com/w1qcwqir
Log In
Momo the Monster
Merged in a post:
Cannot create a Physics.Raycast with a max distance that returns a RaycastHit
Dafirex
Throws an exception:
An exception occurred during EXTERN to 'UnityEnginePhysics.__Raycast__UnityEngineVector3_UnityEngineVector3_UnityEngineRaycastHitRef_SystemSingle__SystemBoolean'.
Cannot retrieve heap variable of type 'Single' as type 'RaycastHit'
Max distance and RaycastHit works fine alone
Momo the Monster
complete
Fixed in the next release of VRCSDK
naqtn
Momo the Monster: It is still broken for some overloaded variant cases. This time, it causes runtime exception. It seems that assembly generation mismatch VM implementation. Tested on VRCSDK3-UDON-2020.04.25.13.00 and Build 924 client.
Momo the Monster
in progress
Gondola
hello, getting the same error, appears that the outputs are jumbled and cannot create raycasts with nodes, please fix, because of this I also continuously encounter the error "Cannot retrieve heap variable of type 'Boolean' as type 'RaycastHit'"
D
DSMT
I am having a similar issue, with a normal raycast. It seems to be confusing the bool output with the RaycastHit output.
The exception I am getting from this code is: "Cannot retrieve heap variable of type 'Boolean' as type 'RaycastHit'".