Search found 7 matches

by wilczarz
Thu Mar 05, 2020 11:53 am
Forum: General Discussion
Topic: "Positive number required" error at startup
Replies: 11
Views: 3721

Re: "Positive number required" error at startup

Hi Joel, I started getting this bug in local builds as well (probably because I updated ES), so I finally discovered the problem. You have recently modified method LoadDefaults in ES3Settings: Zrzut ekranu 2020-03-5 o 10.17.20.png As you can see, the settings are loaded from Resources only in the ed...
by wilczarz
Wed Mar 04, 2020 11:48 am
Forum: General Discussion
Topic: "Positive number required" error at startup
Replies: 11
Views: 3721

Re: "Positive number required" error at startup

Hi Joel, That is exactly what I did. A project with a bit older version of EasySave is working fine, but when I update it from the asset store it breaks. I can go back and forth between the versions of EasySave and I can confirm that one version is working and the other is not. Do you think it may b...
by wilczarz
Wed Mar 04, 2020 8:59 am
Forum: General Discussion
Topic: "Positive number required" error at startup
Replies: 11
Views: 3721

Re: "Positive number required" error at startup

Hi Joel, I wouldn't be so quick to blame Unity about it, and here is why: I have another project that uses Easy Save3 and it works just fine with Unity Cloud build. I looked into it and it turns out it has a bit older version of ES (late 2019 I suppose). When I updated Easy Save in that project, it ...
by wilczarz
Tue Mar 03, 2020 9:21 am
Forum: General Discussion
Topic: "Positive number required" error at startup
Replies: 11
Views: 3721

Re: "Positive number required" error at startup

Ok so this is the code and the output: Debug.Log("FOO: " + Settings.bufferSize + ", BAR: " + (new ES3Settings().bufferSize)); FOO: 0, BAR: 0 I also checked the same code built on local machine and the output is: FOO: 2048, BAR: 2048 And here is the screenshot of the player settin...
by wilczarz
Mon Mar 02, 2020 4:06 pm
Forum: General Discussion
Topic: "Positive number required" error at startup
Replies: 11
Views: 3721

Re: "Positive number required" error at startup

Hi again, I have also found this topic suggesting that default settings prefab might be erased: https://moodkie.com/forum/viewtopic.php?f=13&t=1596 But it seems ok: Zrzut ekranu 2020-03-2 o 16.53.07.png And this is moreless how I create the files (simplified version) private static readonly ES3S...
by wilczarz
Mon Mar 02, 2020 12:57 pm
Forum: General Discussion
Topic: "Positive number required" error at startup
Replies: 11
Views: 3721

"Positive number required" error at startup

Hi there, I am using ES3 with encryption to store data in my ios game. It works fine when I build it manually on my mac, but when the app is built by Unity Cloud build, it fails like that: ArgumentOutOfRangeException: Positive number required. Parameter name: bufferSize at System.IO.FileStream..ctor...