v2.8.4 unity 2018 ios

Easy Save 2 has been replaced by Easy Save 3, so is no longer supported.
Locked
mrm83
Posts: 19
Joined: Tue Jan 26, 2016 6:20 pm

v2.8.4 unity 2018 ios

Post by mrm83 »

Is Unity 2018 iOS supported with v2.8.4?

Updated from Unity 5.6 to 2018 and loading no longer works on iOS. Works fine with Android and Editor.

Getting error:
CryptographicException: Padding is invalid and cannot be removed.
at System.Security.Cryptography.RijndaelManagedTransform.DecryptData (System.Byte[] inputBuffer, System.Int32 inputOffset, System.Int32 inputCount, System.Byte[]& outputBuffer, System.Int32 outputOffset, System.Security.Cryptography.PaddingMode paddingMode, System.Boolean fLast) [0x00000] in <00000000000000000000000000000000>:0
at System.Security.Cryptography.RijndaelManagedTransform.TransformFinalBlock (System.Byte[] inputBuffer, System.Int32 inputOffset, System.Int32 inputCount) [0x00000] in <00000000000000000000000000000000>:0
at System.Security.Cryptography.CryptoStream.FlushFinalBlock () [0x00000] in <00000000000000000000000000000000>:0
at System.Security.Cryptography.CryptoStream.Dispose (System.Boolean disposing) [0x00000] in <00000000000000000000000000000000>:0
at System.IO.Stream.Close () [0x00000] in <00000000000000000000000000000000>:0
at MoodkieSecurity.AESEncryptor.iDecrypt (System.Byte[] data, System.Byte[] key, System.Byte[] iv) [0x00000] in <00000000000000000000000000000000>:0
at ES2Reader.GetEncryptedReader () [0x00000] in <00000000000000000000000000000000>:0
at ES2Reader.ReadEncrypted[T] (ES2Type type) [0x00000] in <00000000000000000000000000000000>:0
at ES2.Load[T] (System.String identifier) [0x00000] in <00000000000000000000000000000000>:0
User avatar
Joel
Moodkie Staff
Posts: 4844
Joined: Wed Nov 07, 2012 10:32 pm

Re: v2.8.4 unity 2018 ios

Post by Joel »

Hi there,

I've not seen this issue, and it appears to be working fine at my end. Just to confirm, are you using the latest patch downloaded from the Asset Store? After importing, you can apply the patch by going to Plugins/Easy Save 3/Legacy, and double-clicking 'Easy Save 2.unitypackage'.

All the best,
Joel
Joel @ Moodkie Interactive
Purchase Easy Save | Contact | Guides | Docs | Getting started
mrm83
Posts: 19
Joined: Tue Jan 26, 2016 6:20 pm

Re: v2.8.4 unity 2018 ios

Post by mrm83 »

I figured out the problem.

That exception occurs when the wrong encytption password is provided. We are using DID as the password and debug builds vs production builds were assigned different DIDs.
User avatar
Joel
Moodkie Staff
Posts: 4844
Joined: Wed Nov 07, 2012 10:32 pm

Re: v2.8.4 unity 2018 ios

Post by Joel »

Glad you managed to find the issue.

All the best,
Joel
Joel @ Moodkie Interactive
Purchase Easy Save | Contact | Guides | Docs | Getting started
Locked