Playing a youtube video crashes the unity client
Unity itself crashes when using a youtube url instead of the in-built url every time upon playing the scene
Minimal project and steps to reproduce
- Create a new project
- Install the vlc asset
- Attempt to use a youtube url such as the ones below (tried multiple ways) var media = new Media(_libVLC, new Uri("https://www.youtube.com/watch?v=CGXT6fweizE&ab_channel=3DVR360VIDEOS"));
var media = new Media(_libVLC, "https://www.youtube.com/watch?v=CGXT6fweizE&ab_channel=3DVR360VIDEOS", FromType.FromLocation);
- Observe crash
What is the current bug behavior?
As soon as you press play on the ThreeSixty scene it crashes
What is the expected correct behavior?
It should not crash the unity client
Does it work on other plaforms? Does it work with the official VLC apps?
It does work in the VLC app
Relevant logs and/or screenshots
- LibVLC version and architecture
- LibVLCSharp version
Windows 10 unity version 2021.1.1f1 most up to date vlc version