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
- Assets are created in the Package folders when creating assets via custom buttons in the Inspector window or other windows
- “Select” windows are named differently on Windows and macOS
- [Windows] No minimum “Select” window size
- Enabling “Editor Extension Authoring” in UI Builder doesn’t dirty the document and saving with shortcut doesn’t persist the state
- WebRequest.Create() function fails with "URI prefix is not recognized" errors when the project is built for Linux Standalone or Windows Dedicated Server
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.