Search Issue Tracker
Fixed
Fixed in 2022.3.14f1, 2023.2.1f1, 2023.3.0a12, 2024.1.0a1
Votes
0
Found in
2022.3.11f1
2023.1.0a23
2023.2.0a1
2023.3.0a1
2024.1.0a1
Issue ID
UUM-21980
Regression
Yes
The video keeps playing in the background when Play Mode is paused
Steps to reproduce:
1. Open the attached project “VideoBug“
2. Open the “Assets/VideoPlayerTest.unity“ Scene
3. Enter Play Mode
4. Observe the video playing
5. Pause the Play Mode and wait for a bit
6. Unpause the Play Mode
7. Observe the video playing
Expected result: Video is playing at normal speed
Actual result: Video speeds up and tries to catch up to the video playing in the background right after unpausing
Reproducible with: 2022.2.0a16, 2022.2.2f1, 2023.1.0a23
Not reproducible with: 2020.3.43f1, 2021.3.16f1, 2022.2.0a15
Reproducible on: Windows 10
Steps to reproduce on Chrome OS device:
1. Download and open this project in Unity Editor [NewVideoPlayer|https://github.cds.internal.unity3d.com/unity/NewVideoPlayer-TestProject]
2. Build and run on Chrome OS device
3. Start to play any supported video
4. Enter sleep mode/lockscreen (e.g. close the lid)
5. Wait for some time and wake device up (e.g. open the lid)
Expected result: video pauses when device enters sleep mode/lockscreen and resumes from where it was paused
Actual result: There is no sound but it looks like the video keeps playing when device is in sleep mode/lockscreen.
It's unclear if VideoPlayer tries to compensate the time spent in sleep mode/lockscreen and jumps forward or just keep playing.
Reproducible with: 2021.3.24f1, 2023.1.0a16
Reproducible on Samsung Galaxy Chromebook OS Android 13
Not reproducible on Samsung Galaxy Chromebook OS Android 11, Google Pixel 7 - OS Android 13
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
- “[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
Resolution Note (fix version 2023.3.0a12):
Unity's Time.unscaledTime has important jitter after unpause. Will now use a more reliable clock source for a short period until unscaled time stabilizes.