dotnet / dotnet/macios

[arkit] 'ARConfiguration.IsSupported' vs 'ARWorldTrackingConfiguration.IsSupported'

Open
#5,604 5 comments 0 reactions 0 assignees View on GitHub
bug iOS
Dominant language
C#
Stars
2.9k
Forks
576
Avg merge
2d 13h
Merged PRs (30d)
96

Description

### Steps to Reproduce

1. Download the attached samples (xamarin + swift)
2. Open `AppDelegate.cs` files
3. Run both on a simulator

### Expected Behavior
The output is the same for both

### Actual Behavior
The output is different
- Xamarin:
```
ARConfiguration.IsSupported == true
ARWorldTrackingConfiguration.IsSupported == true
```
- Swift:
```
ARConfiguration.isSupported == true
ARWorldTrackingConfiguration.isSupported == false
```

### Environment

1. VSfM
https://gist.github.com/mykyta-bondarenko-gl/fd511c06cb5307d1da41a95341ca9832

### Build Logs

1. Build Output
https://gist.github.com/mykyta-bondarenko-gl/00a276b390c599a85a07a15dafd9a67a

### Example Project

1. Xamarin -
https://github.com/xamarin/xamarin-macios/files/2860457/TestAR.zip
2. Swift -
https://github.com/xamarin/xamarin-macios/files/2860459/TestAR-Swift.zip

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.