Skip to content

[BUG]Ray Sticks to Object After Releasing During Manipulation in Editor (Spaces + MRTK3 + XR Device Simulator) #1016

@gksdyd19

Description

@gksdyd19

Describe the bug
When using Spaces with Unity and MRTK3, in a project that uses Spaces, after manipulating (pinch and drag) an object using MRTK3's manipulation behavior, the ray remains stuck to the object after releasing.
This issue only occurs when running the project in the Unity Editor using XR Device Simulator. It does not happen in a built application.

To reproduce
Steps to reproduce the behavior:

Open a Unity project with Spaces and MRTK3 integrated.

Use XR Device Simulator to simulate a pinch and drag interaction on a manipulatable object.

Release the pinch after dragging.

Observe that the ray remains attached to the object even after releasing.

Expected behavior
After releasing the pinch gesture during manipulation, the ray should detach from the object immediately.

Screenshots
(No screenshots available, but can be provided if needed.)

Your setup (please complete the following information)
Unity Version: 2022.3.21f1

MRTK Version or Commit: toolkit.core 4.0.0-pre.1

Spaces SDK Version: (please fill in your Spaces SDK version here)

Target platform (please complete the following information)
OpenXR (XR Device Simulator in Unity Editor)
(Note: No issue when built for the actual device.)

Additional context
This issue only appears when testing within the Unity Editor using the XR Device Simulator.
In an actual built application, the object manipulation and ray behavior work correctly.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type: BugA problem with an existing feature that can be fixed with the next patched release.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions