-
Notifications
You must be signed in to change notification settings - Fork 963
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
what is problem? #29
Comments
Hello, Are you using Java or C#? If you're using Java, you have to call it this way: function Start() { function authUser(success : boolean) { |
Thank you answer but not solved May be setting problem. I try to setting change. I still not solve.. |
I have the same Problem. |
Just so we can rule out other stuff, does this happen when you build and run the Minimal sample? |
Minimal Sample works fine as it is. Will try to extend the Main Activity and see it the same problem occurs. |
I checked by adding an other plugin that extends the Main Activity in the Minimal Sample and it still worked fine. |
Do you think you can post your solution? I'm hitting this too, probably because the Facebook Unity plugin overwrites the main activity |
What I did I modified GameHelper.
And in C# I stopped calling the runOnUiThread. But I'm facing a problem with the background of the activity. When I call the sign in process I'm getting a black background. |
I encountered this same error and eventually figured out the solution is in this thread (more details there) #88 |
closing because it is so old. |
what is problem?
android build and run and error
if (!Social.localUser.authenticated) {
// Authenticate
Social.localUser.Authenticate((bool success) => {
Debug.Log(success ? "Successfully authenticated" : "Authentication failed.");
} );
}
02-27 22:16:11.131: I/Unity(6153): Exception: No such proxy method: UnityEngine.AndroidJavaRunnableProxy.run()
02-27 22:16:11.131: I/Unity(6153): at UnityEngine.AndroidJavaProxy.Invoke (System.String methodName, System.Object[] args) [0x00000] in :0
02-27 22:16:11.131: I/Unity(6153): at UnityEngine.AndroidJavaProxy.Invoke (System.String methodName, UnityEngine.AndroidJavaObject[] javaArgs) [0x00000] in :0
02-27 22:16:11.131: I/Unity(6153): at UnityEngine._AndroidJNIHelper.InvokeJavaProxyMethod (UnityEngine.AndroidJavaProxy proxy, IntPtr jmethodName, IntPtr jargs) [0x00000] in :0
02-27 22:16:11.131: I/Unity(6153):
02-27 22:16:11.131: I/Unity(6153): (Filename: Line: -1)
02-27 22:16:11.131: I/Unity(6153): Exception: No such proxy method: UnityEngine.AndroidJavaRunnableProxy.run()
02-27 22:16:11.131: I/Unity(6153): at UnityEngine.AndroidJavaProxy.Invoke (System.String methodName, System.Object[] args) [0x00000] in :0
02-27 22:16:11.131: I/Unity(6153): at UnityEngine.AndroidJavaProxy.Invoke (System.String methodName, UnityEngine.AndroidJavaObject[] javaArgs) [0x00000] in :0
02-27 22:16:11.131: I/Unity(6153): at UnityEngine._AndroidJNIHelper.InvokeJavaProxyMethod (UnityEngine.AndroidJavaProxy proxy, IntPtr jmethodName, IntPtr jargs) [0x00000] in :0
The text was updated successfully, but these errors were encountered: