-
- Notifications
You must be signed in to change notification settings - Fork 261
Closed
Labels
Description
Unity 5.2.1p1 (OSX Editor)
Parse 1.6.0
While executing the following code in the editor:
ParseQuery<ParseObject> query = new ParseQuery<ParseObject>("SomeClass") .WhereEqualTo("someField", "someValue"); query.FirstAsync().ContinueWith(delegate(Task<ParseObject> arg) { // change any value of arg.Result to make the ParseObject dirty arg.Result.SaveAsync(); }); The ParseObject is not saved to the database and the editor console has the following output:
get_bundleIdentifier can only be called from the main thread. Constructors and field initializers will be executed from the loading thread when loading a scene. Don't use this function in the constructor or field initializers, instead move initialization code to the Awake or Start function.