Search Issue Tracker

Active

Under Consideration for 6.0.X, 6.2.X, 6.3.X

Votes

0

Found in [Package]

6.0.6

6.2.0

6.3.0

Issue ID

ARFB-654

Regression

No

ARF Debug Menu plane actions become reverse of toggle

Package: AR Foundation

-

Summary:

Disabling AR Foundation Debug menu while the Planes Debug Option is enabled puts it into a state where Planes debug behavior is the opposite of the Planes toggle setting. 

 

Steps to reproduce:

1) Open the repro project (see ARTM_111.zip attached).

2) Verify that Build Settings is set to Desktop. 

3) Verify that XR Plug-in Management is set to XR Simulation on the Desktop tab. 

4) Enter Play mode. 

5) In Game view, right-mouse drag to move the camera around to detect at least one surface.

6) Left-mouse click the Gear button to open Debug Options and enable Planes.  Orange outlines appear at the boundaries of detected surfaces.

7) In the Hierarchy, disable the UI/DebugMenu. The orange plane outlines remain visible.

8) Re-enable UI/DebugMenu and notice the orange plane outlines disappear, but the Planes toggle stays green. This is the bug — plane outline behavior is not the opposite of the Planes toggle setting.

9) Disable the Planes toggle.  The orange outlines appear.  This is further evidence of the bug. 

Actual results: 

The steps above make Planes act opposite of the Debug Menu  Planes toggle. 

Expected results: 

Plane outlines should honor the Planes toggle in the Debug Menu.

 

Reproducible with versions: 

I saw this bug occur using Unity 2022.3.62f1 with ARF 5.2.0.  It also happens in Unity 6000.0.53f1, and Unity 6000.2.5f1.

Not reproducible with versions: 

Can’t test with versions: 

Tested on (OS): 

Bug occurs on iPhone Xr and Pixel 7 Pro.
Notes:

  • The attached repro project was created by using Unity Hub to create an AR Mobile Template 1.1.1 local project with Unity 2022.3.62f1, then disable UI/Coaching UI and UI/Greeting Prompt, and enabling UI/DebugMenu.  

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.