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

Spatialized audio is inaudible #237

Closed
IssueSyncBot opened this issue Aug 21, 2023 · 3 comments
Closed

Spatialized audio is inaudible #237

IssueSyncBot opened this issue Aug 21, 2023 · 3 comments
Assignees
Labels
Package: Audio The Project audio package is impacted by this issue. Type: Bug A problem with an existing feature that can be fixed with the next patched release.

Comments

@IssueSyncBot
Copy link

IssueSyncBot commented Aug 21, 2023

Original issue opened by:

@Zee2 Zee2


Describe the bug

In my own (non-Template project) I'm encountering a bug when I try to set up my audio using the Microsoft Spatializer. When an audio source is set up for spatialization, it simply does not play any audio.

To reproduce

Steps to reproduce the behavior:

  1. Install Microsoft Spatializer
  2. Select Microsoft Spatializer as the desired spatializer in the project settings
  3. Add an audio source to a GameObject
  4. Configure audio source to spatialize. Set Spatial 3D blend to 100%
  5. Play an audio clip with PlayOneShot

Observe that no audio is audible, on HoloLens 2 or on Windows with spatial audio enabled.

Expected behavior

You should hear something, at least

Your setup (please complete the following information)

  • MRTK pre.12
  • Unity 2021.3.1

Target platform (please complete the following information)

  • HoloLens 2
  • Windows

Additional context

The setup instructions were followed from here: https://learn.microsoft.com/en-us/windows/mixed-reality/develop/unity/spatial-sound-in-unity


ISSUE MIGRATION

Issue migrated from: microsoft/MixedRealityToolkit-Unity#11176

@IssueSyncBot IssueSyncBot added MRTK3 Package: Audio The Project audio package is impacted by this issue. Type: Bug A problem with an existing feature that can be fixed with the next patched release. labels Aug 21, 2023
@IssueSyncBot
Copy link
Author

Original comment by:

@srinjoym srinjoym


Issue: Audio mixer is not set to the Master Audio Mixer on PressableButton's from MRTK when using the Spatializer plugin. We should find the first audio mixer in the project and set it automatically, or show a warning

@IssueSyncBot
Copy link
Author

Original comment by:

@marlenaklein-msft marlenaklein-msft


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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Package: Audio The Project audio package is impacted by this issue. Type: Bug A problem with an existing feature that can be fixed with the next patched release.
Projects
None yet
Development

No branches or pull requests

2 participants