c# - Parse.com Android Unity Nothing works not even the test object -


i have started using parse.com on unity 5.0.0fb, , after getting application work parse on unity editor decided try on mobile find nothing works. have checked apk , parse inside when try not work.

i have tested test apk nothing parse , test script attached button , not work.

using unityengine; using system.collections; using parse;   public class scripttest : monobehaviour {  public unityengine.ui.text mytext;  string mytext;  // use initialization      public void myspecial () {  parseobject testobject = new parseobject("testobject");  testobject["foo"] = "bar";  testobject.saveasync();  mytext = "saved";  mytext.text = mytext;  debug.log (mytext);  }   // update called once per frame  void update () {   } } 

it not button click saved on text when check parse testobject nothing there. there im missing in build?

i have made sure stripping disabled.

how build looks

this works 100% in editor not in android have no idea or way test ios.

i have exact same problem, using unity 5.1 , parse unity sdk 1.5.1. works in editor not on android.

here's code :

    parseobject _localplayer = new parseobject();      task query = _localplayer.saveasync();      while (!query.iscompleted)         yield return null;      if (!query.isfaulted && !query.iscanceled)     {         debug.log ("player created!");     }     else     {         debug.log("failed create player...");     } 

the task generated saveasync() request doesn't seem end @ (iscompleted never true) becomes infinite loop, , actual cloud operation not performed (no trace on parse dashboard). there doesn't seem exception thrown , device log doesn't show anything.

i'm stuck @ point , haven't able find solution anywhere on web far. :(


Comments

Popular posts from this blog

javascript - oscilloscope of speaker input stops rendering after a few seconds -

javascript - gulp-nodemon - nodejs restart after file change - Error: listen EADDRINUSE events.js:85 -

Fatal Python error: Py_Initialize: unable to load the file system codec. ImportError: No module named 'encodings' -