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
- A new Additive Scene cannot be created when an empty Untitled Scene is not dirty
- [Scene View][Ubuntu] Prefab mode UI ghosting in HDRP
- Deleting AudioMixer asset throws MissingReferenceException and breaks the Audio Mixer window
- Crash on ScheduleGenerateTilingShape when modifying PolygonCollider2D path count and setting path vertices
- Crash when a scene is created with LocalPhysicsMode::Physics3D
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.