Unity-Technologies / arfoundation-samples

Example content for Unity projects based on AR Foundation
Other
3.04k stars 1.14k forks source link

5.0.2 How to hide or disable the ARFoundation ARKit/ARCore Camera background rendering #1031

Closed Phantomxm2021 closed 1 year ago

Phantomxm2021 commented 1 year ago

ARF 5.0.2 Unity 2021.3.13f1 When I set ARBackground enable to false, ARKit doesn't work.

image
tdmowrer commented 1 year ago

What exactly doesn't work? Can you provide more details? What is your expectation vs what happens?

Phantomxm2021 commented 1 year ago

What exactly doesn't work? Can you provide more details? What is your expectation vs what happens?

Sorry, I didn't express myself clearly. When I set ARBackground enable to false. The screen is stucking, Not 3Dof or 6Dof. All xr-subsystems do not work, such as point cloud manager or plane manager.

Phantomxm2021 commented 1 year ago

Bug case id: IN-23721 @tdmowrer

ankur-unity commented 1 year ago

@Phantomxm2021 - It was a known issue in AR Foundation 5.0.2 and has been fixed in 5.0.3 https://issuetracker.unity3d.com/issues/ios-disabling-ar-camera-background-kills-position-tracking-on-ios-in-arfoundation-4-dot-2-6

You can find a discussion on this issue at #988.