java.lang.AssertionError: Unexpected sound status. thrown randomly in the game

Hello community,

I just tested my game with my friend (multiplayer) and it is the first time I am seeing the following exception be thrown at our heads. The exception is randomly thrown while in the game…

SCHWERWIEGEND: Uncaught exception thrown in Thread[jME3 Main,5,main]
java.lang.AssertionError: Unexpected sound status. OAL: Stopped, JME: Paused
	at com.jme3.system.lwjgl.LwjglAbstractDisplay.runLoop(
	at com.jme3.system.lwjgl.LwjglDisplay.runLoop(

The following is the line in the ALAudioRenderer:

I don’t really know why that happens. I am playing on a Windows (10) PC and he was playing on Mac. Maybe because of that?

Has someone seen this before and can help me with this?

Thanks in advance

Hey Domenic,

I have a similar problem. I get an exception from

931: new AssertionError ("Channel" + i + "has not been recovered");

If I look at the code, I think the problem might be another thread (other than the main thread, e.g. network) that somehow manipulates the audio. My game is quite complex and that makes it very difficult to find the culprit. Maybe you are luckier?