long-war-2 / lwotc

Port of Long War 2 to XCOM 2's War of the Chosen expansion
345 stars 91 forks source link

crash during soldier selection #986

Open bobjjones opened 4 years ago

bobjjones commented 4 years ago

I have had this crash happen about 6 times now. The relevant lines in the log files are pasted below for convenience. I do not get this crash on vanilla WOTC. The mod is really fun to play, but I can't play for very long before it crashes. To be clear, it doesn't crash every time I do soldier selection. Its about 50% of the time I get the crash. its quite annoying. Log files are attached. I am running the beta 3 version.

Just to rule out a few things. Because it was related to D3D11, I ran dxdiag to check my GPU. No problems detected. My drivers are also the latest from NVIDIA. I don't get these kinds of crashes on other games. Turning down my graphics settings does not impact whether or not I get the crash. I hope that others have this problem because I can't expect you guys to fix a problem that only I have, but if you have any ideas on what might be the issue, I would appreciate the advice.

It looks to me like some pointers to file names are getting screwed up somehow, but I'm just a physicist. I don't code with graphics. All my stuff is just numbers.

XCom-CL374751-2020.05.07-23.50.59_Logfile.log XCom-CL374751-2020.05.07-20.46.43_Logfile.log

[0469.86] ScriptLog: UIScreenListener_SquadSelect_LW: Received focus [0469.93] ScriptLog: UIScreenListener_SquadSelect_LW: Found infiltration panel [0479.23] Critical: appError called: Assertion failed: appErrorf [File:G:\BuildAgent\work\9a884cb2af69f6ff\main\XCOM2\Development\Src\D3D11Drv\Src\D3D11Device.cpp] [Line: 649] The Direct3D 11 device that was being used has been removed. Please restart the game. Stack: Address = 0x9c2548dc (filename not found) [in C:\Program Files (x86)\Steam\steamapps\common\XCOM 2\XCom2-WarOfTheChosen\Binaries\Win64\XCom2.exe] Address = 0x9cb66048 (filename not found) [in C:\Program Files (x86)\Steam\steamapps\common\XCOM 2\XCom2-WarOfTheChosen\Binaries\Win64\XCom2.exe] Address = 0x9cb6dfdb (filename not found) [in C:\Program Files (x86)\Steam\steamapps\common\XCOM 2\XCom2-WarOfTheChosen\Binaries\Win64\XCom2.exe] Address = 0x9cb8dbff (filename not found) [in C:\Program Files (x86)\Steam\steamapps\common\XCOM 2\XCom2-WarOfTheChosen\Binaries\Win64\XCom2.exe] Address = 0x9cb873ac (filename not found) [in C:\Program Files (x86)\Steam\steamapps\common\XCOM 2\XCom2-WarOfTheChosen\Binaries\Win64\XCom2.exe] Address = 0x9cb873fa (filename not found) [in C:\Program Files (x86)\Steam\steamapps\common\XCOM 2\XCom2-WarOfTheChosen\Binaries\Win64\XCom2.exe] Address = 0x9cb8fe13 (filename not found) [in C:\Program Files (x86)\Steam\steamapps\common\XCOM 2\XCom2-WarOfTheChosen\Binaries\Win64\XCom2.exe] Address = 0x9d174683 (filename not found) [in C:\Program Files (x86)\Steam\steamapps\common\XCOM 2\XCom2-WarOfTheChosen\Binaries\Win64\XCom2.exe] Address = 0x32cb7bd4 (filename not found) [in C:\WINDOWS\System32\KERNEL32.DLL] Address = 0x34bace51 (filename not found) [in C:\WINDOWS\SYSTEM32\ntdll.dll] Address = 0x34bace51 (filename not found) [in C:\WINDOWS\SYSTEM32\ntdll.dll]

bobjjones commented 4 years ago

ok, the problem is getting worse. LWOTC repeatedly crashes. Most times during squad selection and occasionally during tactical movement of a soldier. Dumping all my crash logs here. I really hope someone can help. I have tried every diagnostic I can think of on my side and everything seems to operating normally. WOTC unmodded never crashed like this, but I will admit I didn't play it for long. It was obviously broken and un-fun to play. This mod actually makes the game fun to play, but now I can't play it cause it keeps crashing.

XCom-CL374751-2020.05.06-17.26.55_Logfile.log XCom-CL374751-2020.05.06-22.02.02_Logfile.log XCom-CL374751-2020.05.06-22.09.54_Logfile.log XCom-CL374751-2020.05.07-01.55.38_Logfile.log XCom-CL374751-2020.05.07-20.46.43_Logfile.log XCom-CL374751-2020.05.07-21.46.56_Logfile.log XCom-CL374751-2020.05.07-23.50.59_Logfile.log XCom-CL374751-2020.05.08-01.28.41_Logfile.log XCom-CL374751-2020.05.08-22.16.43_Logfile.log

bobjjones commented 4 years ago

I have a save that has crashed 3 times in a row. I try to start infiltrating a mission, and while I am selecting soldiers, the game just randomly crashes. I can't, for the life of me, determine what I am doing wrong. It seems that the problem is correlated with low infiltration times. This one only has 3D and 22 hours. I was trying to see if I could send a couple shinobi in to try to pull it off of it is worth boosting. It is the jailbreak mission in the save.

However, I can't upload the save file. It says the file type is not supported. Is there a repository somewhere that accepts these file types that I can link to?

pledbrook commented 4 years ago

I saw this in the first couple of log files you posted:

[17950.61] Critical: appError called: Assertion failed: appErrorf [File:G:\BuildAgent\work\9a884cb2af69f6ff\main\XCOM2\Development\Src\D3D11Drv\Src\D3D11Device.cpp] [Line: 649]
The Direct3D 11 device that was being used has been removed.  Please restart the game.

I wonder whether you're encountering a driver issue? I don't think that has anything to do with LWOTC.

pledbrook commented 4 years ago

However, I can't upload the save file. It says the file type is not supported

You just need to zip up the save file and attach the zip file to the issue.

bobjjones commented 4 years ago

I thought it was a driver issue too. So I ran dxdiag and updated my drivers. No issues were detected. I tried multiple other games including unmodded version of war of the chosen. None of these experienced crashes.

It is definitely something unique to LWOTC, but I can't figure out what could possibly be doing it. My best guess was that all the extra people in the squad select was taxing the GPU and it was overheating. My GPU temp was peaking at the time of the crash at 90C. So, I reduced all the graphics settings to minimal (they run at max on vanilla WOTC just fine). This reduced the frequency of the crashes, but it did not eliminate them. Even more interestingly, the crashes appear to FUBAR the files in the config folder that I deleted and regenerated when I installed the mod. I have to delete and regenerate them again after each crash or strange things start happening that I believe have to do with some of the required mods not getting properly loaded.

I have been able to play with an acceptable number of crashes by selecting by using minimal graphics settings and selecting loadouts in the barracks before going to squad select. This way, I spend as little time as possible on the squad selection screen.

Anyway, this seems to be an issue unique to my machine. Next time I get a crash, I will upload the save here to see if anyone can reproduce it on their machine.

bobjjones commented 4 years ago

ok, here is the save. It crashed twice in a row. I am going to try deleting my config folder and regenerating again.

I did not include the .dmp file because it is too big for the forum to accept. 36MB.

crashdata.zip

bobjjones commented 4 years ago

looking through the log, I notice a few things I am curious about.

  1. [0001.60] Log: PhysX GPU Support: DISABLED

PhysX is not disabled. I run two GTX 670s in SLI configuration. I have the second one doing PhysX and the first one driving the monitor...trying to reduce load on the first one. I am going to try switching to have the first one do everything. Maybe Xcom 2 doesn't work right with SLI.

  1. [0006.50] Error: Corrupt texture [Texture2D XComEngineMaterials.borderGradientDashed]! Missing bulk data for MipIndex=0

I don't know what that is, but its an error of some sort. Will verify integrity of game cache

  1. bunch of .inis failing to load...some its because it is looking in the wrong place for them..others because they really don't exist.

[0002.03] Log: LoadAnIniFile was unable to find FilenameToLoad: C:\Program Files (x86)\Steam\steamapps\common\XCOM 2\XCom2-WarOfTheChosen\Binaries\Win64....\XComGame\Config\DefaultPlaylist.ini [0002.03] Log: LoadAnIniFile was unable to find FilenameToLoad: C:\Program Files (x86)\Steam\steamapps\common\XCOM 2\XCom2-WarOfTheChosen\Binaries\Win64....\XComGame\Config\XComPlaylist.ini [0004.04] Log: LoadAnIniFile was unable to find FilenameToLoad: C:\Program Files (x86)\Steam\steamapps\common\XCOM 2\XCom2-WarOfTheChosen\Binaries\Win64....\XComGame\Config\DefaultWeb.ini [0004.04] Log: LoadAnIniFile was unable to find FilenameToLoad: C:\Program Files (x86)\Steam\steamapps\common\XCOM 2\XCom2-WarOfTheChosen\Binaries\Win64....\XComGame\Config\XComWeb.ini [0008.81] Log: LoadAnIniFile was unable to find FilenameToLoad: C:\Program Files (x86)\Steam\steamapps\common\XCOM 2\XCom2-WarOfTheChosen\Binaries\Win64....\XComGame\Config\DefaultPerfectInformation_NullConfig.ini [0008.81] Log: LoadAnIniFile was unable to find FilenameToLoad: C:\Program Files (x86)\Steam\steamapps\common\XCOM 2\XCom2-WarOfTheChosen\Binaries\Win64....\XComGame\Config\XComPerfectInformation_NullConfig.ini [0009.29] Log: LoadAnIniFile was unable to find FilenameToLoad: C:\Program Files (x86)\Steam\steamapps\common\XCOM 2\XCom2-WarOfTheChosen\Binaries\Win64....\XComGame\Config\DefaultX2WOTCCommunityHighlander_NullConfig.ini [0009.29] Log: LoadAnIniFile was unable to find FilenameToLoad: C:\Program Files (x86)\Steam\steamapps\common\XCOM 2\XCom2-WarOfTheChosen\Binaries\Win64....\XComGame\Config\XComX2WOTCCommunityHighlander_NullConfig.ini [0009.30] Log: LoadAnIniFile was unable to find FilenameToLoad: C:\Program Files (x86)\Steam\steamapps\common\XCOM 2\XCom2-WarOfTheChosen\Binaries\Win64....\XComGame\Config\DefaultrobojumperSquadSelect_NullConfig.ini [0009.36] Log: LoadAnIniFile was unable to find FilenameToLoad: C:\Program Files (x86)\Steam\steamapps\common\XCOM 2\XCom2-WarOfTheChosen\Binaries\Win64....\XComGame\Config\DefaultModConfigMenuTestHarness.ini [0009.36] Log: LoadAnIniFile was unable to find FilenameToLoad: C:\Program Files (x86)\Steam\steamapps\common\XCOM 2\XCom2-WarOfTheChosen\Binaries\Win64....\XComGame\Config\XComModConfigMenuTestHarness.ini

For example, the defaultrobojumpersquadselect is in the config folder that is located in my documents folder, but it is not in that folder. My guess is that it first looks in the primary game folder and then looks in the one in my documents folder, but since I am not sure, I am questioning it.