parse-community / ParseUI-Android

ParseUI contains user interface libraries for building apps with the Parse Android SDK.
Other
592 stars 323 forks source link

FormatException on Android in Unity SDK #69

Closed qbit86 closed 9 years ago

qbit86 commented 9 years ago

PlatformHooks.HttpRequestUnity.getStatusCode() fails on Nexus 7 (2013) after call to ParseUser.LogInAsync(username, password), although seems to work fine in Editor.

FormatException: Input string was not in the correct format
  at System.Int32.Parse (System.String s) [0x00000] in <filename unknown>:0 
  at Parse.PlatformHooks+HttpRequestUnity.getStatusCode (UnityEngine.WWW www) [0x00000] in <filename unknown>:0 
  at Parse.PlatformHooks+HttpRequestUnity+<>c__DisplayClass40+<>c__DisplayClass46.<ExecuteAsync>b__3a (UnityEngine.WWW www) [0x00000] in <filename unknown>:0 
  at Parse.PlatformHooks+<>c__DisplayClass24.<RegisterNetworkRequest>b__23 () [0x00000] in <filename unknown>:0 
  at Parse.PlatformHooks+<RunDispatcher>d__2e.MoveNext () [0x00000] in <filename unknown>:0 
UnityEngine.Debug:Internal_LogException(Exception, Object)
UnityEngine.Debug:LogException(Exception)
Parse.<RunDispatcher>d__2e:MoveNext()

Unity 5.1.2 Windows 8.1 Pro

wangmengyan95 commented 9 years ago

Hi @Qbit86 , thanks for your issue. However this repo is only for issues regarding our Android SDK. You can find resources for our Unity SDK here.