- Home /
No sound in Unity on Linux, but sound works in built game
I found some other ideas on how to fix this by Googling around, but nothing I tried seemed to work. I finally found a log message that seemed helpful:
Couldn't open /opt/Unity/Editor/Data/UnityExtensions/Unity/VR/Android/AudioPluginOculusSpatializer.so, error: /opt/Unity/Editor/Data/UnityExtensions/Unity/VR/Android/AudioPluginOculusSpatializer.so: wrong ELF class: ELFCLASS32
That led me down the road of getting 32-bit pulseaudio installed. After I got it installed, I no longer see this error message, but the audio still isn't working in the editor (works fine in the game once I build/run it). I don't see any other error messages in the logs.
Were you able to find a solution to this? I have the same problem: sound works fine if I build and run it; but in the editor playing audio assets results in nothing but silence (no errors either though). Any ideas?
Update: this was with 5.6.0xb3, downgrading to 5.5.1xf1 solved the issue for me!
yeah I used to use the Linux Editor, and it can be crazy buggy. I would file a bug report