Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] Video Player temp files fills up C drive Appdata folder in less than 2 hours #227

Open
mossarelli opened this issue Oct 30, 2024 · 3 comments
Labels
bug suspected vrchat bug This issue is believed to be related to the VRChat client or SDK rather than The Great Pug itself.

Comments

@mossarelli
Copy link

Describe the Bug

During special events like St Patrick's day or Halloween, the video player that plays music in the world, has a tendency to fill up the C drive with a temp file in the Appdata folder.

Specifically: "halloween_mix-2024-final-v1-vrcss[1].dat" in:
C:\Users\Administrator\AppData\Local\Microsoft\Windows\INetCache\IE\somenumber

This slows down the computer and makes it prompt notifications like: "running low on disk space", and also makes the game crash more frequently.

This has been an issue since last year. Since the Halloween version a couple of days ago, multiple of my friends have had their game crash or been randomly disconnected from the instance in the world.

Take note of the free space of your C drive as time progresses in the instance, it ticks down at 0.05 gb per couple of minutes.

Expected Behavior

The YouTube video player could have multiple playlists or multiple streams of the music mixes, making the dat files smaller but perhaps multiple instead, which allows the game to switch between more than one buffer as a file.

Screenshots & Output Logs

image

Are you in VR or Desktop mode?

Desktop

Are you on Linux?

No

Additional Context

No response

@mossarelli mossarelli added the bug label Oct 30, 2024
@owlboy owlboy added vrchat bug This is a bug with the VRChat client and can affect all worlds. suspected vrchat bug This issue is believed to be related to the VRChat client or SDK rather than The Great Pug itself. and removed vrchat bug This is a bug with the VRChat client and can affect all worlds. labels Oct 30, 2024
@owlboy
Copy link
Owner

owlboy commented Oct 30, 2024

I appreciate you taking the time to report this! This is something that should be reported to VRChat. I do not have control over the inner workings of video playback in Unity or VRChat. Nor do I use YouTube.

I'll also note that this is the first time in the 8 years that I have been running these events and that I have heard of this issue.

That 3.4GB file is the whole file. Nothing more should be downloaded. If more is being downloaded, then that is an internal bug that VRChat should address.

Based on your screenshot, it looks like only 3.4GB downloaded. It's 3.4GB up the tree. This leads me to believe that you and your friends are running with boot drives that have under 5GB of free space. This isn't great practice. But I'm not judging, I get how that happens. But it's not great practice. But like I said, things have worked exactly the same for many years, across countless events, and this is the first I have heard of this issue. This leads me to believe it is an issue with running your boot drive with out enough free space, or VRChat has a new bug that they need to investigate.

Edit: When I say "countless" I mean I've also run weekly events for the past 7 years that use video files much larger than 3.4GB, with the same player, and we also don't run into issues. You really should get a bigger boot drive. 😔

@mossarelli
Copy link
Author

Yes, some people have 100 GB SSDs that still work, and with basic necessities installed, there is 7 GB free space, not even enough room for a 16 GB page file.

So when VRC and other apps fills up the disc space with temp cache files, it tends to get 0 GB really quick.

If it's not the implementation of the video player, but rather VRC's implementation of caching, then you can't fix it.

I'll just symlink the file onto the D drive and delete it later.

@sacred0
Copy link

sacred0 commented Oct 31, 2024

Using the VRChat config file, you can customize the size and location of the VRChat cache. Unfortunately, I don't think the video player cache can be moved, but you can at least save some space by moving the VRChat cache. I recommend making the cache size fairly large, to avoid needing re-downloading things as often. https://docs.vrchat.com/docs/configuration-file

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug suspected vrchat bug This issue is believed to be related to the VRChat client or SDK rather than The Great Pug itself.
Projects
None yet
Development

No branches or pull requests

3 participants