Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/dgarc359/visionos-plane-detection-failure-repro

A minimal reproducible example of a runtime failure using plane detection provider in vision os SDK 1.0
https://github.com/dgarc359/visionos-plane-detection-failure-repro

Last synced: about 2 months ago
JSON representation

A minimal reproducible example of a runtime failure using plane detection provider in vision os SDK 1.0

Awesome Lists containing this project

README

        

Following along with this example: [Link](https://developer.apple.com/documentation/visionos/placing-content-on-detected-planes)

The implementation is simple, but it is as follows:
* Create an immersive view that creates an ARKitSession and instantiates the PlaneDetectionProvider
* Leverage the plane detection provider to add a text entity to a plane that matches some conditions

The code fails due to an error with plane detection not being supported on the device
during simulation.

This code was tested on an M1 macbook pro using vision os sdk v1.0 running xcode-beta 2. As of
October 15, 2023, the simulation will fail out when the immersive space is opened.