Error accessing Facebook Unity 5.0.3

Hi, I am integrating Facebook with my Unity3d game.

The problem is that it seems that the players cannot log into facebook correctly. There are error logs here.

OverflowException: a value greater than Char.MaxValue or less than Char.MinValue System.Convert.ToChar (Int32 value) Facebook.MiniJSON.Json + Parser.get_PeekChar () Facebook.MiniJSON.Json + Parser.EatWhitespace () Facebook.MiniJSON .Json + Parser.get_NextToken () Facebook.MiniJSON.Json + Parser.ParseValue () Facebook.MiniJSON.Json + Parser.Parse (System.String jsonString) Facebook.MiniJSON.Json.Deserialize (System.String json) Facebook.IOSFacebook .OnLogin (System.String msg)

I have a button that calls FB.login when clicked. After the player clicks it, the application will be redirected to the Facebook application correctly, and redirecting back to my game without problems. But the login was not successful, and I can not get information about the Facebook player.

ps It’s enough for me to get the right log, because this script is happening with my player. My test devices (iPhone4s and iPad4) work very well. I do not know how to fix this.

Thanks Karnpot

+4
source share

Source: https://habr.com/ru/post/1532521/


All Articles