Forum Discussion
ASubtitledDeath
9 years agoHonored Guest
Broken documentation Links
We are trying to address final QA feedback from Oculus specifically related to these pieces of functionality but all links to the examples are 404. Does anyone have working links?
https://developer3.oculus.com/documentation/platform/latest/tasks/dg-cc-entitlements/
https://developer3.oculus.com/documentation/pcsdk/latest/concepts/dg-vr-focus/
https://developer3.oculus.com/documentation/platform/latest/tasks/dg-cc-entitlements/
https://developer3.oculus.com/documentation/pcsdk/latest/concepts/dg-vr-focus/
2 Replies
- delphinius81Rising StarFor application entitlement, it's basically this (for Unity - C++ should make the equivalent C++ function call):
Oculus.Platform.Entitlements.IsUserEntitledToApplication().OnComplete(IsUserEntitledToApplicationCallback);private void IsUserEntitledToApplicationCallback(Message msg) {
if (!msg.IsError) {
//Debug.Log("Application is entitled.");
} else {
//Debug.Log("Application is NOT entitled.");
// DO NOT RUN IF APP isn't entitled (unless we are in editor)
#if !UNITY_EDITOR
UnityEngine.Application.Quit(); // Or maybe throw up some other kind of notice that blocks progress
#endif
}
}
What is weird, though, is that this essentially requires you to have the Platform SDK linked to your project, even if you are not using any other platform features. Also weird, is that I swear someone in the documentation is a line that says Unity handled application entitlement for you - but I guess that is only for debug builds.
The VR focus management doc link works for me, so not sure what is giving you the 404 there. - cyberealityGrand ChampionLet me get someone to fix those links. Thanks for spotting this.
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
- 1 year ago
- 1 year ago
- 27 days ago