Search Issue Tracker

In Progress

Fix In Review for 2023.1.X

Fixed in 2022.3.14f1

Votes

0

Found in

2022.3.4f1

2023.1.3f1

Issue ID

UUM-42538

Regression

No

[Android] Gyroscope functionality doesn't respond in the Player when using a tablet

--

-

How to reproduce:
1. Open the attached “IN-44052” project (https://drive.google.com/drive/folders/1UHakLMjUfj7HQgqjRfhdANeml8lpKBYp?usp=sharing)
2. In the “File” → “Build Settings” click “Build And Run”
3. After the Player loads, click “COMENZAR VISTA“ → “CLAUSTRO”
4. In the pop-up window allow the location
5. Move the device around

Expected result: The 360 view changes when moving
Actual result: The view doesn’t change

Reproducible with: 2022.3.4f1, 2023.1.3f1
Could not test with: 2021.3.28f1 - Build fails due to Gradle errors, 2023.2.0a23 - Project doesn’t open due to Package Manager failure

Testing environment: macOS 13.4.1 (M1)

Reproducible on devices:
VLNQA00488 - Galaxy Tab S6 Lite (SM-P615), CPU: Exynos 7 Octa (9611), GPU: Mali-G72, OS: 10
Lenovo Tab M10 HD (Reproducible by the user)

Not reproducible on devices:
VLNQA00520 - Galaxy S22 USA (SM-S901U), CPU: Snapdragon 8 Gen 1 (SM8450), GPU: Adreno 730, OS: 12
VLNQA00523 - Galaxy S23 (SM-S911U), CPU: Snapdragon 8 Gen 2 (SM8550), GPU: Adreno 740, OS: 13
Google Pixel 2 (Pixel 2), Android 8.1.0, CPU: Snapdragon 835 MSM8998, GPU: Adreno (TM) 540
Samsung Galaxy Z Fold2 5G (SM-F916B), Android 11, CPU: Snapdragon 865 SM8250, GPU: Adreno (TM) 650
Samsung Galaxy S10+ (SM-G975F), Android 12, CPU: NOT FOUND, GPU: Mali-G76
VLNQA00494 - iPhone 14 Pro Max, 16.3.1 iOS
VLNQA00358 - iPhone 12, 14.1 iOS
VLNQA00392 - iPad (9th generation), 15.0 iOS
VLNQA00310 - iPad Pro 12.9", 13.4.1 iOS

  1. Resolution Note (fix version 2023.1):

    Hello.

    **Input.gyro.attitude** values ​​were not returned correctly on some tablet devices because they don't have [**Rotation vector**](https://source.android.com/docs/core/interaction/sensors/sensor-types#rotation_vector). However, I could find they have [**Game rotation vector**](https://source.android.com/docs/core/interaction/sensors/sensor-types#game_rotation_vector), which new Input System doesn't support. So added code to support **Game rotation vector**. ( I am sorry we don't support it on the old Input System.)

    To use Game rotation vector, you need to install Input System package 1.8.0-pre.2 (https://docs.unity3d.com/Packages/com.unity.inputsystem@1.8/manual/Installation.html) and some code needs to be updated. You can refer to the example in the AttitudeSensor section(https://docs.unity3d.com/Packages/com.unity.inputsystem@1.8/manual/Sensors.html#attitudesensor).

    I hope it will help you a little bit. Thank you.

  2. Resolution Note (fix version 2022.3.14f1):

    Hello.

    **Input.gyro.attitude** values ​​were not returned correctly on some tablet devices because they don't have [**Rotation vector**](https://source.android.com/docs/core/interaction/sensors/sensor-types#rotation_vector). However, I could find they have [**Game rotation vector**](https://source.android.com/docs/core/interaction/sensors/sensor-types#game_rotation_vector), which new Input System doesn't support. So added code to support **Game rotation vector**. ( I am sorry we don't support it on the old Input System.)

    To use Game rotation vector, you need to install Input System package 1.8.0-pre.2 (https://docs.unity3d.com/Packages/com.unity.inputsystem@1.8/manual/Installation.html) and some code needs to be updated. You can refer to the example in the AttitudeSensor section(https://docs.unity3d.com/Packages/com.unity.inputsystem@1.8/manual/Sensors.html#attitudesensor).

    I hope it will help you a little bit. Thank you.

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.