Reputation: 1616
I'm implementing cloud save to my Unity game using offical plugin
after calling: ((PlayGamesPlatform)Social.Active).SavedGame.OpenWithAutomaticConflictResolution(Application.persistentDataPath + "/cloudsave", DataSource.ReadCacheOrNetwork, ConflictResolutionStrategy.UseLongestPlaytime, SaveGameOpened);
I get following warning:
***[Play Games Plugin DLL]... ERROR: Received invalid filename: /storage.emulated/0/Android/data/com.blabla.bla/files/cloudsave
The file at this location is created, but empty.
How I can track this error?
Upvotes: 1
Views: 435
Reputation: 1616
Everything I changed was the path from: Application.persistentDataPath + "/cloudsave"
to "cloudsave"
and it works.
I was trying to do this before, but there had to be some similar error in other part of code.
Upvotes: 1