Meta XR Platform SDK (UPM) v71 Reference Guide
Meta XR Platform SDK (UPM) v71 Reference Guide
Select your platform
No SDKs available
No versions available

PlatformInitializeResult Enum

Describes the various results possible when attempting to initialize the platform. Anything other than ::ovrPlatformInitialize_Success should be considered a fatal error with respect to using the platform, as the platform is not guaranteed to be legitimate or work correctly.

Enumeration Constants

MemberValueDescription
Success
0
OculusPlatform SDK initialization succeeded.
Uninitialized
-1
OculusPlatform SDK was not initialized.
PreLoaded
-2
OculusPlatform SDK failed to initialize because the pre-loaded module was on a different path than the validated library.
FileInvalid
-3
OculusPlatform SDK files failed to load.
SignatureInvalid
-4
OculusPlatform SDK failed to initialize due to an invalid signature in the signed certificate.
UnableToVerify
-5
OculusPlatform SDK failed to initialize due to unable to verify the application's signature during initialization.
VersionMismatch
-6
There was a mismatch between the version of OculusPlatform SDK used by the application and the version installed on the Oculus user's device.
Unknown
-7
InvalidCredentials
-8
OculusPlatform SDK failed to initialize because the Oculus user had an invalid account access token.
NotEntitled
-9
OculusPlatform SDK failed to initialize because the Oculus user does not have the application entitlement.