Mixedrealitytoolkit-unity: Unable to interact with UI elements in the Hololens

Created on 28 Nov 2017  路  5Comments  路  Source: microsoft/MixedRealityToolkit-Unity

Overview

In my project, I have a list of UI Buttons that when click will execute a function that teleports the camera position. In the Unity editor, this functionality works as expected however when deployed to the Lense clicking my buttons only seems to refresh the button list.

I thought this was an issue with the RaycastCamera naming but I changed the camera name to UIRaycastCamera and this didn't solve my problem.

Is this an issue on my end or is it a problem with the Toolkit?

Thank you

Expected Behavior

Building to the Lense and air tapping UI buttons should perform onClick function associated

Actual Behavior

Building to the Lense and air tapping UI buttons causes button list refresh and no event

Steps to reproduce

_(Links to sample github project preferred)_
Build scene with Mixed reality menu item config setup, create UI canvas buttons with onClick functions, deploy to Hololense

Unity Editor Version

2017.2.0F3

Mixed Reality Toolkit Release Version

Current

(Please let me know if this is the correct place for this)

Most helpful comment

This is fixed in the dev branch and will be addressed with the next release.

All 5 comments

This is fixed in the dev branch and will be addressed with the next release.

Is there an easy fix for this problem without using the Dev Branch?

You could always take a look at the PR and make those changes in your code

Hey, @LaneMax I found that using the latest release https://github.com/Microsoft/MixedRealityToolkit-Unity/releases gave me pretty good results as well as adding Mesh Colliders to my UI elements.

Looks like GitHub didn't automatically close these issues when merged into master. I'll close these manually and look into why.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

StephenHodgson picture StephenHodgson  路  3Comments

overedge picture overedge  路  3Comments

nuernber picture nuernber  路  3Comments

reillydonovan picture reillydonovan  路  3Comments

Alexees picture Alexees  路  3Comments