Forum Discussion
lts0429
5 months agoHonored Guest
Error when using Meta Core SDK
I'm new in Unity and VR Development. I was trying to implement passthrough by following this tutorial https://developers.meta.com/horizon/documentation/unity/unity-passthrough-tutorial/
However as soon as I installed the Meta Core SDK via the package manager, I'm constantly receiving the following error about every 5 seconds. The error disappear if I remove the Meta Core SDK. I'm using Unity 6.2 (6000.2.2f1) on Ubuntu 22.04
NullReferenceException: Object reference not set to an instance of an object
OVRProjectConfig..cctor () (at ./Library/PackageCache/com.meta.xr.sdk.core@503a72ca5496/Editor/OVRProjectConfig.cs:104)
Rethrow as TypeInitializationException: The type initializer for 'OVRProjectConfig' threw an exception.
OVRProjectSetupSettings.GetOculusProjectConfigAssetPath (System.Boolean refresh) (at ./Library/PackageCache/com.meta.xr.sdk.core@503a72ca5496/Editor/OVRProjectSetup/OVRProjectSetupSettings.cs:126)
OVRProjectSetupSettings.GetProjectConfig (System.Boolean refresh, System.Boolean create) (at ./Library/PackageCache/com.meta.xr.sdk.core@503a72ca5496/Editor/OVRProjectSetup/OVRProjectSetupSettings.cs:137)
OVRProjectSetupSettings+SettingBool.<.ctor>b__0_0 () (at ./Library/PackageCache/com.meta.xr.sdk.core@503a72ca5496/Editor/OVRProjectSetup/OVRProjectSetupSettings.cs:33)
Meta.XR.Editor.Settings.CustomSetting`1[T].get_Value () (at ./Library/PackageCache/com.meta.xr.sdk.core@503a72ca5496/Editor/Utils/Settings/Setting.cs:161)
OVRProjectSetupUpdater.Update () (at ./Library/PackageCache/com.meta.xr.sdk.core@503a72ca5496/Editor/OVRProjectSetup/OVRProjectSetupUpdater.cs:90)
OVRProjectSetupUpdater.WatchdogUpdate () (at ./Library/PackageCache/com.meta.xr.sdk.core@503a72ca5496/Editor/OVRProjectSetup/OVRProjectSetupUpdater.cs:77)
UnityEditor.EditorApplication.Internal_CallUpdateFunctions () (at /home/bokken/build/output/unity/unity/Editor/Mono/EditorApplication.cs:384)
Replies have been turned off for this discussion
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
- 8 months ago
- 2 years ago