Search Issue Tracker
Fixed in 2020.1.X
Votes
0
Found in
2017.4
2019.2.8f1
2020.1
Issue ID
1192700
Regression
No
[iOS] Screen.sleepTimeout returns fixed value of 15 when it's set to SleepTimeout.SystemSetting
How to reproduce:
1. Open the "timeout.zip" project
2. Add the "SampleScene" scene to build settings
3. Build the project for iOS
4. Build & Run the app to device via Xcode
5. Check the console
Actual result: Screen.sleepTimeout returns value of 15.
Expected result: Screen.sleepTimeout returns the value of "Auto-Lock" set at phone settings (in seconds).
Reproducible with: 2017.4.33f1, 2018.4.12f1, 2019.2.11f1, 2019.3.0b9, 2020.1.0a11.
Devices reproducible with:
- iPhone X (iOS 13.0)
- iPhone 6S (iOS 12.1.2)
- iPhone 7 (iOS 12.3.1)
Devices not reproducible with:
- VLNQA00257, Sony Xperia XZ Premium (G8141), Android 9, CPU: Snapdragon 835 MSM8998, GPU: Adreno (TM) 540
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- “[Worker0] Could not generate preview image“ error when opening macOS native plugin in the Inspector with Architecture to build for set to ARM 64-bit
- [iOS] Application.absoluteURL is empty on Awake/Start when opening via deep link with Splash Screen disabled
- Crash on MemoryManager::Deallocate when rapidly calling Addressables.LoadAssetAsync
- Crash on physx::shdfnd::atomicIncrement when adjusting values on a character controller component after entering Play mode in Prefab edit mode
- [Rendering Debugger] [NewInputSystem] Debug Overlays in Play mode throws InvalidOperationException when using New Input System
Add comment