How do I save game on the Xbox One UWP?

Hello,

I have a UWP game. It is set up to allow the user to input a name into a box, then it saves a file with that name, then immediately reads it back in and displays it on the page.

I’m using the Application.persistentDataPath and the BinaryFormatter to serialise the data.

This works fine on the PC, however on the Xbox One it seems to do nothing.
I think it is simply not saving the file as it is not displaying the save files back on the screen, however it is not giving me any error messages.

Does anyone have any tips or know of tutorials which show how to save game data on the Xbox One UWP?

Thanks

No worries, I’ve worked out the problem. it was a fault with the way I set the button up to actually create the saves… how do I delete this thread?