VRChat sometimes crashes when using multiple videoplayers
Mixieǃ
VRChat sometimes crashes completely in VRDancing when multiple videoplayers are used simultaneously.
In a recent patch for VRD I added a video preview feature and an additional TV that plays our livestream.
Ever since that patch we sometimes have users crash to desktop, this has overall been very rare so its been difficult to pinpoint.
It seems that when multiple instances of yt-dlp are used, sometimes VRChat will just crash completely.
Which makes me believe this is a bug in VRChat itself. At most it should just, not play the video or crash some udonbehaviour. Not crash the entire game.
Reproducing the bug is tricky, but we have about a 10-20% success rate by:
- Opening an instance of this build: https://vrchat.com/home/world/wrld_6434966b-411b-4c5e-b00b-c9390c9a7207/
- Queueing and playing songs repeatedly as quickly as possible (Click "ADD" and then "SKIP")
- If the crash does not occur after 3 songs, create a new instance and repeat until the crash occurs.
I wish I had more specifics, I tried to create more consistent reproduction steps but couldn't find any.
The first frame is visible before right before VRChat closes. Nothing is displayed in logs besides the usual messaging that youtube-dlp/AVPro is loading the video.
There are three VideoPlayers in the world, all of them use AVPro.
Two of the videoplayers use my own custom wrapper, one of the videoplayers uses code originally based upon USharpVideo but heavily modified into its own thing at this point.
Log In