Search Issue Tracker
Fixed
Fixed in 2022.3.23f1, 2023.2.20f1, 6000.0.0b14, 7000.0.0a1
Votes
0
Found in
2022.3.22f1
2023.2.14f1
6000.0.0b13
7000.0.0a1
Issue ID
UUM-67254
Regression
No
[Mobile] TimeZone.CurrentTimeZone returns UTC 0 when Peru time zone (-5 UTC) is set on mobile devices
Steps to reproduce:
1. Open the attached user's project "TimeZone test project.zip"
2. Switch to Android Platform, Development build and Autoconnect Profiler enabled
3. Make sure UTC -5 (Peru) is set on the Android Device time zone settings
4. Build for Android
5. Observe UTC offset returned by the application in the Console Window
Expected results: "UTC offset: -05:00:00" is returned and printed
Actual result: "UTC offset: 00:00:00" is returned and printed
Reproducible on: 2022.3.22f1, 2023.2.14f1, 6000.0.0b13
Not reproducible on: 2021.3.36f1
Could not test below 2022.2.0f1 and locate the FAV due to various gradle/ADB errors after downgrading
Reprudicble on these devices:
VLNQA00528 - HMD Global Nokia G20 (Nokia G20), CPU: Mediatek MT6765G Helio G35 (12 nm), GPU: PowerVR Rogue GE8320, OS: 13
VLNQA00423 - Google Pixel 3 (Pixel 3), CPU: Snapdragon 845, GPU: Adreno 630, OS: 9
VLNQA00422 - Galaxy S21 Ultra 5G (SM-G998B), CPU: Exynos 2100, GPU: Mali-G78, OS: 11
VLNQA00381 - Xiaomi Redmi Note 8 Pro (Redmi Note 8 Pro), CPU: MediaTek Helios G90T MT6785T, GPU: Mali-G76 MC4, OS: 9
VLNQA00202 - Samsung Galaxy Note 9 USA (SM-N9600), CPU: Snapdragon 845 SDM845, GPU: Adreno 630, OS: 9
iPhone 13 (iOS 15.0)
iPhone 12 mini (iOS 14.1)
iPad Air 4th Gen (iOS 15.2.1)
Testing Environment: Windows 11
Not reproducible on: No other environment tested
Notes:
-Issue reproduces with Peru, Afghanistan and Algeria time zones
-Does not reproduce in Editor when setting UTC -5 on Windows
-Does not reproduce on Windows Standalone Player
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
- Selector gets stuck in UI if scroll is used while dragging
- Created asset is placed in a new folder when creating a new folder and instantly creating an asset by clicking somewhere else
- Selecting and deleting transition in Animator does not add to Undo History when animation is previewed in Inspector
- GameObjects remain static when updating constraints of PhysicsJoint with "Enable Sleeping" selected in Havok Physics Configuration
- [iOS] Touch input is not clocked and UI is unresponsive when the application is paused mid-drag without lifting the finger
Resolution Note (fix version 6000.0.0b14):
Fixed issue where incorrect timezone would be reported on certain platforms due to an exception being thrown in the system libraries.
Resolution Note (fix version 2023.2.20f1):
Fixed issue where incorrect timezone would be reported on certain platforms due to an exception being thrown in the system libraries.
Resolution Note (fix version 2022.3.23f1):
Fixed issue where incorrect timezone would be reported on certain platforms due to an exception being thrown in the system libraries.