Search Issue Tracker
Fixed in 2.2.0-preview.3
Votes
0
Found in [Package]
2.2.0 - preview.2
Issue ID
1168607
Regression
No
[AR Foundation] Camera is using an autofocus even though it is set to fixed
To reproduce:
1. Open attached project "NJ-ARDiorama.zip"
2. Open "ARWorldScene.unity" scene
3. In hierarchy select AR Session Origin > AR Camera
4. Observe in AR Camera Manager component camera Focus Mode is set to Fixed
5. Build for iOS
6. Deploy the Xcode project to iOS device
7. Hold something near the back camera for it to be focused
8. Remove the object from the camera sight
Expected: camera focus stays the same and doesn't focus on more distant objects
Actual: camera autofocuses to distant objects
Reproduced on:
2019.1.13f1 2019.2.0f1 2019.3.0a11
Package version:
Ar Foundation:
- 2.2.0 - preview.3
- 2.2.0 - preview.2
Devices reproduced on:
- iPad Pro 12'9 iOS 13.0
Notes:
- On 2018.4.6f1 - 2019.1.0f1 getting scripting errors, unable to test
- Errors in 2.1.1 version and earlier, unable to test
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Default Custom Components in project have Library counterparts
- [iOS]"The destination host has an erroneous SSL certificate" error is thrown when using UnityWebRequest to connect to the server with a self-signed certificate
- Freeze/crash on DynamicHeapAllocator::Allocate when opening a specific project
- Text Settings Inspector sections names have no padding
- UI elements shrinking, misaligned buttons, swapped icons, or incorrect styles when rapidly cycling through Scenes in the Player
Resolution Note (fix version 2.2.0-preview.3):
While an issue with ARSubsystems that would cause this has been fixed, there is also a bug in ARKit itself that causes this. This has been reported to Apple. A workaround is to set the auto focus mode to auto, wait a frame, and then back to fixed.