Search Issue Tracker
By Design
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
- Unity crashes during the scene template selection in the "Inspector" tab
- [Android] [iOS] [UnityWebRequest] Requests with "UnityWebRequest" are open for SSL Proxying
- SetWindowsHookEx does not prevent Windows key input when Editor or Player Window is focused and Active Input Handling is set to “Input System Package (New)” or “Both”
- Crash on GetEffectiveBc7TextureCompressor() when loading and unloading all Assets in the Project
- Terrain Masks do not ignore the mipmap limit
Resolution Note:
User need to use the rotation from the raycast hit when instantiating prefabs.