I’m encountering an issue with the Meta XR Platform SDK while trying to initialize the platform in Standalone Mode. The specific error message I’m receiving is:
“Failed to initialize Oculus Platform: ovrplatform assembly: type: member:(null)”
This error occurs when I enable the “Use Standalone Platform” option in the Unity Platform Settings. I’m using the following setup:
Project Details:
- Meta XR Platform SDK Version: [Insert version, e.g., 54.0]
- Unity Version: [Insert version, e.g., 2021.3.25f1 LTS]
- Target Platform: [e.g., Windows/Android (Meta Quest)]
- Initialization Method:
Core.Initialize(appId)
orPlatform.InitializeStandaloneOculus
- App ID: [Insert your App ID from the Meta Developer Dashboard]
Steps to Reproduce:
- Enabled “Use Standalone Platform” in Platform Settings.
- Set up the App ID and called the
Core.Initialize(appId)
method in my Unity script. - Attempted to run the application in the Unity Editor and encountered the above error.
Additional Context:
- When I disable “Use Standalone Platform”, the platform initializes successfully.
- My account has been added as a test user in the Meta Developer Dashboard, and entitlements have been set up for the app.
- The issue persists in both the Unity Editor and standalone builds.
What I Need Help With:
- Clarification on whether the Standalone Platform mode is fully supported in the Unity Editor or if it requires specific runtime dependencies.
- Guidance on resolving the ovrplatform assembly error to ensure the platform initializes properly in standalone mode.
- Confirmation if additional setup or configurations are required for the Standalone Platform option.