Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/dgarc359/visionos-plane-detection-failure-repro
- Owner: Dgarc359
- Created: 2023-10-15T04:41:11.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2023-10-15T04:45:20.000Z (about 1 year ago)
- Last Synced: 2024-04-23T20:50:09.006Z (9 months ago)
- Language: Swift
- Size: 476 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
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 conditionsThe 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.