Forum Discussion

Motanum's avatar
Motanum
Start Member
3 months ago

MetaXRInteraction missing Ray visuals for ISDKControllers, but ISDKHands working as intended.

I recently upgraded to the version 1.81.0 of MetaXRInteraction on the Oculus Unreal engine fork. Version 5.6.1

And the controller components don't have ray visuals when interacting with menus. The functionality works, I can click, and elements change when hovered, but it's hard to aim.

What's weird, is that the ISDKHand components, do have proper ray visuals. (Expect for the right reticle not getting blue when pinching)

I am not sure what is broken, or how to get this working. All parameters are defaults. And I only turn off/on the Ray and Grab components (for both ISDK Hands and ISDK Controllers) when the user selects a hand preference in settings using the Set Active function. 

Video demonstrating the issue.
https://drive.google.com/file/d/1GZB-dCXpaxryZP92I9jXAnZO34Lg9WHP/view?usp=sharing

Thanks!

2 Replies

  • Hello there!

    Did you first begin experiencing this issue after updating to version 1.81.0? If so, were the ray cast visuals working on your menu prior to the update?

    It could also be useful to confirm your blueprints align with our documentation on ray visuals. If you go here, it will take you to our document's section on adding visuals for rays and reticle. The section above goes over tracing a ray from your controller as well.

    Any additional information you can provide relevant to this issue is greatly appreciated!

    • sporx's avatar
      sporx
      Start Partner

      i've run into this issue as well.  there are a couple bugs happening when upgrading to unreal 5.6 with v85 sdk and was wondering if this was happening for others as well.

      • the controller rig ray visuals don't display for widgets (but they do display for isdk grabbable components) as described above
      • the controller rig functions differently between testing in engine on pc vs deploying to device.  when on pc, it works as expected, when on device, the controller rig has strange results that are not consistent with pc making it difficult to set up both isdk widgets and isdk grabbables for controller
      • widgets for whatever reason can't be selected with a controller rig unless the aim is 50% to the right of the widget left edge.  (so center to right side of widget works, as well as 50% off to right of widget still detects)

      can provide any additional details.  am still digging into this problem to figure out why the device would provide different results from pc.  

      there is a workaround for the visuals where you can draw a beam trace from the static function GetMotionControllerState() XRMotionControllerState struct but you'll notice that while it solves the visuals problem on pc, it reveals that unexplained offset on device. 

→ Find helpful resources to begin your development journey in Getting Started

→ Get the latest information about HorizonOS development in News & Announcements.

→ Access Start program mentor videos and share knowledge, tutorials, and videos in Community Resources.

→ Get support or provide help in Questions & Discussions.

→ Show off your work in What I’m Building to get feedback and find playtesters.

→ Looking for documentation?  Developer Docs

→ Looking for account support?  Support Center

→ Looking for the previous forum?  Forum Archive

→ Looking to join the Start program? Apply here.

 

Recent Discussions