Search Issue Tracker
By Design
By Design in 4.2.X
Votes
1
Found in [Package]
4.2.6
Issue ID
ARFB-186
Regression
No
[Android] Weird rotation when the object is placed on a plane
Reproduction steps:
- Open the user’s attached project (“ARTestApp.zip”)
- Build And Run on an Android device
- Face the device's camera into the wall and wait until it turns blue on the screen
- Place a cube on a wall by tapping it
Expected result: The cube is aligned with the wall
Actual result: Cube is facing a different direction
Reproducible with: 2020.3.40f1, 2021.3.11f1
Could not test with: 2022.1.19f1, 2022.2.0b9, 2023.1.0a13 ('ARSessionOrigin' does not contain a definition for 'MakeContentAppearAt' and no accessible extension method 'MakeContentAppearAt' accepting a first argument of type 'ARSessionOrigin' could be found (are you missing a using directive or an assembly reference?))
Reproducible with devices:
VLNQA00332, Samsung Galaxy XCover4 (SM-G390F), Android 9, CPU: Exynos 7 Quad 7570, GPU: Mali-T720
VLNQA00099, Google Pixel XL (Pixel XL), Android 10, CPU: Snapdragon 821 MSM8996 Pro, GPU: Adreno (TM) 530
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
Reproduced on: Windows 10 Pro 21H2
Notes:
- It seems like it uses the orientation of the first detected plane, disregarding the orientation of the plane you raycasting to
- Instantiating using _spawnedObject = Instantiate(_spawnablePrefab, spawnPosition, Quaternion.identity);
- Refer to “Arplacementerror.mp4” for reproduction steps
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
- Spring Joint shows only one anchor gizmo in Scene view when "Auto Configure Connected Anchor" is enabled
- Crash on _platform_memmove after entering large value in Graphics settings Preloaded Shaders field
- Disproportionally large impact on CPU frame time when writing to a rendering entity's LocalToWorld
- "Constant Force" Component numeric fields drift out of view while entering a really big value in the Inspector
- Scene view camera speed pop-up appears empty or cut off when Scene view is very narrow
Resolution Note:
User need to use the rotation from the raycast hit when instantiating prefabs.
Resolution Note (4.2.X):
User need to use the rotation from the raycast hit when instantiating prefabs.