Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice

Social.localUser.userName returns some word in Japanese

Discussion in 'Android' started by eyalm, May 17, 2017.

  1. eyalm

    eyalm

    Joined:
    Dec 20, 2015
    Posts:
    42
    My username in google player is "Sahkan Sahkan".
    After authenticating I'm getting something like 浯牥汥慦獳a in the log.
    ("Welcome 浯牥汥慦獳a");

    I have the GooglePlayUnityPlugin installed and it is all working good besides the fact that I get Japanese words in the userName and id.


    This is the code I use to authenticate:

    Code (CSharp):
    1. Social.localUser.Authenticate((bool success) =>
    2.         {
    3.             if (success)
    4.             {
    5.                 Debug.Log("Social.localUser.Authenticate Welcome " + Social.localUser.userName);
    6.             }
    7.             else
    8.             {
    9.                 Debug.LogError("Social.localUser.Authenticate Authentication failed.");
    10.             }
    11.         });
     
  2. eyalm

    eyalm

    Joined:
    Dec 20, 2015
    Posts:
    42
    Anyone?...
     
  3. Xihuimakegames

    Xihuimakegames

    Joined:
    Jul 27, 2017
    Posts:
    1
    Did you manage to find out why? I have the same issue.