Search Issue Tracker
Third Party Issue
Third Party Issue in 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
- [UWP] Mouse movement re-triggers stale <Mouse>/scroll value after the scroll wheel is used once
- "Shutdown worker was forced killed because it kept running. Worker ..." errors are thrown after building a blank HDRP project
- [UI Toolkit] USS materials in AssetBundles break due to InstanceID referencing a material that no longer exists when a Scene is loaded through Addressables for the second time
- Help button leads to a missing documentation page when clicked on a Font Import Settings in the Inspector
- TextMeshPro Text Component reads bottom-to-top instead of top-to-bottom when using RTL Editor
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.
Resolution Note (2023.1.X):
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.