googlearchive / tango-examples-unity

Project Tango [deprecated] UnitySDK Example Projects
https://developers.google.com/ar
Apache License 2.0
470 stars 242 forks source link

ExperimentalMeshOcclusion is not working #87

Closed SquareLi closed 7 years ago

SquareLi commented 7 years ago

The occlusion does not work for me, I can still see the virtual object (armarker) behind real world objects.

chaosemer commented 7 years ago

Hi! Unfortunately, recent versions of Unity have changed the way the depth buffer got captured. For this to work, you need to run on Unity 5.2.

SquareLi commented 7 years ago

Thanks @chaosemer. I built the example on Unity 5.2, and the example keeps crashing on my Tango.

LudwikJaniuk commented 7 years ago

Using some other workarounds, I got something similar working on Unity 5.6. If anyone's still interested, I can detail how I got it working.