Hello, i'm having a problem with Runtime Animator Controller's states saved within a .svj file
As you can see in the pictures, it's not constant whether its writing a 3Vector with int components or a 2Vector with float components.
The problematic save, when loaded, completelly shuts down player movement in the game, but if i change the .'s for ,'s it gets fixed.
This affects only SOME windows PC's and it doesn't seem like changing windows' Number Format affects anything
Thanks in advance!
drive.google.com/drive/folders/1NfVRTj99jNjTVbRrCFWlCOrshRBuXx8p?usp=drive_link
It looks like you're new here. If you want to get involved, click one of these buttons!
Comments
Welcome to the community, @gugulplex.
What's your AC version? As of v1.81, the Settings Manager has an option (enabled by default) to use Invariant culture when saving - which should improve compatibility across systems.
Thanks for the quick reply, we're using v1.74.2, it seems like cultureinvariance should indeed fix this issue.
I'm going to advise my colleagues on updating, though it may be difficult at this point in the project, in that case, how could i go about making a in-house small patch which attacks this very issue? thank you very much!
Best to import the latest AC into a fresh project, and copy over the two lines inside KickStarter and SaveOperation scripts that set the CurrentCulture to InvariantCulture into your own.
Thank you so much, it was exactly what you said and a small fix to SettingsManager, i hope you have a great day!