Hi,
I am using the following:
Unity v4.6.0.b17
Facebook SDK V6.0
I am having trouble with the Login/permission, I am using the Interactive Console scene on Android phone, I can reproduce the problem by:
1- Press the Init button → Init becomes true.
2- Press the login button → First time the login page showed properly and I accepted all permissions and FB.Isloggedin turned True.
3- Close the application and start it again (the user in logged out and the init is false)
4- Press the Init button → Init true.
5- Press the login button → Facebook login page tries to show and a loading screen shows then it dtisapres and return to the application with FB.Isloggedin false and “Login cancelled by user”.
6- Press the login button again and the application will crash.
7- If i delete the application from developer.facebook.com and add it again: i can login for the first attempt only then the same scenario happens again.
Note: On Unity Editor there is no problem at all!
The code is included in the InteractiveConsole.cs comes with the SDK.
Please help!
Maybe this SO thread might help with a temporary solution until Facebook fixes this. http://stackoverflow.com/questions/25751057/facebook-unity-sdk-6-0-crash-app-at-second-login
– developer_arni