Quantcast
Channel: Questions in topic: "crash"
Viewing all articles
Browse latest Browse all 2383

(Crash) on calling Google Authentication

$
0
0
using UnityEngine.SocialPlatforms; void Authentication() { Social.localUser.Authenticate((bool success) => { if (success) { Debug.Log("You've successfully logged in."); } else { Debug.Log("Login failed for some reason."); } }); } Adding the authentication into OnStart it crashes my application. I've loaded Social plugin to Unity. > [Play Games Plugin DLL] 04/10/15 18:33:39 +03:00 DEBUG: Activating PlayGamesPlatform.> [Play Games Plugin DLL] 04/10/15 18:33:39 +03:00 DEBUG: PlayGamesPlatform activated: GooglePlayGames.PlayGamesPlatform Calling Authentication onStart just crashes the application. I would like to move into new project, but kinda getting fkup about this hassle. I just wanted to try authentication first instead of showing anything about leaderboard to see if I'm done everything right.

Viewing all articles
Browse latest Browse all 2383

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>