This object is in archive! 

Plugins - Please check if they exist before loading

avaness shared this feedback 2 years ago
Not Enough Votes

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.

Replies (1)

photo
1

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. 🤷‍♂

Leave a Comment
 
Attach a file