Search Issue Tracker
Third Party Issue
Unknown (hidden) 2023.1.X
Votes
0
Found in
2023.1.0a6
Issue ID
UUM-1142
Regression
No
[Linux] Audio doesn't play or only partially plays in a WebGL build
How to reproduce:
1. Download and extract the user attached project (TheFacility.zip)
2. Host the "webgl2" build of the project on any web server
3. Connect to the web server through the local browser
4. Listen for any audio
Expected result: there is background noise and a robotic voice speaking
Actual result: there is no sound at all or only background noise without any speaking
Reproducible with: 2021.2.10f1
Could not test with: 2019.4.38f1, 2020.3.34f1, 2021.3.2f1, 2022.1.0f1, 2022.2.0a12 (the project build fails with all tested versions)
Reproducible on Ubuntu 20.04
Not reproducible on Windows 10 and mac OS
Notes:
1. Tested on Chromium and Firefox browsers
2. Not reproducible on a new project
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Disabled assets in Import Unity Package window aren't tracked but count as being selected by user
- [Windows] Crash on GetManagerFromContext when video is playing and creating High Definition 3D Projects after FMOD failed to switch back to normal output Error appeared
- GC Alloc produced when adding items to MultiColumnListView with Auto Assign Binding
- Mouse and Pointer Events are called incorrectly in ScrollView with XRUIInputModule
- Memory leak occurs when repeatedly minimizing and maximizing the UI Builder window
Resolution Note:
Unity Audio does work on Linux Firefox, but you have to install gstreamer and enable it within Firefox. The problem is that AAC decoding does not work on Linux Firefox without gstreamer. While it's not ideal that it doesn't work out of the box in this case, it is difficult to find a high-quality codec that works across all browsers, and AAC is nearly universally supported.
We will update our documentation to reflect this additional setup that's necessary on Linux Firefox. We don't officially support Chromium.