Search Issue Tracker

Fixed

Fixed in 6000.0.57f1, 6000.2.2f1, 6000.3.0a6

Votes

3

Found in

2022.3.60f1

6000.0.45f1

6000.1.0b13

6000.2.0a8

6000.3.0a1

Issue ID

UUM-102147

Regression

No

[WebGL][iOS]Erratic video playback when played on Chrome or Firefox

-

Reproduction steps:
1. Open the attached “My project” project
2. In the Build Profiles (File > Build Profiles), make sure the WebGL platform is selected
3. Build the Player and host it on a local server
4. Connect to the WebGL player with a iOS device via local IP address using Chrome or Firefox browser
5. In the Player on the device, press the “Play” Button
6. Observe the displayed video

Expected result: The playback is smooth
Actual result: The playback is jittery and lagging

Reproducible with: 2022.3.60f1, 6000.0.45f1, 6000.1.0b13, 6000.2.0a8
Couldn't test with: 2022.1.0a1 (WebGL on mobile is not supported)

Testing environment: macOS Sequoia 15.3.2 (M1 Max)

Reproducible with these devices:
VLNQA00624, iPhone 16 Pro, iOS: 18.3.1, CPU: Apple A18 Pro
VLNQA00394, iPhone 13 mini, iOS: 18.1, CPU: Apple A15 Bionic
VLNQA00359, iPhone 12 Pro, iOS: 17.6.1, CPU: Apple A14 Bionic
iPad Pro 10.5-inch, iPadOS 17.7.5 (by user)
iPhone 12 Pro max, iOS 18.3.2 (by user)

Note reproducible on these devices:
VLNQA00363, Samsung Galaxy Z Fold 2, OS: 12, CPU: Snapdragon 865 SM8250, GPU: Adreno 650

Notes:
- Not reproducible on Safari
- Not reproducible on macOS (tested Sequoia 15.3.2 M1 Max on Chrome and Firefox)

  1. Resolution Note (fix version 6000.3.0a6):

    AppleWebKit-based web browsers (which on iOS means more than just Safari) cannot use speed micro-adjustments to correct drift because AVFoundation's speed controls are too limited to react smoothly. We have to resort to occasional seek-to-resync instead, when the drift threshold is exceeded.

Comments (2)

  1. timbotimbo

    Aug 08, 2025 12:30

    For anyone wondering why this doesn't affect Safari on iOS.

    This similar issue was fixed for Safari specifically, but it likely wasn't applied to other AppleWebKit browsers.
    https://issuetracker.unity3d.com/issues/webgl-video-playback-becomes-erratic-in-web-browsers-upon-losing-and-regaining-browser-focus

  2. arif69eee

    Jul 05, 2025 23:35

    Hi Unity Team,

    We are also facing the same issue! In addition to these browsers, we are also getting the issue on iOS WeChat. It seems all iOS web browsers except Safari are producing this issue.

    Any news when it will be fixed? Or, any workaround for now please?

    Many thanks !!

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.