Need some help figuring out some basics. I used SimpleConnect to connect to my game.
And within the callback, no matter what BigDB calls I make:
I tried
- Code: Select all
client.BigDB.LoadMyPlayerObject(delegate(DatabaseObject playerobject) {
playerobject.Set("Username", "test");
playerobject.Save();
Debug.Log ("Saved player object");
});
or other BigDB.Load on other tables such as "users", all example type of code from the documentation.
None of them get executed. I even granted all the access rights for PlayerObject and users table. None worked.
I debugged hundreds of times...it never traced into the statement within the BigDB callback.
As a last resort, I use PlayerIO.connect() to do a full connection with a system level account.
Still the BigDB calls did not get executed.
Did I miss anything fundamental? Or it is one of those days...