Depth API and Occlusion not working after the March 14 Unity SDK Update
After laying it down for a while, I just continued working on my MR application. Upon reopening and testing, it gets stuck on "Windows.Repaint - Waiting for Unity Core DLL to .....". After updating the SDK and tweaking the project, I reimplemented the controls and core features. But the Depth API and Occlusion is not working returning the following errors:
EnvironmentDepth is disabled. Please enable XR provider in 'Project Settings / XR Plug-in Management'.
UnityEngine.Debug:LogError (object)
Meta.XR.EnvironmentDepth.EnvironmentDepthManager:CreateProvider () (at ./Library/PackageCache/com.meta.xr.sdk.core@74.0.0/Scripts/EnvironmentDepth/EnvironmentDepthManager.cs:161)
Meta.XR.EnvironmentDepth.EnvironmentDepthManager:get_provider () (at ./Library/PackageCache/com.meta.xr.sdk.core@74.0.0/Scripts/EnvironmentDepth/EnvironmentDepthManager.cs:133)
Meta.XR.EnvironmentDepth.EnvironmentDepthManager:get_IsSupported () (at ./Library/PackageCache/com.meta.xr.sdk.core@74.0.0/Scripts/EnvironmentDepth/EnvironmentDepthManager.cs:168)
Meta.XR.EnvironmentDepth.EnvironmentDepthManager:Awake () (at ./Library/PackageCache/com.meta.xr.sdk.core@74.0.0/Scripts/EnvironmentDepth/EnvironmentDepthManager.cs:234)Environment Depth could not be retrieved! Please ensure the following:
When running over Link, the spatial data feature needs to be enabled in the Meta Quest Link app.
(Settings > Beta > Spatial Data over Meta Quest Link).
Check the Project Setup Tool for any project related issues.
(Oculus > Tools > Project Setup Tool
You are using a Quest 3 or newer device.
UnityEngine.Debug:LogError (object)
Meta.XR.EnvironmentDepth.EnvironmentDepthManager:Awake () (at ./Library/PackageCache/com.meta.xr.sdk.core@74.0.0/Scripts/EnvironmentDepth/EnvironmentDepthManager.cs:237)Environment Depth is not supported. Please check EnvironmentDepthManager.IsSupported before enabling EnvironmentDepthManager.
Open 'Oculus -> Tools -> Project Setup Tool' to see requirements.
UnityEngine.Debug:LogError (object)
Meta.XR.EnvironmentDepth.EnvironmentDepthManager:OnEnable () (at ./Library/PackageCache/com.meta.xr.sdk.core@74.0.0/Scripts/EnvironmentDepth/EnvironmentDepthManager.cs:261)Passthrough layer is not configured for surface projected passthrough.
UnityEngine.Debug:LogError (object)
OVRPassthroughLayer:AddSurfaceGeometry (UnityEngine.GameObject,bool) (at ./Library/PackageCache/com.meta.xr.sdk.core@74.0.0/Scripts/OVRPassthroughLayer.cs:120)
Meta.XR.BuildingBlocks.PassthroughProjectionSurfaceBuildingBlock:Start () (at ./Library/PackageCache/com.meta.xr.sdk.core@74.0.0/Scripts/BuildingBlocks/PassthroughProjectionSurfaceBuildingBlock.cs:44)Additional Screenshots are provided below:
