Hello,
after upgrade to Unity 2021.2.7 I am getting this error (using latest version of Easy Save 3.4.0): MissingMemberException: A private field named inext does not exist in the type System.Random
Thanks for bringing this to our attention. It looks like Unity have changed their implementation of Random so that it is no longer the same as .NET's implementation and is no longer serializable. Unfortunately this means we will need to drop support for this.
The only workaround would be to create a child class of Random which is serializable and use this instead of System.Random. For example:
I guess UnityEngine.Random cannot be saved either. I think that's why I opted for System.Random some time ago.
I'll probably not use this workaround as my game is producing huge amount of random numbers and iterate through milions or bilions to restore the state seems scary