Search Issue Tracker
Fixed
Fixed in 2022.3.59f1, 6000.0.46f1, 6000.1.0b8, 6000.2.0a2
Votes
10
Found in
2022.3.51f1
6000.0.25f1
6000.1.0a2
6000.2.0a1
Issue ID
UUM-86076
Regression
Yes
"AVFoundationVideoMedia error while reading” error is thrown when streaming from a URL with a signed token in VideoPlayer
Reproduction steps:
1. Open the user’s attached “repro” project
2. Open the “Assets/Scenes/SampleScene.unity” Scene
3. Enter the Play Mode
4. Observe the Game View
Expected result: A video is displayed
Actual result: A "AVFoundationVideoMedia error while reading” error is thrown
Reproducible with: 2022.2.0a16, 2022.3.51, 6000.0.25f1, 6000.1.0a2
Not reproducible with: 2021.3.45f1, 2022.2.0a15
Reproducible on: MacOS 14.6.1 Intel, M1 (user’s)
Not reproducible on: No other environment tested
Notes:
- Full error:
”AVFoundationVideoMedia error while reading <<your URL>> Context: AVFoundationVideoMedia::OpenForRead found no video tracks Error details: <Empty>”
- Error “VideoPlayer cannot play url : <<your URL> Cannot read file.” is also thrown
Comments (6)
-
alberto_unity814
Apr 09, 2025 16:07
Still not fixed in LTS...
-
magomezca4
Mar 28, 2025 10:10
Not fixed in 6000.1.0b11
-
wbenjamin
Feb 26, 2025 09:41
Fixed in unity 6000 for versions 6000.1.x and 6000.2.x, but not for the only LTS version 6000.0.x. And despite this, the status of this bug is "Fixed". Why?
-
IIIupot
Feb 03, 2025 09:13
Not fixed in 6000.2 on ios for external links with a token.
https.....com/v0/b/some-project/o/video%2SomeVideo.mp4?alt=media&token=64a4f6f5-1230-4304-b250-f68efd7d73bc -
developerarreterra
Jan 30, 2025 08:38
Any ETA when it's in 2022.3.X ?
Because it's critical for our current update. -
verborghs-playit
Jan 23, 2025 13:24
is there a work around for the issue. Unescape a url before passing it to the videoplayer.url property seems to work, but does not work when a '+' is present.
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
- Animator window has a dropdown button that throws “MissingReferenceException” error on a new project when the previous project had a GameObject with an animation
- Animator State name overflows outside the visual box when the State has a long name
- UI Document file remains marked as Dirty after Undoing made changes
- Switching between UI Documents with different Canvas sizes marks the UXML file as dirty
- m_Modifications block serializes incorrectly when replacing source prefabs
Resolution Note (fix version 6000.2.0a2):
Improved the Video Player's ingestion of URLs. The Video Player now better handles percent-encoded characters in URLs.