TryAcquireEnvironmentDepthCpuImage in AROcclusionManager returns image with incorrect size.
Having EnvironmentDepthMode in AROcclusionManager set to Best environmentDepthTexture property returns texture with size 2048x1536. Using TryAcquireEnvironmentDepthCpuImage on same occlusion manager returns XRCpuImage of size 256x192
To Reproduce
Steps to reproduce the behavior:
Open "Assets/Scenes/Occlusion/DepthImages.unity" scene from "ARFoundation samples"
Change EnvironmentDepthMode property to Best in AROcclusionManager attached to "Main Camera" game object
In DisplayDepthImage.cs create code to acquire depth image
Run application on device and attach debugger.
Expected behavior
m_OcclusionManager.TryAcquireEnvironmentDepthCpuImage should return image with dimensions: 2048x1536
Actual behavior
m_OcclusionManager.TryAcquireEnvironmentDepthCpuImage returns image with dimensions: 256x192
Smartphone (please complete the following information):
TryAcquireEnvironmentDepthCpuImage in AROcclusionManager returns image with incorrect size. Having EnvironmentDepthMode in AROcclusionManager set to Best environmentDepthTexture property returns texture with size 2048x1536. Using TryAcquireEnvironmentDepthCpuImage on same occlusion manager returns XRCpuImage of size 256x192
To Reproduce Steps to reproduce the behavior:
Expected behavior m_OcclusionManager.TryAcquireEnvironmentDepthCpuImage should return image with dimensions: 2048x1536
Actual behavior m_OcclusionManager.TryAcquireEnvironmentDepthCpuImage returns image with dimensions: 256x192
Smartphone (please complete the following information):