Search Issue Tracker

Won't Fix

Votes

0

Found in [Package]

4.2.7

Issue ID

ARFB-252

Regression

No

[Android] AR planes are not stacking when placed on top of each other

Package: AR Foundation

-

Reproduction steps:
1. Open the attached project "DoubleShadows"
2. Build and Run on an Android device
3. Try placing AR planes on top of each other by tapping

Expected result: AR planes are stacking on top of each other
Actual result: AR planes are not always stacking, and getting one above other

Reproducible with: 2021.3.19f1, 2022.2.9f1, 2023.1.0b6, 2023.2.0a4
Could not test with: 2020.3.45f1 (ARFeatheredPlaneMeshVisualizer.cs(3,22): error CS0234: The type or namespace name 'ARFoundation' does not exist in the namespace 'UnityEngine.XR')

Reproducible with devices:
VLNQA00332, Samsung Galaxy XCover4 (SM-G390F), Android 9, CPU: Exynos 7 Quad 7570, GPU: Mali-T720
VLNQA00325, Samsung Galaxy Note10 (SM-N970F), Android 12, CPU: NOT FOUND, GPU: Mali-G76
VLNQA00318, Oneplus OnePlus 7 Pro (GM1913), Android 11, CPU: Snapdragon 855 SM8150, GPU: Adreno (TM) 640
VLNQA00231, Samsung Galaxy A5(2017) (SM-A520F), Android 8.0.0, CPU: Exynos 7 Octa 7880, GPU: Mali-T830
VLNQA00231, Huawei HUAWEI Mate 20 Pro (LYA-L29), Android 9, CPU: HiSilicon Kirin 980, GPU: Mali-G76

Reproducible on: Windows 10 Enterprise 21H2

Notes:

* On user reported version, If transparent AR planes with shadow receiving on them are used and are stacked on top of each other, there are two or three (depending on the planes) shadow duplications.

  1. Resolution Note:

    This bug is related to a custom shader in the user's project. This is not related to anything provided from AR Foundation.

    To demonstrate:

    1. In a new scene in URP, create two planes stacked vertically with maybe half a meter separation.

    2. Create a cube that is placed in a position above the planes such that its shadow casts down onto the planes. May require adjusting the directional light rotation.

    3. Add a material with the shader the user created for receiving shadows to the two planes.

    4. The planes will turn transparent but will both receive shadows from the cube and reproduce the issue described in this bug report.

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.