BGforgeNet / Fallout2_Restoration_Project

Fallout 2 Restoration Project, updated
https://forums.bgforge.net/viewforum.php?f=39
583 stars 38 forks source link

[Solved] Crash when entering Vault City #171

Closed StuckInMyPants closed 1 year ago

StuckInMyPants commented 1 year ago

Check this post for the solution.

What happened

Game crashes when trying to enter Vault City for the first time. Usually crashes with no error message, but will rarely throw out a memory error. Haven't managed to get a screenshot of it yet.

What you expected to happen

Screenshot

Savegame

zax_debug_2022-12-10_16-48-07.zip

burner1024 commented 1 year ago

Does it happen every time? No crash for me.

StuckInMyPants commented 1 year ago

Yeah, it happens every time. I tried it on another computer and it works fine, like it does for you. So I made a save inside Vault City and tried it again and it still crashes. So maybe something to do with a dependency or a graphic card issue? Anyways, thanks for taking a look at it.

burner1024 commented 1 year ago

This is strange, but thanks for testing on another PC. Could be some system or driver issue, indeed.

StuckInMyPants commented 1 year ago

Just a bit more info. Doing a clean install with fresh saves and no changes to the ini except resolution, Vanilla and UPU both are fine and don't crash. Killap's 2.3.3 version and the RPU both crash. Same spot, same time, right after you hear the new text beep for entering the city (which prints to the debug log btw). There's also an error in the debug about trying to find some type of missing object (looks like a door), which the game then crashes immediately after that. So maybe in the future, someone much smarter than myself can happen to figure out what causes this weird behavior that allows the game to run on one pc, but crash on another. But in the mean time, I give up lol.

burner1024 commented 1 year ago

You should be able to get crash dump info by pressing ctrl-c when crash message window appears, then pasting it.

StuckInMyPants commented 1 year ago

It crashes without any pop-up error box. I'm guessing it was only outputting an error when I was trying to troubleshoot it by doing clean installs and I had probably mismatched mods when loading a save, which could be responsible for the memory crashes. Either way, I'm going to assume that the crash with no error is due to some driver/computer issue, and the memory error was something I caused. It only crashes in the initial area, so by playing a bit on another computer and with use of the town/world hotkeys from the tweak mod, I can pretty much circumvent going through the first part of the town, so overall it's really not a big deal.

Thanks again for taking the time to try and help, and thanks for all your hard work with the continuation of this mod. I really am going to stop bothering you now.

khanchenkov commented 1 year ago

Hi, I think I have a solution for this one.

I've faced same issue and tried to find a solution here. Found out that I'm not the only one who can't enter Vault city and gets a crash report "Memory could not be read from". Same as here: https://github.com/BGforgeNet/Fallout2_Restoration_Project/issues/149 Sfall bug report showed same result as here: https://github.com/BGforgeNet/Fallout2_Restoration_Project/issues/182

Well, I tried to run the game right after I reinstalled windows on my laptop. And it worked. I entered Vault city without a crash. Then I noticed that window defender shows an orange exclamation point. I checked and it showed that in the "Kernel Isolation" tab I had disabled "Memory Integrity". I turned it on which required a restart and I faced crash in Vault City again. I turned it off again to finish the game. Guess this triggers an error.

StuckInMyPants commented 1 year ago

You absolute legend! Flipping off the Memory Integrity option solves it. Thank you so much! I've seen this exact issue a handful of times across different forums, so it's incredible that you managed to figure it out! So kudos to you!

There were 3 screens that I remembered it crashing on; Vault City courtyard, NCR area with Tandi, and the Abbey. And they all seem fine now. This is great!

mourner commented 11 months ago

Having the same issue but playing Fallout 2 through Wine on macOS. No way to turn off Memory Integrity there, so I guess I'm out of luck. :(