[Audio] Sound fails to play natively on Linux (Editor & PC build) but works perfectly in WASM build
Description
I am using a no-code scene with only the status set to playing on the audio source and a listener. This is on top of the default stuff in a default new project from fyrox-project-manager, but I don't believe that is the issue. Before on my other test project I was able to get audio working in both the editor and the native executor, but not at the same time(like it would either work in the editor, the runner, or not at all). But, when I export to wasm, the audio runs perfectly fine. I was unable to get the sound working in the editor or the native execution in the new project.
To Reproduce
Steps to reproduce the behavior:
- Use the project manager to create a new project from default for 3D
- Add an audio source, add your music file to the buffer(make sure you converted to wav with ffmpeg)
- Add a listener and attach it to the camera.
- Run the project or attempt to listen to it in the preview system.
Expected behavior
The audio should play with both the preview box checked and in the native execution, not just the WASM build.
Version info
fyrox-project-manager installed with cargo install fyrox-project-manager --locked, version is 1.0.1.
OS
Debian GNU/Linux 13, running KDE Plasma default install.
Additional notes
No errors or warnings seem to appear in the logs.
Source: FyroxEngine/Fyrox