ModOrganizer2 / modorganizer

Mod manager for various PC games. Discord Server: https://discord.gg/ewUVAqyrQX if you would like to be more involved
http://www.nexusmods.com/skyrimspecialedition/mods/6194
GNU General Public License v3.0
2.15k stars 160 forks source link

FO4 crashing after creating/deleting save on Win 11 #1596

Closed tr0ubadour closed 2 years ago

tr0ubadour commented 2 years ago

The problem:

Everytime I save, the game produces a successful save (which I can continue from after launching the game again) , but crashes immediately afterwards. Each Buffout4 crash log shows the usvfs_x64.dll at the top of the "STACK" section. Fudgyduff, the creator of Buffout 4 recommended to post this issue here. I've already tested with the "usvfs-insider-v2"-files from the pinned issue on Win 10 with the same result.

To Reproduce:

Just create an autosave. Creating a normal save using the console crashes the game, but doesn't create a buffout crashlog, so this couldn't be properly tested.

Environment:

Details:

Buffout 4 crashlog: https://gist.github.com/tr0ubadour/5822e94a1eaa779dc649c03738bb18ed

Link to Mod Organizer logs:

Right click on the log window at the bottom of MO2, set log level to debug, restart Mo2 and reproduce the problem. To access the log files you can press the Open folder icon over the modlist and select "Open MO2 Logs folder".

USVFS:

https://gist.github.com/tr0ubadour/4a149a27b2c462d2dcf98152bf7afd30

MO Interface:

https://gist.github.com/tr0ubadour/a04bd8cdd0ac0a34d7dbe8dec2c0040c

tr0ubadour commented 2 years ago

Little update: The crash seems to be caused by the game deleting any save. On a fresh game the first saves work without a crash, but as soon as the game deletes an older autosave, or you manually delete any save, the CTD happens.

I'll try to do a workaround for now by changing the setting for maximum autosaves and manually deleting the old ones outside of the game.

LostDragonist commented 2 years ago

I haven't been able to reproduce this yet though I'm on a completely vanilla install right now. Any chance you can try a new profile in MO with no mods and see if the issue persists there?

tr0ubadour commented 2 years ago

I did as you requested and started a new game with a new profile with no mods activated in MO. The game crashed after creating the third autosave after the character creation screen and also after starting the game again, when I tried deleting a save in the main menu.

Here are the logs:

USVFS:

https://gist.github.com/tr0ubadour/68fcf1d477693489f6c10087df9fd1e5

MO Interface:

https://gist.github.com/tr0ubadour/dca38c7451a17e1d438c56e8985a77dd

PS: Did you try yourself using Win 11? Because I didn't change any mods in my load order, I simply updated from Win 10 to Win 11 (no fresh install, just updating with Microsoft's own tool), that's when the issue first occured. The build number is in the original post.

LostDragonist commented 2 years ago

Yes, I tested on Windows 11. I spent hours installing it just for you.

20:19:30.327 [I] hooked NtClose (0x7fffec6034a0) in C:\WINDOWS\SYSTEM32\ntdll.dll type chained patch 20:19:30.327 [I] existing hook to 7fff6c651100 in unknown

This indicates you have some sort of anti-virus or anti-virus like software installed that isn't registered with Windows. I've seen this before with a program called Seguarzo that is really malware disguised as an anti-virus. I'm guessing you have something like that going which is causing problems.

tr0ubadour commented 2 years ago

Wow, you've really gone out of your way! I appreciate this! I'll see what I can find. And I'll also check if the crashes persist, when I deactivate Bitdefender, which is my antivirus program.

tr0ubadour commented 2 years ago

Turns out it actually IS Bitdefender, even though I whitelisted both usvfs.dll's.

Betaglutamate commented 2 years ago

Hi,

I had this exact issue managed to solve via bitdefender exclusions. (You can add exclusions in the bitdefender program)

I added the following paths:

Excluded: MO2 folder modorganizer.exe, SSE folder SKSE64_loader.exe skyrimse.exe

This solved the problem

arturek1666 commented 2 years ago

I know this is old thread however the issue still shows in 2022, and indeed the fix is to add exception in Bitdefender, however for safety I would recommend only adding SkyrimSE.exe to exception that is enough as tested.

It's mostly Advanced Threat Defence and you just add exception there as main file of the game with is: SkyrimSE.exe nothing else non of those required to add: MO2 folder modorganizer.exe, SSE folder SKSE64_loader.exe

I also know it's closed but if required this is all you need to do.

Johnnyx92 commented 2 years ago

Can confirm and it's same for Skyrim AE, after two days of constant reinstalling MO2, fresh installing Skyrim AE over and over with SKSE.

Turns out it was Bitdefender ¤%#&!. Even worse is it was advanced threat defenderthat was the issue because I earlier tried only deactivating anti virus (not advanced) and still didn't work.

I whitelisted everything Betaglutamate mentioned and extra. But as Arturek1666 said it should be enough with Skyrim SE.exe add as exception.

mvinc006 commented 1 year ago

Appreciate people reporting this. Spent two days dealing with crashes due to bit defender and how it requires you to manually add the. Exe to the exceptions, it's baffling

Dinerrty commented 12 months ago

Thank you so much for this, it's been baffling me!, I can't believe it came down to Bitdefender!, I just added an exception to Skyrim SE.exe and I can save fine through MO2 with SKSE installed. Thanks again.