Search Issue Tracker
Won't Fix
Won't Fix in 4.2.X
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
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.
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
- Texture2D hash changes inside of an AssetBundle when rebuilding a SpriteAtlas bundle with an empty AssetPostprocessor Script enabled
- Aniso Level still applies when Generate MipMap is disabled in Texture Import Settings
- Mipmap Limit Groups long names are not truncated when creating a new Mipmap Limit Group with a long name
- “ArgumentException: Invalid double parameter.” error is thrown when Infinity is typed into the Fixed Timestep field
- GameObject becomes gray when using HDRP and STP together on macOS
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.
Resolution Note (4.2.X):
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.