Hi, I’m having a weird issue where my Udon Sharp Scripts work in Unity and on VRC Desktop but they don’t work in VRC PCVR. If anyone could give me advice on how to debug this or any leads on what I should be checking here that would be appreciated.
I’ve been making a script which allows me to control a puck on a map. The idea is that there’s a item you grab (GameObject pestle) which outputs a ray. If you point the ray at a plane (GameObject map_detection) it takes the position that the ray hits the plane and moves a puck (GameObject map_puck) to the same local position on another plane.
I’ve gotten this to work in both Unity and Desktop VR but when I put on my headset and do PCVR suddenly nothing happens. I’m at a loss right now on how to debug this since it’s such a specific situation for it to not work. I’ve attached a picture of all of the code in the Sharp script, a picture of the setup, and a picture of the red puck having moved in the VRC Desktop version to show that it does work, just not in VR.