02-29-2024 11:57 AM - edited 03-01-2024 02:16 PM
Solved! Go to Solution.
03-01-2024 02:15 PM - edited 03-01-2024 02:17 PM
Welp, turns out it's a lot easier than I thought it would be to make this work. I think I over complicated the script assignments on the EventSystem and Canvas objects while testing out several different examples from older YT tutorials and other places. My canvas script setup became messy and over complicated. Even though I had no errors in the consol, I suspect there were conflicts somewhere or incorrect script references assigned. I finally found this page that showed how to simply add ray interactions to the canvas via Meta's handy right-click menu tool. [Right-click] -> [Interaction SDK] -> [Add Ray Interaction To Canvas].
Add an Interaction with QuickActions | Oculus Developers
So, I created an empty scene to see what would be added to the canvas GameObject for comparison. The structure and script assignments were much simpler than what I had. When I went back to my demo scene and created a new canvas and used this tool, I could finally get a hover/press response from the button. Thankfully all the controller ray interactors were already set correctly, and I didn't have to clean anything up in that department.
03-01-2024 02:15 PM - edited 03-01-2024 02:17 PM
Welp, turns out it's a lot easier than I thought it would be to make this work. I think I over complicated the script assignments on the EventSystem and Canvas objects while testing out several different examples from older YT tutorials and other places. My canvas script setup became messy and over complicated. Even though I had no errors in the consol, I suspect there were conflicts somewhere or incorrect script references assigned. I finally found this page that showed how to simply add ray interactions to the canvas via Meta's handy right-click menu tool. [Right-click] -> [Interaction SDK] -> [Add Ray Interaction To Canvas].
Add an Interaction with QuickActions | Oculus Developers
So, I created an empty scene to see what would be added to the canvas GameObject for comparison. The structure and script assignments were much simpler than what I had. When I went back to my demo scene and created a new canvas and used this tool, I could finally get a hover/press response from the button. Thankfully all the controller ray interactors were already set correctly, and I didn't have to clean anything up in that department.
03-04-2024 11:29 AM
I'm glad you figured this out! You mentioned having a UI menu on the left wrist. If you need help getting the wrist position, you can check the left wrist bone position with the Get Hand Bone Position tutorial.
04-25-2024 12:49 PM
Thank you for the link. I absolutely needed this.
06-28-2024 09:56 AM
Thank you so much for this!!! Omg