github BepInEx/BepInEx v5.2
BepInEx v5.2

latest releases: v5.4.22, v6.0.0-pre.1, v5.4.21...
3 years ago

This is a maintenance release to fix regressions in logging after v5.1 changes.

Changelog

  • Major change: Unity output logs are now redirected to game root folder by default whenever possible on Windows
    • NOTE: If you do not need this setting, set redirectOutputLog=false in doorstop_config.ini
  • Disk log is now opened with write access, allowing you to use external log aggregators (or simple tail) more easily
  • New config setting: [Preloader].HarmonyBackend
    • Allows to set which method generation backend to use for MonoMod. Allows to essentially debug methods patched with Harmony easily.
  • Added Console prefix for log messages that are generated to the console
    • NOTE: Use of Console.Write* methods is not recommended for logging! Use BepInEx logging capabilities instead.
  • Fixes
    • Fix preloader logger not respecting log levels set by [Logging.Console].LogLevels
    • Fix console crash on Unity 4 because of issues with Console.OutputEncoding
    • Fix console messages output with Console.Write* calls not being output to Unity log if BepInEx console was enabled
    • Fix BepInEx messages being duplicated in Unity log
    • Fix some errors happening in preloader not generating a preloader log
    • Fix regression where warning messages were not written by default
      • NOTE You should reset your LogLevels config options (or the whole config) if you are upgrading from 5.1
    • Fix certain crashing on Unity 3 and 4 games if they shipped with minimal Mono installation

Don't miss a new BepInEx release

NewReleases is sending notifications on new releases.