diff --git a/BepInEx.Core/Bootstrap/TypeLoader.cs b/BepInEx.Core/Bootstrap/TypeLoader.cs index ce8ade8..62b7481 100644 --- a/BepInEx.Core/Bootstrap/TypeLoader.cs +++ b/BepInEx.Core/Bootstrap/TypeLoader.cs @@ -115,6 +115,8 @@ namespace BepInEx.Bootstrap var ass = AssemblyDefinition.ReadAssembly(dll, readerParameters); + Logger.LogDebug($"Examining '{dll}'"); + if (!assemblyFilter?.Invoke(ass) ?? false) { result[dll] = new List(); diff --git a/BepInEx.Preloader.Unity/UnityPreloader.cs b/BepInEx.Preloader.Unity/UnityPreloader.cs index 67a881e..bb848f4 100644 --- a/BepInEx.Preloader.Unity/UnityPreloader.cs +++ b/BepInEx.Preloader.Unity/UnityPreloader.cs @@ -84,6 +84,10 @@ namespace BepInEx.Preloader.Unity Log.LogInfo($"CLR runtime version: {Environment.Version}"); Log.LogInfo($"Supports SRE: {Utility.CLRSupportsDynamicAssemblies}"); + Log.LogDebug($"Game executable path: {Paths.ExecutablePath}"); + Log.LogDebug($"Unity Managed directory: {ManagedPath}"); + Log.LogDebug($"BepInEx root path: {Paths.BepInExRootPath}"); + if (harmonyBridgeException != null) Log.LogWarning($"Failed to enable fix for Harmony for .NET Standard API. Error message: {harmonyBridgeException.Message}");