Search found 4 matches

by FatPanda
Fri Mar 02, 2018 5:28 pm
Forum: General Discussion
Topic: ES2.Exists not working with files
Replies: 7
Views: 9677

Re: ES2.Exists not working with files

The value for SaveKeys.SAVE_FILE_NAME.Value is "SAVE_FILE". We started the project with Unity 5.6, but we upgraded to Unity 2017.2.03f to support Android 8.0, that´s when some testers (not all, maybe 1 of 10) reported that their save data was deleted and had to start all over again. We thi...
by FatPanda
Wed Feb 28, 2018 5:35 pm
Forum: General Discussion
Topic: ES2.Exists not working with files
Replies: 7
Views: 9677

Re: ES2.Exists not working with files

Yes, of course I can show some code. Basically we use a SaveManager to save any data with a tag: SaveManager.cs using Misc.Constants; using System.Collections.Generic; using UnityEngine; namespace Misc { public class SaveManager : MonoBehaviour { private const string PASSWORD = "A12KOES28PAGA&q...
by FatPanda
Tue Feb 27, 2018 9:11 pm
Forum: General Discussion
Topic: ES2.Exists not working with files
Replies: 7
Views: 9677

Re: ES2.Exists not working with files

Hi, thanks for the reply. Yes I just did the tests you asked me and here are the results: 1.- Running Debug.Log(Application.persistentDataPath); points to = /storage/sdcard0/Android/data/com.PocketRocket.Monkeynauts/files 2.- On the second test, I made this method where path = "/data/data/com.P...
by FatPanda
Mon Feb 26, 2018 8:16 pm
Forum: General Discussion
Topic: ES2.Exists not working with files
Replies: 7
Views: 9677

ES2.Exists not working with files

Hi, I´m trying to use ES2.Exists to get a specific file in Android devices, this is the path: "/data/data/com.PocketRocket.Monkeynauts/files/" and this is the file "SAVE_FILE.bytes" When I use ES2.Exists using only the path as a paramater, it returns true (so the directory indeed...