Open IssueSyncBot opened 1 year ago
@shaynie do you think this is fixed this with commit? https://github.com/MixedRealityToolkit/MixedRealityToolkit-Unity/commit/3e321a9776ebc43390441021db66bf349573c63f
PR from old repo:
Possible dupe:
Disregard my earlier statement. The @scardin is using a commit after the fix.
@AMollis Thanks for looking at the issue. We have quite a huge project that is built on top of MRTK and this particular issue is really annoying to us in the short term. Any patch or help on how to circumvent the issue is welcome... apart from keeping the root at the same place and moving the world around which is already considered but hell not desired.
@scardin, can you describe your scenario a bit more. From the description it sounds like you are moving around the XR Origin. What requires you to move the XR Origin?
I suspect the that the reproduction steps don't fully capture your scenario. It sounds like your scenario is in a moving vehicle, and that you're not explicitly changing the XR Origin pose (i.e. not using the above script).
HoloLens 2 has to be put into a "moving platform" mode to function in a moving vehicle. Otherwise, the device's IMU gets confused. From my understanding your app is running on a Quest device, I'm not sure about Quest's support of moving platforms.
In the real world, the user is seated and not really moving. We would like him to be inside a virtual vehicle that moves in the virtual world.
We are moving the XR origin as the user is placed inside the moving vehicle. We want the user to still interact with the virtual UI inside the cockpit.
For our final application, we are using OpenXR with Vive focus 3 and meta quest HMDs, both for native Android builds and Windows applications using streaming.
I could push the scene modification I described to reproduce the bug. You can check in the video I'm just animating a root transform where I parented the whole content of the Canvas example scene from the mrtk3 branch.
@AMollis Any update? This issue is really blocking on our side
It is becoming quite critical for our current production planning. Is it something that can be fixed or circumvented without too much pain?
Any Update? @shaynie @AMollis
Any Update? @AMollis @shaynie
Any Update? @AMollis @shaynie
@scardin , the XROrigin is not intended to be moved by the application. The origin is placed in the real world by the device, and in the HoloLens case, moved by the device if the user moves too far from start (i.e. Unbounded tracking mode). For your scenario on HoloLens, you'd set the app to use unbounded tracking mode, and put the device into "moving platform" mode. I'm uncertain on the details of Quest devices.
Unfortunately at this time we don't have developers focused on on Quest, so the community will need to support you in this case.
Tagging @keveleigh and @david-c-kline ... as they have more experience with Quest devices
Thanks @AMollis, This effect is problematic for us in a pure VR environment where the users are inside moving virtual vehicles. I guess our temporary fix is to make the world move around the user, but it becomes rapidly too constraining for our multi-user multi-vehicle use case. Happy to discuss any possible solution or if there are some modification we could eventually contribute to.
We should test if this reproduces using HoloLens 2 Moving Platform support.
Original issue opened by:
Describe the bug
We would like to interact with UI inside a moving vehicule. When animating the root transform of a VR interactive scene the UI becomes barely interactable. We tried to animate the root transformn using the different unity methid Update, LateUpdate, FixedUpdate. While fixed update animation sliding
To reproduce
Steps to reproduce the behavior:
Expected behavior
I expect that the UI can be interacted correctly in VR while moving (as the player is inside a vehicule)
Screenshots
screenshot
video
https://youtu.be/rGhPN-9CaFY
Your setup (please complete the following information)
Target platform (please complete the following information)
Animation script
ISSUE MIGRATION
Issue migrated from: https://github.com/microsoft/MixedRealityToolkit-Unity/issues/11769