Sometimes when trying to play the video a NullReferenceException pops up and the video doesn't load.
The NullReference Error pops up randomly, and I have yet be able to diagnose the problem.
Here's the exception
YoutubePlayer.Components.InvidiousVideoPlayer.GetCompatibleVideoFormat (YoutubePlayer.Models.VideoInfo videoInfo) (at ./Packages/com.ibicha.youtube-player/Runtime/Components/InvidiousVideoPlayer.cs:145)
YoutubePlayer.Components.InvidiousVideoPlayer.PrepareVideoUrls (System.Threading.CancellationToken cancellationToken) (at ./Packages/com.ibicha.youtube-player/Runtime/Components/InvidiousVideoPlayer.cs:107)
It could probably use a better error format, but this error happens when there's no video format available. Can you share the videoId and itag?
IDs
hzCc6pp9cq8 K1QICrgxTjA BETPVN8V71Y
I'm using the default itag
I can't reproduce this error - can you share more details? How often? Any other errors in the console? Which Invidious instance are you using?
It happens 50% of the time, and there are no other errors. I'm using public Invidious Instance.
I get this too... 100% of the time. Only the first error though.