Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

invalidoperationexception when app is in background and comes to foreground again. #22

Open
alirezapir opened this issue Dec 11, 2024 · 0 comments

Comments

@alirezapir
Copy link
Contributor

in our app when game is in background for a while and we return to it, we get this error:

invalidoperationexception
System.Threading.Tasks.TaskCompletionSource`1[TResult].SetResult (TResult result) (at <cbd719cf9c4c450f93c8260479a647e2>:0)
Bazaar.Poolakey.Callbacks.ConnectionCallbackProxy.onDisconnect () (at G:/Unity Projects/NeuroLand/Assets/Bazaar/Poolakey/Scripts/Callbacks/ConnectionCallbackProxy.cs:21)
System.Reflection.RuntimeMethodInfo.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) (at <cbd719cf9c4c450f93c8260479a647e2>:0)
Rethrow as TargetInvocationException: Bazaar.Poolakey.Callbacks.ConnectionCallbackProxy.onDisconnect()
UnityEngine.AndroidJavaProxy.Invoke (System.String methodName, System.Object[] args) (at /home/bokken/build/output/unity/unity/Modules/AndroidJNI/AndroidJava.cs:197)
UnityEngine.AndroidJavaProxy.Invoke (System.String methodName, UnityEngine.AndroidJavaObject[] javaArgs) (at /home/bokken/build/output/unity/unity/Modules/AndroidJNI/AndroidJava.cs:222)
UnityEngine.AndroidJavaProxy.Invoke (System.String methodName, System.IntPtr javaArgs) (at /home/bokken/build/output/unity/unity/Modules/AndroidJNI/AndroidJava.cs:248)
UnityEngine._AndroidJNIHelper.InvokeJavaProxyMethod (UnityEngine.AndroidJavaProxy proxy, System.IntPtr jmethodName, System.IntPtr jargs) (at /home/bokken/build/output/unity/unity/Modules/AndroidJNI/AndroidJava.cs:1231)

how to solve this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant