VRChat sometimes crashes when using multiple videoplayers
tracked
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
StormRel
marked this post as
tracked
StormRel
marked this post as
needs more information
Is this still occurring? Do you have any logs from the crashdump?
I seem to have difficulty reproducing this.
Mixieǃ
StormRel Hii! I've updated the link to a build where I believe it happens even more consistently. I hope that helps.
I just reproduced the crash on my own PC again and it has also consistently happened for atleast 5 other testers that I know of, and intermittently for the entire VRD community.
After reproducing the crash I looked for crashdumps, following the VRChat help article I could unfortunately not find any though :/
If it helps I could make a video of reproduction steps?