Forum Discussion

r0m30.dev's avatar
r0m30.dev
Honored Guest
5 months ago

MRUK raycaseEnvironment not working

Hello,

I am trying to use the raycastEnvironment in the MRUK (Spatial SDK 0.8.0) and am getting the error MRUK: Failed to convert timespec to XrTime: -7

Searches on both Google and these forums returns ZERO results :(

The error message seems to imply that the MRUKFeature is setting up to call the Native library (OpenXR?) and fails when translating the time from *nix time to the format required by the native library but I have no idea what the -7 code means or how to fix this.

I have successfully built and run the MRUKSample app so I believe that the ide is correctly configured and my raycastEnvironment call is pretty much a copy of that code now as I tried to fix this issue.  The code fails in both the onFrame() function in my activity and in the execute() function in the system I originally tried to use it in.

I tagged this as MRUK even though it may be confusing because there is one for both Unity and the Spatial SDK, if that doesnt work for these forums then please remove that tag.... thanks

Anyone have any suggestions or answers???

No RepliesBe the first to reply

→ 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