It’s been well over a year since I update my game on mobile and it appears I’ve broken loading save data somewhere in the process.
Digging back it seems the current version that is live in the store uses a legacy form of sharedobjects (that is - not at all?) I think I’ve narrowed it down to a section of SharedObject.hx in the openfl 3.6.1 _legacy folders that an old version of the game would call:
#if (iphone || android || tizen) var rawData:String = untyped lime_get_user_preference (name);
which looking at the bottom of the file appears to be shorthand for the function
cpp.Lib.load ("lime-legacy", "lime_legacy_get_user_preference", 1);
I think I need a way to call these native get and set user preferences functions that used to be used so that I can access current player’s save data, but be able to do that with all the very latest openfl/lime/haxe/hxcpp dependencies which my game now relies on in many other ways. Trying to call that line with modern frameworks crashes the game instantly with no error messages. I’m definitely a bit over my head with this kind of stuff.