Forum Discussion
Leon-VR-Lab
6 months agoProtege
Shared Mode - storing app data across sessions
We’re working on integrating a new license system for our VR training app and were hoping to get insights on two related issues we’re facing — particularly in the context of Meta for Work (MHMS). ...
RiverExplorer
5 months agoStart Partner
I don't know anything about MHMS. I download files to persistent storage and read them.
I can do it with TCP, UDP, or HTML. And to persistent storage.
Application.persistentDataPath + "/myfile.ext" Then it is readable and writable.
Is MHMS devices, SDK, or API different?
Leon-VR-Lab
5 months agoProtege
Yeah. That works outside of the Realm of MHMS with Shared Mode and is pretty much what I'd like to use in MHMS Shared Mode as well.
The catch however is that MHSM with Shared Mode will wipe your local (persisted) app data (your data in Application.persistentDataPath) with every session restart. Share Mode Sessions have been setup to completely isolate VR sessions from one user to the other, but any option to persist data on-device got lost with it. I'm specifically looking for a way to have my downloaded/cached data (license data, training scenario configuration data such as language, etc.) survive session restarts in an offline environment.
- RiverExplorer5 months agoStart Partner
Okay, thanks.
That as you have defined it seems impossible. As you defined it as wiping everything, yet not wiping everything.
By 'offline' do you mean no internet, or local only network? If the latter, could you have a local license caching server? You could do it with a Raspberry Pi. Or perhaps you could even have one headset that is not switching sessions, broadcasting 'hey I am a license server', and the other headset load from that?
- Leon-VR-Lab5 months agoProtege
By offline I mean without internet access, most likely without Wifi connection. For our solution a local license server would not be a real option. Too much overhead for our clients.
Quick Links
- Horizon Developer Support
- Quest User Forums
- Troubleshooting Forum for problems with a game or app
- Quest Support for problems with your device
Other Meta Support
Related Content
- 2 years ago
- 10 months ago
- 11 months ago