Search Issue Tracker

Won't Fix

Won't Fix in 2020.3.X

Votes

0

Found in

2020.3.42f1

Issue ID

UUM-20431

Regression

No

[Android] Maximum deltaTime is reached when opening an app from the background

--

-

Reproduction steps:

# Open the user’s attached project (“My project (1).zip“)
# Open the “Assets/Scenes/SampleScene.unity“ Scene
# Build and run on an Android device
# Open the Window > Analysis > Android Logcat window
# Press the “Home” button to send the app to the background
# Press the “Overview” button and open the app from the background
# Observe the Android Logcat window

Expected result: Notice that all frames have similar deltaTime values that are not 0.3333333
Actual result: Notice that the 3rd (or the 2nd or 4th ...) frame after resuming the app has the deltaTime of 0.3333333

Reproducible with: 2020.3.42f1
Not reproducible with: 2021.2.0a20, 2021.3.14f1, 2022.1.23f1, 2022.2.0f1, 2023.1.0a20
Could not test with: 2021.1.0a1, 2021.2.0a19 (com.unity.collab-proxy@1.17.2\Editor\Collaborate\Components\AdapterListView.cs(40,24): error CS1061: 'ListView' does not contain a definition for 'fixedItemHeight' and no accessible extension method 'fixedItemHeight' accepting a first argument of type 'ListView' could be found)

Reproducible with devices:
VLNQA00332, Samsung Galaxy XCover4 (SM-G390F), Android 9, CPU: Exynos 7 Quad 7570, GPU: Mali-T720
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
VLNQA00231, Samsung Galaxy A5(2017) (SM-A520F), Android 8.0.0, CPU: Exynos 7 Octa 7880, GPU: Mali-T830
VLNQA00231, Huawei HUAWEI Mate 20 Pro (LYA-L29), Android 9, CPU: HiSilicon Kirin 980, GPU: Mali-G76

Not reproducible with devices:
VLNQA00494 - iPhone 14 Pro Max, 16.0.3 iOS
VLNQA00358 - iPhone 12, 14.1 iOS
VLNQA00392 - iPad (9th generation), 15.0 iOS
VLNQA00310 - iPad Pro 12.9", 13.4.1 iOS

Reproduced on: Windows 10 Enterprise 21H2

Notes:

* Notice that there is no evident spike in the profiler that would explain this
* 0.33s is the [Time|https://docs.unity3d.com/ScriptReference/Time.html].maximumDeltaTime defined by the app

  1. Resolution Note:

    There are no fixes planned for this Bug

  2. Resolution Note (2020.3.X):

    Fixed in 2021.2.0a19. Fix is not backporteable.

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.