Simple-WebXR-Unity icon indicating copy to clipboard operation
Simple-WebXR-Unity copied to clipboard

How to enable Spatial Awareness on Android?

Open XRAdventure opened this issue 2 years ago • 1 comments

Hi, I am trying to replicate your show case WebXR on Android with MRTK.

I want to enable Spatial Awareness like this. move

But, I am not able to do it. I enabled it in MTRK ToolKit. But it doesn't work, image

What should I do to activate it? My current set up: Unity 2019.4.23 MRTK 2.7 Android 8

Thank you for your help

XRAdventure avatar Jan 22 '22 20:01 XRAdventure

Hey, This demo was a test before I developed SimpleWebXR : https://github.com/Rufus31415/MixedRealityToolkit-Unity-WebXR

In fact, a hack with Three JS allows to visualize spatial meshes, it implements the old spatial mesh API : https://github.com/Rufus31415/MixedRealityToolkit-Unity-WebXR/blob/1bf7748024ae2ee619828fad6b4cbc25e01cba4e/Assets/WebGLTemplates/WebXR/index.html#L145

But SimpleWebXR does not implement yet the new spatial mesh API

Rufus31415 avatar Jan 24 '22 06:01 Rufus31415