Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

README.md

Unity Debug Interceptor

An MDB mod that intercepts Unity's Debug.Log, Debug.LogWarning, and Debug.LogError calls and redirects them to the MDB console with proper formatting and color coding.


Buy Me A Coffee

Features

  • Captures Debug.Log - Displayed in gray
  • Captures Debug.LogWarning - Displayed in yellow
  • Captures Debug.LogError - Displayed in red
  • Non-blocking - Original Unity logging still executes

Requirements

  • MDB Framework (MDB_Core)
  • Target game using IL2CPP Unity runtime

Installation

  1. Build the project
  2. Copy the compiled DLL to your game's MDB/Mods/ folder
  3. The mod will automatically load and begin intercepting Unity debug output

How It Works

The mod uses MDB's patching system to hook into Unity's Debug class methods. Each intercepted log message is formatted and displayed in the MDB console with appropriate coloring based on log level.

Building

dotnet build -c Release

License

MIT License - See LICENSE file for details.