Random crashes with mods - been trying hard to solve this for days
I've been experiencing constant random crashes with mods and I've been trying to fix this for days now. These crashes usually happen AFTER the game has loaded, within [10 seconds ; 10 minutes] while driving around the city.
Here is some useful information about my situation:
I've experienced crashes with many different sets of mods. I can't seem to find the reason why they cause the crashes, as I'm sure that I've installed and handled the mods correctly.
Here is the different sets of mods that caused crashes for me:
- QuantV 3.0, ENB (Installed with QuantV), with and without Reshade 4.9.1
- QuantV 2.1.4 (Timecycles only), Natural Vision Evolved October Update, ENB (Installed with NVE) Reshade, Volumetic Lighting FX, VisualV (Timecycles only), World of Variety
- I followed this tutorial on youtube, extremely carefully and multiple times: https://www.youtube.com/watchv=b0yuWhl5Ixs&t= (Mods were merged together correctly)
- QuantV 3.0, ENB (Installed with QuantV), Reshade 4.9.1, few DLCPacks from NVE October Update
ENB is a reoccurring mod that is always installed when I experience crashes, tested game without it, still crashed but the crash happened while the game was minimized? Same error code.
Already tried the following:
- Replacing popgroups.ymt with vanilla
- Playing vanilla GTA, no crashes
- Reinstalling game and verifying game files
- Downgrading GTA 5 version to 1.0.2245.0 (With gameconfigs)
- Latest drivers installed (GPU, Chipset, Audio and so on)
- HeapAdjuster, correct GameConfig (Limitless Vehicles), ScriptHookV5, PackFileLimit , are installed
- I never crash in any other games, even modded Witcher 3 for example (With over 80 mods)
- GTA V is installed on the Epic Games Platform version 1.0.2372.2
- MSI Afterburner Benchmark overlay were enabled during gameplay (Don't know if this can cause issues)
CPU: AMD Ryzen 5600x (Undervolt to -30 Curve Optimizer - Have been tested)
GPU: RTX 3070 (MSI Ventus 2x) (Undervolt Overclock - Stress Tested)
PSU: Corsair TX750M
RAM: 2x8GB Crucial Ballistix 3600MHz CL16 (XMP is ENABLED)
SSD: WD Blue SN550
Motherboard: Asus Prime X570-P
[2021-12-14 18:36:04.606] [ ERROR ] [ 8604] [crashdetection] Exit code 0xc0000005 indicates a fatal game exit (reason: STATUS_ACCESS_VIOLATION)
Thank you for reading all of this, if there are any further information you need in order to help me, please ask.
@Ageforce Your ENBs are causing your issues. Disabling and restarting the game doesn't help unless you reboot due to memory leaks. Disable ENBs should fix your issue providing you have the proper gameconfig setup. Reinstalling does absolutely squat. A verify integrity is useful when you think a file is corrupted or you edited game files by mistake.
Suggestion: disable ENBs, start with a fresh boot, see if game is stable or not. Ask yourself also if the high quality graphics that are part of the vanilla game are good enough, particularly with a 3070, or if you prefer artificial sharpening and contrast and saturation. If you like altered graphics Menyoo has excellent vision hacks too.
Thank you for your reply. I have a few questions regarding what you said:
- So I can run my other mods just fine, as long as ENB is not installed?
- ENB is working for "everyone else" what I mean by that is I've followed a modding tutorial with ENB included (From Natural Vision) and it works for almost everyone, I'm even a part of a discord server where people state this. ENB is also very popular and commonly used. Are there no way to "patch/fix" ENB so I can still use it without crashes?
- What does "The proper gameconfig" mean? Just the vanilla traffic gameconfig for my version (Limitless Vehicles Version) or what do you recommend?
It's not the end of the world if i can't use ENB. Reshade is really nice, and would definitely be more than good as a replacement.
I'm going to try modding GTA 5 again tomorrow, but now without ENB to see if it works.
@Ageforce I'm not saying you should never install an ENB, what I'm suggesting is you disable it, do a fresh boot, and see if it solves your issues. The limitless gameconfig is fine and ofc you also need the heap and pack adjusters. Let us know if it disabling ENB helped or not.
If your game works stably without ENB, and you still want to try it, you can reinstall and tweak the settings, but that would be once your game runs.
@JohnFromGWN Will do, thank you
@JohnFromGWN So I tried playing the game without ENB installed, and I still crash.....
- NVE October
- QuantV 3.0 (Timecycles, asi file, ini file and visualsettings.dat only - So the mods can work together)
- HeapAdjuster, Gameconfig limitless vehicles version 1.0.2372.2 and ScriptHookV
- menyoo trainer
- Turned all overclocks/undervolts off for CPU, RAM and GPU.
What do you recommend to do now?
@Ageforce You need to see if your game runs properly without any mods enabled. To do this just rename the file dinput8.dll to dinput8.bak and see if the game runs stably, no crashing.
It seems like I have fixed the issue. I've had the game upon and drove around the city for around 15 minutes. No crashing.
What I did to fix it:
I installed this gameconfig for my version of the game (Limitless Vehicles crash my game):
I turned off all overlays (MSI Afterburner, FPS Counters and so on) - I've been told they can conflict with Reshade / ENB.
Turned off all overclocks/undervolts for my GPU and RAM (DOCP turned off and MSI Afterburner default settings) for some reason only GTA V with mods crashes with my overclocks enabled. All other games run fine.
I will be updating you guys here when I've played the game for a bit more, just to make sure that this fix really is working (to rule out that I didn't just get lucky with the crashes, since it is slightly random - I tested the game twice with the fixes made above, no crashes in both of them. Then i returned the changes to what it was before, with overclock on, and I started crashing again.)
@Ageforce That's good news. Thanks for the update. In passing, the gameconfigs might need to be updated after the DLC version.
@JohnFromGWN Will the gameconfig from previous version (1.0.2372.2) work in the new update? The reason I'm asking this is because there are no gameconfigs yet for this new update that came out today.
@Ageforce I can't answer that. Each update is different. I did have to change myself after the last update but many people didn't. Most gameconfigs (well there are 2 major ones) were indeed updated last time. So if you're lucky you won't need to.
It was worth mentioning because it adds another variable to your troubleshooting. Unfortunately.
@JohnFromGWN Sadly my issue is not solved just yet... Game is still crashing 3-10 minutes into the game session.
I have only few mods installed, no scripts, and very few ADD-Ons:
- QuantV 3.0 (Installed through .oiv package installer
- NVE October Update (NVE, NVE_vegetation and NVE_lights placed into dlcpacks folder and added to dlclist)
- NBvisual Vegetation (Installed through .oiv package installer, added to dlclist)
- ENB that comes with QuantV
Modded dlcpacks folder has very few files, only the NBvisual and NVE files, but there is way more listed in the dlclist.xml. These files are found in the dlcpacks in the unmodded folder. Is this normal?
I know you said that ENB is causing the crashes, i just find it unreal when it is installed with a very popular mod, and it works for many people without problems. I'm not even sure if it actually is the source of the crashes. It's a bit tricky to test. If it is the soure - are there really not a fix for it?
I'd prefer to run my game with this exact configuration, which should work, but just doesn't for me. Keep in mind that the error code i get is: STATUS_ERROR_VIOLATION (LOG FILE: https://pastebin.com/J8a3YVuH)
@Ageforce There are so many variables. That's why I suggested as a first step to run with all mods disabled. It isn't clear from your posts whether you tried this. With mods disabled you essentially are ruling out the majority of hardware and software issues. Once you know the game runs properly without mods, for longer than 1 hour for example, then you start to add mods.
@JohnFromGWN I have tried to run GTA V without mods, where I ran the game for about 30 minutes - crash free.
Afterwards I added NVE and boom, game started crashing. Same happens with only QuantV installed.
@Ageforce Ok so it seems NVE is your culprit. I can't help you with NVE as I don't use any visual mods - in fact with your card the vanilla graphics will be awesome unless you have a CRT monitor from the 80s.
I guess I'll just keep trying to fix it, and in the meantime wait for someone who has had the same issue as me and fixed it somehow.
@Ageforce unfortunately no one will have the same issue because your crashes are random. When the crash isn't the result of a systematic process, one or a series of steps leading to the crash, you can use two approaches. And keep in mind that nobody else has your hardware, software, and game specifications. Again, there are infinite number of combinations. Having said that any issue can be resolved, although a perfect solution isn't always found.
The approaches? You can waste your time staying in denial that it is a specific mod and just play with hundreds of variables by trial and error or you can use the proven approach of starting from a vanilla system.
The key is to keep it to as few variables as possible. If you absolutely need an ENB, then remove all other mods and post, google, or Discord. If you start adjusting your overclocking while tweaking your ram speed and DirectX version and AA settings all at the same time you've got a recipe for disaster. Just using this as an example.
Recently i added two very large maps together. The game ran very well except when i teleported back and forth. The cause was obviously the combination. Can i fix this? I don't know and don't have the time to waste trying so i put each map in its own sandbox, end of problem. The point i want to make was that although i wasn't pleased the two maps weren't playing well together i sent each one to their own rooms rather than pay for a therapist.
@JohnFromGWN Yes, I understand what you mean, but at this point I've basically given up. I don't want to sit through COUNTLESS of hours/days of testing each individual variable due to the following reasons:
- Game crash is random and happens at a (mostly) random time (crash can happen after 1 minute of gameplay or even 1 hour.)
- I've followed several modding guides that received good feedback. It works for a lot of people, but doesn't work for me. Even though I follow every instruction carefully. I know I have different hardware and software so that's definitely why. Still doesn't change the fact that it's extremely frustrating.
- So many other variables other than game files/mod files also go into this. Hardware specs, drivers, memory allocation, overclocking/undervolting and so on
This whole process of trial and error is extremely tedious and takes extremely long. I don't want to put myself through this. All this time I've been searching for the easy solution, but then I've realized it just doesn't exist.
Thanks for all your help, I appreciate it.
@Ageforce I think you may have missed my point. I'm advocating exactly the opposite, you don't go by trial and error. You start vanilla and keep adding until you break something. If you can fix the broken mod, wonderful. If you can't, you uninstall and move on.
@JohnFromGWN That's pretty much also what I meant.
- Play Vanilla - No crash
- Add mod/file/folder
- Test the game (I have to test for atleast 1 hour due to my crashes being random, just like I said in my previous post)
Repeat 2 and 3.
This takes a very very long time, and is extremely tedious. Plus mods like NVE is installed through a package .oiv file. I could extract this file and add each part of the mod folder by folder, but this will* make me require mental help haha.
@Ageforce OIVs are bad news. You should absolutely extract them and install manually based on the assembly.xml. or at the very least look at the contents folder and the assembly.xml. if you see a dlclist.xml or gameconfig.xml, run away as fast as you can.
@JohnFromGWN Is it normal that my dlclist.xml has way more DLC's listed in the file than there actually is in the modded dlcpacks folder? These DLC's listed in the dlclist.xml can be found in the non-modded dlcpacks folder. All my modded dlcpacks are listed in the dlclist.xml file though.
Is this fine?
@Ageforce your mod version of dlclist.xml will only load addons that are installed by you or the game so no issues. In other words you can have a dlclist item for an addon you uninstalled without any issues which is great for troubleshooting. You can move, rename, delete mods without editing dlclist.xml. obviously you do want to keep it clean once finished testing.
It's also normal by default that you have game dlc in your mod version of dlclist.xml because that's where the file originated, either by us doing a copy or allowing OpenIV to do it when we installed.
The game version of dlclist.xml will load all its entries whether they are in your mod version or not. But preference/priority is given to mods version.
So if for example you made changes to a game dlcpack you would want that entry in the mod version. If not, the vanilla version will be loaded. In other words the dlclist.xml in mods takes priority overall all others, and when i say all others its because there are duplicate files, components.rpf also has a dlclist.xml which you never need to mod.
@JohnFromGWN Alright thank you.