Forum Discussion
paultapper
5 years agoExplorer
Cloud Storage V2: How do i use it in Unity?
Hi
I want to use Cloud Storage 2 for my Oculus Quest 2 Unity game. I have read https://developer.oculus.com/documentation/unity/ps-cloud-storage/?locale=en_GB but I can't figure out how to use Pla...
- 5 years ago
I think you need to use it like that:
Platform.CloudStorage2.GetUserDirectoryPath().OnComplete(res=> { if (res.IsError) { Debug.LogError(res.GetError().Message); } else { Debug.LogError(res.GetString()); } });res.GetString() should contain path that you need, but I can't test it for sure, because I'm getting another error right now 😞
sSvvSs
5 years agoProtege
I think you need to use it like that:
Platform.CloudStorage2.GetUserDirectoryPath().OnComplete(res=> {
if (res.IsError) {
Debug.LogError(res.GetError().Message);
} else {
Debug.LogError(res.GetString());
}
});res.GetString() should contain path that you need, but I can't test it for sure, because I'm getting another error right now 😞
- donkey.2629882 years agoHonored Guest
in Meta Xr SDK v66 not found Platform.CloudStorage2
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
- 3 years ago
- 5 years ago
- 5 years ago