long-war-2 / lwotc

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

Game crashing on loading screen on rescue mission. #1573

Open DrCynosure opened 1 year ago

DrCynosure commented 1 year ago

I'm having an issue loading a mission, it doesn't get to the screen with the door like it usually does, my game is quite heavily modded I should mention. And I'm not quite sure what is causing the crash, since my play through so far has been going fine with no crashes, but now it suddenly just won't load this mission without the game crashing.

XCom-CL469133-2022.10.09-19.59.52_Logfile.log Launch.log

Tvrdoglavi commented 10 months ago

I'm experiencing the same crash. When trying to start rescue missions, games crashes during loading of the mission with Segfault 11. This is on Fedora 39. Beta version of the mod.

richard-melvin commented 10 months ago
Line 1553: [0033.60] Warning: Warning, Failed to load 'FX_Globe': Can't find file for package 'FX_Globe' while loading NULL
Line 1563: [0034.19] Warning: Warning, Failed to load 'FX_Birds_on_Ground': Can't find file for package 'FX_Birds_on_Ground' while loading NULL

FX_Globe.upk and FX_Birds_on_Ground.upk are both in the SDK, but not in the regular steam install. i've had liuck fixing similar crashes by copying the missing files to SteamLibrary\steamapps\workshop\content\268500\2663990965\Content\MissingUncooked, where `SteamLibrary\steamapps\workshop\content\268500\2663990965\ is the lwotc install directory.

Can you try it and see if it helps?

Tedster59 commented 10 months ago

More files on the list to add to the mod (rip the size reduction from cooking)

Tvrdoglavi commented 10 months ago

I installed the SDK but it does not have those files. My XCOM install has: fx_globe_sf.upk fx_globe_ui_sf.upk fx_birds_on_ground_env_sf.upk fx_birds_on_ground_sf.upk

Tvrdoglavi commented 10 months ago

At least I think I installed it. Instructions on reddit have more steps but those are to install .exe files and I'm on Linux. So that will not work.

Tedster59 commented 10 months ago

Pushed an update to the beta with the two missing files the log mentioned in it, please update and check again.

Tvrdoglavi commented 10 months ago

Last night the game crashed twice while trying to load a Hacking mission. It loaded fine this morning. I'll report on how the next Rescue mission goes as soon as one pops up. I made a mistake of starting this in Ironman so I don't have saves with bugged missions. I'll be smarter with Betas next time.

Thank you for working on this.

Tvrdoglavi commented 10 months ago

Found a Resistance Personnel rescue mission. It crashed. Would it help if I gave you a list of all files I have in the MissingUncooked folder?

Tvrdoglavi commented 10 months ago

Just found another crash. Apparently, Killing the Chosen Hunter crashes the game as well. Please let me know if I can provide any information that could help solve this.

Tvrdoglavi commented 10 months ago

I followed suggestions in another thread and edited the Jail Break map list to remove lg_GeneClinic_01_LW. After that I started a new run and the first Jail Break mission worked fine. It looks like there is an issue with that particular map that is causing the crashes for that type of mission.

Tedster59 commented 10 months ago

Interesting. Do you have the log file from the most recent crash as well?

Tvrdoglavi commented 10 months ago

FileIO.log Launch.log

I have these logs. I'm on Linux so crashes create a .dmp file not a log file and it is not letting me upload that here.

I tried to start a new run and the chose was the Warlock this time. It ended the same way. Crash on killing the Warlock. Makes it impossible to progress in the game.

Tedster59 commented 10 months ago

do you have anything in the Crashes folder? the DMP file is also created in windows, but it's a memory dump and nobody outside Firaxis can use them. the one you have has extremely little, making me think the name isn't logging correctly on Linux.

Tvrdoglavi commented 10 months ago

As far as I understand it, DMP file is the only crash file created on Linux. There is no crash log, unfortunately. FYI, there is another thread discussing the same chosen crash issue: https://github.com/long-war-2/lwotc/issues/1624