MixedRealityToolkit / MixedRealityToolkit-Unity

This repository holds the third generation of the Mixed Reality Toolkit for Unity. The latest version of the MRTK can be found here.
BSD 3-Clause "New" or "Revised" License
378 stars 97 forks source link

[MRTK3] Non-Canvas Buttons: Audio spatializer warning messages + decreasing volume on multiple press #262

Closed IssueSyncBot closed 1 year ago

IssueSyncBot commented 1 year ago

Original issue opened by:

@cre8ivepark cre8ivepark


Describe the bug

On Non-canvas Buttons

To reproduce

Steps to reproduce the behavior:

  1. Open a scene that contains PressableButton prefabs (non-canvas)
  2. Run the scene
  3. Check console messages

2022-09-07 15_54_51


ISSUE MIGRATION

Issue migrated from: https://github.com/microsoft/MixedRealityToolkit-Unity/issues/10979

IssueSyncBot commented 1 year ago

Original comment by:

@david-c-kline david-c-kline


The repeated warnings appear to be an issue in the Unity Engine. Whenever a sound is played, the engine appears to confirm the spatializer works on the current platform (and settings). If not, it displays this warning.

The volume decrease is likely due to the platform (ex: Windows) and/or the project not being properly configured. If you are using the Microsoft Spatializer, the configuration settings in the project will be different.

IssueSyncBot commented 1 year ago

Original comment by:

@david-c-kline david-c-kline


This page describes the steps that are needed to be performed if using Microsoft Spatializer 2.x (please note that while the documentation shows 'Project Acoustics', the steps are the same).

IssueSyncBot commented 1 year ago

Original comment by:

@Zee2 Zee2


@davidkline-ms , is there still no plan to fix this, other than wait for Unity to change this behavior?

IssueSyncBot commented 1 year ago

Original comment by:

@Zee2 Zee2


This is associated with #11177. Any updates here @davidkline-ms ?

IssueSyncBot commented 1 year ago

Original comment by:

@AMollis AMollis


Related to #11177 ?

IssueSyncBot commented 1 year ago

Original comment by:

@AMollis AMollis


@marlenaklein-msft there are 5 issues related to spatial audio, Can you help provide more context on these issues, and resolve any duplicates?

The spatial audio issues area:

  1. https://github.com/microsoft/MixedRealityToolkit-Unity/issues/6897
  2. https://github.com/microsoft/MixedRealityToolkit-Unity/issues/10744
  3. https://github.com/microsoft/MixedRealityToolkit-Unity/issues/10979
  4. https://github.com/microsoft/MixedRealityToolkit-Unity/issues/11176
  5. https://github.com/microsoft/MixedRealityToolkit-Unity/issues/11177
IssueSyncBot commented 1 year ago

Original comment by:

@marlenaklein-msft marlenaklein-msft


After setting the mixer in audio source, this does not appear to repro.

Closing this and consolidating spatial audio bugs into three issues: Add Warning for Missing Audio Mixer (Spatial Audio) Updating Sample Scenes with Mixer for Spatial Audio Documentation for Spatial Audio