I’m using whyDoIdoIt’s Unity Serializer on my Mac and it has worked fine. I save binary files using SerializeLevelToFile (as saved games) and load them back in with LoadSavedLevelFromFile. But when I create a Windows stand-alone and try it, the files don’t load. The files are definitely there and the path is right.
Would there be any problem with trying to load a binary file created by a Mac on a PC? Would a JSON string be better?
I just checked the output log on the PC and it actually can’t find the file. I coded in an alert box in my game to pop up and show me the exact filename with full path that I’m passing to Unity Serializer and it is correct.
But in the output log, the file that it says it cannot find has an extra drive letter, colon and backslash at the start! Literally, the path for the filename starts out like this: c:\c:\Users\Michael …
What in the world? I guess I could test for the platform and then delete those chars from the beginning of the string if it’s Windows, but it’s not a great solution, just a weird work-around …
Any ideas?