Skip to content

Unity UI Buttons do not work with WMR Motion Controllers #3262

@PhilippRaab

Description

@PhilippRaab

Overview

The click event of the Unity UI buttons is not triggered with the WMR Motion Controllers. The button events with spatial mouse on the other hand are working correctly.

Expected Behavior

Pressing the Trigger (Select) on the WMR Motion Controllers while pointing at a button should trigger the OnClick event.

Actual Behavior

OnClick event is not triggered.

Steps to reproduce

  • Use scene and script in MinimalUIButtonTest.zip with latest MRTK and standard profile.
  • Start project in Unity Editor.
  • Click on the button with the spatial mouse. The Unity console logs "Click"
  • Click on the button with a WMR Motion Controller. There is no console log.

Unity Editor Version

2018.2.17f1

Mixed Reality Toolkit Release Version

mrtk_development branch

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions