Plugins - Please check if they exist before loading
Ever since Plugin Loader was released on the workshop, I have been getting lots of crash reports due to what is small oversight in how SE loads plugins. When the "-plugin path/to/plugin.dll" option is used in the launch arguments, the game proceeds to try to load the plugin without checking if the file is actually on the disk. When people are installing Plugin Loader via the steam workshop, it is very common for this file to not actually exist on the disk yet since Steam likes to wait to download mods. Instead of just not loading the plugin, the game then crashes, leading to lots of useless crash reports both to me and I assume also to server admins and in the keen official discord.
Please add a call to File.Exists(string path) to prevent this from crashing the game.
I agree with this. It's surprising this wasn't done when plugins were first added, it is one of the basic concepts to check if something exists before trying to use it. 🤷♂
I agree with this. It's surprising this wasn't done when plugins were first added, it is one of the basic concepts to check if something exists before trying to use it. 🤷♂
Replies have been locked on this page!