Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

Unity3D game has no sound

Graphical Environments, Managers, Multimedia & Desktop questions.
Post Reply
Message
Author
andoru
Posts: 272
Joined: 2014-03-14 16:59

Unity3D game has no sound

#1 Post by andoru »

So I've been trying to get a Unity3D-made game (native linux build) to work properly on my Debian Sid 64-bit install, and it does work, however there's no sound.
I tried contacting the developers of that game, but they apologised and said that they don't have any way of testing the game on Debian (wtf? they're a game studio and they can't be arsed to make a VM with Debian? jeez...), and that the game has only been tested and is supported on Ubuntu. I then asked them to give me the resolution to this problem for Ubuntu, but they haven't replied since.

I've tried ldd'ing on the executable to see if I'm having any missing dependencies, but it doesn't list anything audio-related, only X11, rendering and OpenGL stuff:

Code: Select all

$ ldd executable.x86_64
	linux-vdso.so.1 (0x00007fff1acea000)
	libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f67d6669000)
	libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f67d644c000)
	librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x00007f67d6244000)
	libGL.so.1 => /usr/lib/x86_64-linux-gnu/libGL.so.1 (0x00007f67d5fd0000)
	libX11.so.6 => /usr/lib/x86_64-linux-gnu/libX11.so.6 (0x00007f67d5c8d000)
	libXcursor.so.1 => /usr/lib/x86_64-linux-gnu/libXcursor.so.1 (0x00007f67d5a80000)
	libXrandr.so.2 => /usr/lib/x86_64-linux-gnu/libXrandr.so.2 (0x00007f67d5875000)
	libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007f67d54f4000)
	libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f67d51f0000)
	libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007f67d4fd9000)
	libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f67d4c3b000)
	/lib64/ld-linux-x86-64.so.2 (0x000055b23be3c000)
	libexpat.so.1 => /lib/x86_64-linux-gnu/libexpat.so.1 (0x00007f67d4a0f000)
	libxcb-dri3.so.0 => /usr/lib/x86_64-linux-gnu/libxcb-dri3.so.0 (0x00007f67d480c000)
	libxcb-present.so.0 => /usr/lib/x86_64-linux-gnu/libxcb-present.so.0 (0x00007f67d4609000)
	libxcb-sync.so.1 => /usr/lib/x86_64-linux-gnu/libxcb-sync.so.1 (0x00007f67d4402000)
	libxshmfence.so.1 => /usr/lib/x86_64-linux-gnu/libxshmfence.so.1 (0x00007f67d41ff000)
	libglapi.so.0 => /usr/lib/x86_64-linux-gnu/libglapi.so.0 (0x00007f67d3fd1000)
	libXext.so.6 => /usr/lib/x86_64-linux-gnu/libXext.so.6 (0x00007f67d3dbd000)
	libXdamage.so.1 => /usr/lib/x86_64-linux-gnu/libXdamage.so.1 (0x00007f67d3bba000)
	libXfixes.so.3 => /usr/lib/x86_64-linux-gnu/libXfixes.so.3 (0x00007f67d39b4000)
	libX11-xcb.so.1 => /usr/lib/x86_64-linux-gnu/libX11-xcb.so.1 (0x00007f67d37b2000)
	libxcb.so.1 => /usr/lib/x86_64-linux-gnu/libxcb.so.1 (0x00007f67d358a000)
	libxcb-glx.so.0 => /usr/lib/x86_64-linux-gnu/libxcb-glx.so.0 (0x00007f67d336f000)
	libxcb-dri2.so.0 => /usr/lib/x86_64-linux-gnu/libxcb-dri2.so.0 (0x00007f67d3168000)
	libXxf86vm.so.1 => /usr/lib/x86_64-linux-gnu/libXxf86vm.so.1 (0x00007f67d2f62000)
	libdrm.so.2 => /usr/lib/x86_64-linux-gnu/libdrm.so.2 (0x00007f67d2d53000)
	libXrender.so.1 => /usr/lib/x86_64-linux-gnu/libXrender.so.1 (0x00007f67d2b49000)
	libXau.so.6 => /usr/lib/x86_64-linux-gnu/libXau.so.6 (0x00007f67d2945000)
	libXdmcp.so.6 => /usr/lib/x86_64-linux-gnu/libXdmcp.so.6 (0x00007f67d273d000)
Also I don't get any useful info in STDOUT when running the game from the terminal. Anyone know what I could do to troubleshoot this?
It could be that I'm using straight-up ALSA instead of PulseAudio, and perhaps Unity is strictly looking for the latter. If this is the case, do you guys have any idea how to force it to use ALSA? I've never had any issues with any app/game with PulseAudio missing.

Post Reply