playgameservices / play-games-plugin-for-unity

Google Play Games plugin for Unity
Other
3.46k stars 965 forks source link

Invalid applicationId with value . Reason: No application ids specified. #2919

Closed hippogamesunity closed 4 years ago

hippogamesunity commented 4 years ago

Hello! I've made GPGS setup from Unity, but still have no idea how to fix this error. My manifest has project id btw. So I always have Canceled status code in Authenticate.

image

hippogamesunity commented 4 years ago

07-25 02:11:48.823 32137 2360 E Volley : [60872] BasicNetwork.performRequest: Unexpected response code 400 for https://www.googleapis.com/games/v1/players/me?language=ru-RU 07-25 02:11:48.825 32137 7503 E PlayGamesServices[PlayerAgent]: Unable to load player g03844759102124777035 07-25 02:11:48.827 32137 7503 W PlayerAgent: {"code":400,"errors":[{"reason":"invalid","domain":"global","message":"Invalid applicationId with value . Reason: No application ids specified."}]} 07-25 02:11:48.848 6905 6905 D SignInRequest: silentSignIn.onFailure

hippogamesunity commented 4 years ago

Found the issue, it's due to Google Play resigns apps, it changes SHA-1 signature. So GPGS will only work for the beta/alpha/release channels, but not for local builds.