Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Speech recognition and predifined VC don't work in editor #11717

Closed
yeahbunny opened this issue Jul 19, 2023 · 4 comments
Closed

Speech recognition and predifined VC don't work in editor #11717

yeahbunny opened this issue Jul 19, 2023 · 4 comments
Labels
Bug MRTK2 No Repro The developer couldn’t reproduce the bug

Comments

@yeahbunny
Copy link

Describe the bug

Speech recognition and VC don't work for new project (configured for Mixed Reality) as well as for example MRTK project in Editor. I have installed the latest MRTK package and enabled all necessary capabilities in Player -> Publishing -> Capabilities. I checked in many different applications the microphone works fine. My project is configured for UWP platform and I have configured the profile for the MixedRealityToolkit script in the scene. Unfortunately, VC like "select" or predefined VC for specific buttons won't work in Unity Editor. I tested it on a clean MRTK project and for my own app.

To reproduce

Steps to reproduce the behavior:

  1. Instal Unity 2021.3.8f1
  2. Instal latest MRTK
  3. Run Speech example scene from MRTK
  4. VC ("rotate") doesn't work

Expected behavior

VC works as it should.

Your setup (please complete the following information)

Target platform (please complete the following information)

  • Editor
  • HoloLens 2
@AMollis
Copy link
Member

AMollis commented Jul 19, 2023

@yeahbunny please ensure you have enabled speech recognition on your HoloLens.

HoloLens Settings App > Privacy > Speech > Turn on > Speech recognition (and maybe Online speech recognition ).

If running in Editor, make sure voice services are also enabled in Windows.

Windows Settings App > Privacy & Security > Speech > Turn on > Online speech recognition

image

Once you've verified these settings, please reply to this issue.

@AMollis AMollis added this to the MRTK 2.x future milestone Jul 19, 2023
@AMollis AMollis added the Need More Info Steps to reproduce bug are missing or unclear label Jul 19, 2023
@yeahbunny
Copy link
Author

Hi,
Thank you for your answer. Yes, I have it enabled.

@AMollis AMollis removed the Need More Info Steps to reproduce bug are missing or unclear label Jul 20, 2023
@yeahbunny
Copy link
Author

@AMollis Hi, any update here?

@AMollis AMollis added the No Repro The developer couldn’t reproduce the bug label Oct 31, 2023
@AMollis
Copy link
Member

AMollis commented Oct 31, 2023

@yeahbunny , I unfortunately can't reproduce this issue (tries with Unity 2021.3.30)

A couple of tips....

  1. Most of the voice controls require the object to be focused with a pointer. For example, your eye gaze or hand ray. Try pointing your hand ray at the target and speak the voice command
  2. If you want eye gaze to work, make sure you've added the "Eye Gaze Interaction Profile" to the XR Plugin settings (Project Settings > XR Plug-in Management > OpenXR > UWP (and Standalone) > Enabled Interaction Profiles > + > Eye Gaze Interaction Profile). Also make sure your UWP app has requested eye input permissions (Project Settings > UWP > Publishing Settings > Capabilities > GazeInput)
  3. If running in Editor, I found that I had to speak rather loudly, and near the microphone, for the voice input to work (but this could just be my setup).

Going to close this issue as "Not Reproduceable" Please reach out to us if you have further questions.

‼️ Important. For all new applications, we highly recommend using MRTK3 instead of MRTK2. MRTK3 is better supported. You can find MRTK3 documentation at https://mixedrealitytoolkit.org

@AMollis AMollis closed this as not planned Won't fix, can't repro, duplicate, stale Oct 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug MRTK2 No Repro The developer couldn’t reproduce the bug
Projects
None yet
Development

No branches or pull requests

3 participants