Hello everybody!
I have a mystery related to my MonoGame 3.6 game …
My Android users are getting this exception which has been puzzling me:
android.runtime.JavaProxyThrowable: at Microsoft.Xna.Framework.Audio.SoundEffectInstancePool.Update () [0x0001c] in <b7e9ca9b854342788f9c3f1fe6a85940>:0
at Microsoft.Xna.Framework.Game.DoUpdate (Microsoft.Xna.Framework.GameTime gameTime) [0x00014] in <b7e9ca9b854342788f9c3f1fe6a85940>:0
at Microsoft.Xna.Framework.Game.Tick () [0x001d2] in <b7e9ca9b854342788f9c3f1fe6a85940>:0
at Microsoft.Xna.Framework.AndroidGameWindow.OnUpdateFrame (System.Object sender, OpenTK.FrameEventArgs frameEventArgs) [0x00053] in <b7e9ca9b854342788f9c3f1fe6a85940>:0
at OpenTK.GameViewBase.OnUpdateFrame (OpenTK.FrameEventArgs e) [0x00008] in <e67d571b099b4ddbbfe2afdb50da1ecf>:0
at OpenTK.Platform.Android.AndroidGameView.UpdateFrameInternal (OpenTK.FrameEventArgs e) [0x00009] in <e67d571b099b4ddbbfe2afdb50da1ecf>:0
at OpenTK.Platform.Android.AndroidGameView.RunIteration (System.Threading.CancellationToken token) [0x00073] in <e67d571b099b4ddbbfe2afdb50da1ecf>:0
at OpenTK.Platform.Android.AndroidGameView+<>c__DisplayClass59_0.<StartThread>b__1 (System.Object _) [0x00000] in <e67d571b099b4ddbbfe2afdb50da1ecf>:0
at Android.App.SyncContext+<>c__DisplayClass3_0.<Send>b__0 () [0x00000] in <4f31ecc8a4b6489bb91fe98beed05f2e>:0
at Java.Lang.Thread+RunnableImplementor.Run () [0x00008] in <4f31ecc8a4b6489bb91fe98beed05f2e>:0
at Java.Lang.IRunnableInvoker.n_Run (System.IntPtr jnienv, System.IntPtr native__this) [0x00008] in <4f31ecc8a4b6489bb91fe98beed05f2e>:0
at (wrapper dynamic-method) System.Object:7bcaca9d-0655-4e38-94cb-14381f81f8ee (intptr,intptr) at mono.java.lang.RunnableImplementor.n_run (Native Method) at mono.java.lang.RunnableImplementor.run (RunnableImplementor.java:30) at android.os.Handler.handleCallback (Handler.java:815) at android.os.Handler.dispatchMessage (Handler.java:104) at android.os.Looper.loop (Looper.java:194) at android.app.ActivityThread.main (ActivityThread.java:5637) at java.lang.reflect.Method.invoke (Native Method) at java.lang.reflect.Method.invoke (Method.java:372) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run (ZygoteInit.java:959) at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:754)
Any ideas how to fix it or prevent this from happening?