yt-dlp cannot load YouTube videos for UnityVideoPlayer
complete
CMajor7
Trying to load any YouTube video in any world that uses UnityVideoPlayer fails with
VideoError: [youtube] <video-id>: Requested format is not available. Use --list-formats for a list of available formats
A workaround for now is to use AVPro instead which still works.
Log In
This post was marked as
complete
lahyx
If more specific examples are needed
an example world:
and output log:
2025.03.28 09:42:17 Debug - [Video Playback] Attempting to resolve URL 'https://www.youtube.com/watch?v=CHt6VsK9STk'
2025.03.28 09:42:17 Debug - NativeProcess.Start: started process id [26032]: C:/Users/Administrator/AppData/LocalLow/VRChat/VRChat\Tools/yt-dlp.exe (...)
2025.03.28 09:42:19 Debug - NativeProcess.HasExited: process exited with code 1, took 2265 ms. Command line: C:/Users/Administrator/AppData/LocalLow/VRChat/VRChat\Tools/yt-dlp.exe (...)
2025.03.28 09:42:19 Warning - [Video Playback] ERROR: [youtube] CHt6VsK9STk: Requested format is not available. Use --list-formats for a list of available formats
2025.03.28 09:42:19 Debug - [Video Playback] URL 'https://www.youtube.com/watch?v=CHt6VsK9STk' resolved to 'https://www.youtube.com/watch?v=CHt6VsK9STk'
SwiftTheHedge
I am facing the same problem but with every single video player out there. It only works if I'm very lucky.
CMajor7
This issue has come up today for the first time and is persistent.