Search found 5 matches

by MSAdmin
Fri Apr 29, 2016 6:44 pm
Forum: (Legacy) Easy Save 2 General Discussion
Topic: Crypto and saving errors
Replies: 8
Views: 28235

Re: Crypto and saving errors

That is how I have been doing it so far. I will continue as to do so. Thanks again.
by MSAdmin
Fri Apr 29, 2016 6:21 pm
Forum: (Legacy) Easy Save 2 General Discussion
Topic: Crypto and saving errors
Replies: 8
Views: 28235

Re: Crypto and saving errors

That makes very little sense to me but that may be due to being novice at Unity (and development in general). Is there a tutorial and sample code for that implementation?
by MSAdmin
Thu Apr 28, 2016 7:51 pm
Forum: (Legacy) Easy Save 2 General Discussion
Topic: Crypto and saving errors
Replies: 8
Views: 28235

Re: Crypto and saving errors

I was under the assumption that all I had to check for was the base file. I have adjusted the if statement to this and everything is working. Thanks! if (ES2.Exists("GameData.dat?tag=CrystalCount") == false) { ES2.Save<int>(0, "GameData.dat?tag=CrystalCount"); } else { crystalCou...
by MSAdmin
Thu Apr 28, 2016 7:05 pm
Forum: (Legacy) Easy Save 2 General Discussion
Topic: Crypto and saving errors
Replies: 8
Views: 28235

Re: Crypto and saving errors

The bad padding error goes away if I disable encryption and it independent of the other error. I attached a screenshot. The Unity console says: Easy Save 2 Error: The data, tag, file or folder you are looking for does not exist. Please ensure that ES2.Exists(string identifier) returns true before ca...
by MSAdmin
Thu Apr 28, 2016 5:40 pm
Forum: (Legacy) Easy Save 2 General Discussion
Topic: Crypto and saving errors
Replies: 8
Views: 28235

Crypto and saving errors

So far I have been using ES with ease as a key/value solution, but now I have run into 2 issues. 1) I changed the encryption key ( assuming it was the same for all installs ) and now I am getting "Bad PKCS7 padding. Invalid length 0." error. The key I used was the same number of characters...