Nexus-Mods / Vortex

Vortex Development
GNU General Public License v3.0
822 stars 124 forks source link

error: Valheim "BepInEx" could not run preloader #15587

Open muryarth opened 1 week ago

muryarth commented 1 week ago

The bug Whenever the currently managed mods are deployed, vortex rewrites the configuration on "doorstop_config.ini" file and sets "dllSearchPathOverride" value as "unstripped_corlib", which causes a preloader error. This problem occurs because the Vortex Mod Manager forcefully manages BepInEx (even if this is disabled on the mods list), and even if we want to install it manually, it keeps rewriting the same files and causing this problem after every deployment.

To Reproduce Steps to reproduce the behavior:

  1. Go to the mods list of the game;
  2. Disable "denikson-BepInExPack_Valheim-...";
  3. Enable any mod;
  4. Let the auto-deploy happen;
  5. Launch the game;

Expected behavior It should not manage the BepInEx extension if it is disabled by the user.

Screenshots Preloader error: BepInEx Log Error

Currently working solution (this may be not the best one): doorstop_config

Platform (please complete the following information):