Search found 4855 matches

by Joel
Sun May 03, 2015 3:15 pm
Forum: (Legacy) Easy Save 2 General Discussion
Topic: Losing data on iOS [SOLVED]
Replies: 6
Views: 7803

Re: Losing data on iOS

Does sound very similar to the BinaryWriter bug at Unity's end. Which version of Unity are you using? Does it only occur when using IL2CPP? The bug first appeared in 4.6.3, but they then managed to integrate the same error into 5.0, so I wouldn't be surprised if they managed to reintroduce it again....
by Joel
Fri May 01, 2015 10:47 am
Forum: (Legacy) Easy Save 2 General Discussion
Topic: Use local save file for web saving
Replies: 5
Views: 7918

Re: Use local save file for web saving

Hi there, If you're just storing files and don't need to access the individual tags within the files when they're stored on the server, you could just save them as raw files. Something along the lines of this: public IEnumerator UploadFile(string filename) { // Create a URL and add parameters to the...
by Joel
Fri May 01, 2015 7:45 am
Forum: (Legacy) Easy Save 2 General Discussion
Topic: Custom save path for ES2Writer
Replies: 2
Views: 4242

Re: Custom save path for ES2Writer

Hi there, If you want to specify a sub-folder in the persistent data path, you simply specify a folder name without a preceding slash. i.e. using(ES2Writer writer = ES2Writer.Create("myFolder/myFile.txt") ) { // Your writer code here. } If the folder doesn't exist, it will be automatically...
by Joel
Thu Apr 30, 2015 8:50 pm
Forum: (Legacy) Easy Save 2 General Discussion
Topic: Losing data on iOS [SOLVED]
Replies: 6
Views: 7803

Re: Losing data on iOS

Hi Richard, We've never heard of this before, and if this is indeed the case, it's a bug with Unity as it's specification says that those methods should be called in it's entirety when the application is quit. Easy Save is synchronous, so any code called in the method is completed before the method ...
by Joel
Tue Apr 28, 2015 8:53 pm
Forum: (Legacy) Easy Save 2 General Discussion
Topic: Best Practice on working with VCS / persistentDataPath
Replies: 4
Views: 3263

Re: Best Practice on working with VCS / persistentDataPath

Hi again, To load from a subfolder within resources, you need to add the folder to the beginning of the filepath. i.e. if we were loading an int from a subfolder in Resources, we'd do this: ES2Settings settings = new ES2Settings(); settings.saveLocation = ES2Settings.SaveLocation.Resources; int myIn...
by Joel
Tue Apr 28, 2015 11:06 am
Forum: (Legacy) Easy Save 2 General Discussion
Topic: Best Practice on working with VCS / persistentDataPath
Replies: 4
Views: 3263

Re: Best Practice on working with VCS / persistentDataPath

Hi there, If you only need to save when running in the Editor and don't need to save to the files after the app has been built, you can simply save and load from Resources using the instructions here . If you need to save to the files after the application has been built, the best thing to do would ...
by Joel
Wed Apr 22, 2015 6:41 am
Forum: (Legacy) Easy Save 2 General Discussion
Topic: Can't open the Type Template
Replies: 2
Views: 2251

Re: Can't open the Type Template

Hi there,

Sounds like it could be VS. Type templates are stored in Assets/Easy Save 2/Types, so you should be able to manually open it from there.

All the best,
Joel
by Joel
Tue Apr 21, 2015 6:48 pm
Forum: (Legacy) Easy Save 2 Examples and Tutorials
Topic: Is there an Example you would like to see?
Replies: 38
Views: 344408

Re: Is there an Example you would like to see?

Hi there, Easy Save is cross-compatible, so the code to save on Android is exactly the same as the code to save on any other platform. i.e. to save and load three variables from a file in the default save directory: ES2.Save(123, "myFile.txt?tag=myInt"); ES2.Save("a string", &quo...
by Joel
Tue Apr 21, 2015 2:49 pm
Forum: (Legacy) Easy Save 2 General Discussion
Topic: Saving editable data
Replies: 2
Views: 2355

Re: Saving editable data

Hi there, As Easy Save saves the data in binary format (which is by far the quickest and most compact format), it's not possible to edit it by hand. However, most users who require this simply make a GUI in their app to allow users to modify the files, or even make a separate Unity app to do this. G...
by Joel
Mon Apr 20, 2015 9:38 am
Forum: (Legacy) Easy Save 2 General Discussion
Topic: Value conversion issue with 64bit iOS
Replies: 5
Views: 4223

Re: Value conversion issue with 64bit iOS

Hi there, The warnings are caused at Unity's end during the IL2CPP process and are unrelated to Easy Save (it's mostly Unity's own libraries which throw these errors). In fact the particular warnings you posted in the screenshot are coming from SharpZipLib, which is definitely unrelated to Easy Save...