The struggle now is to have this information stored in a save game, so that everytime a device starts the app, it generates that random number, stores it in a save game, and everytime the device opens the app again, it loads that same save game and gathers the information necessary, in this case that number that was generated, that will work as a device ID for me.
I tried setting a up a save game configuration, it creates and loads the save game, but it never stores information anywhere, so if anyone can light up the path to have a working save game on the oculus quest 2, that stores that generated number basically as long as the device can load that particular save game… I would be really appreciated.
Hey there!
Thanks for your time and reply! Really, really useful!
I still have some questions, just to clarify and try and understand a bit more:
1- You have this set up as a fucntion, in your game mode blueprint?
2- Also, In that last part, where you modify the contents of the savegame,
So, i need to call the “Mi game mdoe” function, have it as a target the mi save game and this htp variable is the information i am storing in the save game?
in my case i need to save a string (10 numbers and letters) on a string variable. Do i need to set the string variable as an array and replicate your setup in the image?
Hi! you don’t have to put this in a function but is a good practice to do so.
I store my current savegame in a variable in my custom gamemode but you can store anywhere you want to. even you don’t need to store. you can load/modify/save like this: