[posila][2.0.7]Crash when loading a mod with invalid file paths
[posila][2.0.7]Crash when loading a mod with invalid file paths
Encountered while updating my mod to 2.0, a typo in the mod name in a image path caused the game to crash. Expected to have a dialogue that says that the file path is invalid.
- Attachments
-
- factorio-current.log
- Factorio log
- (6.56 KiB) Downloaded 32 times
-
- PlutoniumEnergy_1.7.1.zip
- mod file
- (2.05 MiB) Downloaded 17 times
Re: [raiguard][2.0.7]Crash when loading a mod with invalid file paths
Thanks for the report. Do you have the zenity utility installed on your distro?
It appears that SDL uses this to display error dialogs on Wayland.
It appears that SDL uses this to display error dialogs on Wayland.
Don't forget, you're here forever.
Re: [raiguard][2.0.7]Crash when loading a mod with invalid file paths
Ah, I should specify that I use Steam via flatpak. I have zenity on my main system but I doubt it's exposed to the flatpak environment and probably isn't included in there. Still, I would expect the game to perform filename sanitization and use the usual mod loading error screen to indicate such errors.
Re: [raiguard][2.0.7]Crash when loading a mod with invalid file paths
I will look into making it an in-game error, but since it isn't already, I imagine it isn't entirely trivial.
Don't forget, you're here forever.
Re: [raiguard][2.0.7]Crash when loading a mod with invalid file paths
I would imagine it's like a missing file error, which does work fine when the mod name is correct. Just a guess.
Re: [posila][2.0.7]Crash when loading a mod with invalid file paths
Thanks for the report.
Fixed for 2.0.10
Fixed for 2.0.10