Search Issue Tracker
Won't Fix
Votes
1
Found in
2021.3.30f1
2022.3.9f1
2023.1.13f1
2023.2.0b9
2023.3.0a5
Issue ID
UUM-48580
Regression
No
[WebGL][iOS] Wrong screen orientation is shown when changing the orientation of the device if using the HTTPS server
How to reproduce:
1. Build the user’s attached “webgl-orientation-test.zip” project for WebGL
2. Host server with HTTPS certificate and open the built project on iOS device
3. Touch the screen and allow access for “Motion and Orientation”
4. Change the orientation of the device a few times
5. Observe the result
Expected result: Orientation changes according to the phone’s orientation
Actual result: Orientation changes not according to the phone’s orientation
Reproducible with: 2021.3.30f1, 2022.3.9f1, 2023.1.13f1, 2023.2.0b9. 2023.3.0a5
Reproduced on:
VLNQA00494 - iPhone 14 Pro Max, 16.3.1 iOS repro
VLNQA00392 - iPad (9th generation), 15.0 iOS
iPhone XS Max 16.6 iOS (user’s info)
iPhone 8 Plus (user’s info)
Not reproducible on:
VLNQA00512, Samsung Galaxy S9 (SM-G960F), Android 10, CPU: Exynos 9 (9810), GPU: Mali-G72
VLNQA00267, Samsung Galaxy S10+ (SM-G975F), Android 12, CPU: Exynos 9 (9820), GPU: Mali-G76
Notes:
- reproduced using Chrome but not reproduced using Safari, but the user was able to reproduce with Safari
- not reproducible with HTTP server because it doesn’t have access for “Motion and Orientation”
- not reproducible if “Portrait Orientation Lock” is enabled
-
makaka-org
Feb 18, 2024 19:02
The bug was fixed.
I just tested with Google Chrome on iPhone XS Max, Unity 2022.3.18, Input System 1.7.0 and my Sensor Camera asset: https://forum.unity.com/threads/sensor-camera-gyroscope-accelerometer-unity-asset-fps-camera-with-motion-sensors.1421012/
I can see that orientation changes after setting the wrong orientation.
-
makaka-org
Sep 08, 2023 14:12
I guess that the bug is related to the New Input System itself.
Original Bug Description: https://forum.unity.com/threads/sensor-camera-gyroscope-accelerometer-unity-asset-fps-camera-with-motion-sensors.1421012/#post-9208431
There you will also find a video tutorial about HTTPS WebGL Testing on Mobiles: https://forum.unity.com/threads/sensor-camera-gyroscope-accelerometer-unity-asset-fps-camera-with-motion-sensors.1421012/#post-9225159
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
- Articulation Body with 'Revolute' Joint Type has erratic behavior when Upper Limit is set to above 360
- WebGL Player fails to render Scene when Terrain with Detail Mesh is added and WebGPU Graphics API is used
- Inconsistent errors are logged when different types are passed into the Query "Q<>" method in UIToolkit and the ancestor VisualElement is null
- Crash on GetMaterialPropertyByIndex when opening a specific Scene
- Discrepancies in the styling are present when using a TSS file instead of a USS file in custom EditorWindow
Resolution Note:
Today we will be closing this case. Thank you again for taking the time to give an update on this issue.