[Bug]: High Preset Randomly Crashing on Ryujinx due to `System.AccessViolationException`
Closed this issue · 4 comments
jasondyoungberg commented
Describe the bug
My game will randomly crash after playing for around 1 hour.
cmd : Fatal error. System.AccessViolationException: Attempted to read or write protected memory. This is often an
indication that other memory is corrupt.
Reproduction steps
- Choose the high preset
- Play the game for ~1 hour
- The game freezes then closes
Additional context
I'm using Ryujinx 1.1.1298 and Optimizer 2.0.5
stderr.log
stdout.log
maxlastbreath.ini
What's your operating system?
Windows 11
MaxLastBreath commented
May want to report this to ryujinx, they have an issue with texture cache being too small at times
jasondyoungberg commented
I got a temporary fix that seems to be working. I changed this constant to 1536 * 1024 * 1024
MaxLastBreath commented
Yee remember I told you on discord, it is the texture cache haha, hopefully one of the devs will bring a more permanent fix in the future tho
jasondyoungberg commented
Yeah, I created a feature request on ryujinx. https://github.com/Ryujinx/Ryujinx/issues/6798