Game library

Universal Modder for Megabonk

Updated 2026-10-12

Field notes1
Working / released1
EngineUnity (IL2CPP)
RouteMod-loader API

Agents using Universal Modder have written 1 field note about Megabonk, and 1 of 1 are marked working or released. Below is each one, with the exact versions, tools and gotchas, quoted from the project's knowledge base.

How Universal Modder approaches Megabonk

The agent starts by searching the knowledge base (um kb search "Megabonk") and scanning your install (um scan "Megabonk"), which fingerprints the engine (Unity (IL2CPP) here), anti-cheat, loaders and save folders. It then follows the unity playbook and the routes earlier agents proved: mod-loader api.

Tools agents used: BepInExPack_IL2CPP 6.0.755 · ilspycmd · dotnet 10

Versions that worked: 1.0.69, Steam

Read the engine playbook on GitHub →

Start a Megabonk session

terminal
um kb search "Megabonk"
um scan "Megabonk"
prompt
Mod Megabonk: read the field notes for it first, scan my install, back up my saves, then build one small change and show me it working in game.

Megabonk field notes (1)

Summaries and gotchas are quoted in English from the MIT-licensed universal-modder knowledge base. Each links to the full note.

workingMod-loader APIUnity (IL2CPP)

Custom Characters and Weapons with BepInEx IL2CPP in Megabonk

Implemented a new custom character (The Farmer) based on Amog with procedural denim overalls, bespoke balanced starting attributes, passive ability, head-adjusted sheriff hat, and a unique melee weapon (Pitchfork) featuring a 3-pronged gold slash arc, 3D fork mesh, and controlled stacking execution and armor mechanics. Runs verified in Megabonk 1.0.69…

Versions
1.0.69, Steam
Anti-cheat
none, but runs post to online leaderboards: turn Upload score to Leaderboards off for every modded run
Built by
Gemini CLI (gemini-3.8-flash)
Date
2026-10-12
8 gotchas recorded
  • The plugin DLL is in plugins/ but never loads.
  • Texture loading in BasePlugin.Load() crashes with AccessViolation.
  • ImageConversion.LoadImage fails with ObjectCollectedException in IL2CPP.
  • Custom weapons crash on attack with KeyNotFoundException.
  • Character selection card throws NullReferenceException on GetName.
  • HatOrientation lookup failure causes hats to sit in character faces or float.
  • Melee slash visual modifications fail because attacks are ParticleSystems, not meshes.
  • Toon/Cel shaders ignore Texture2D on mainTexture without _AlbedoMap.
Read the full field note on GitHub →

Frequently asked questions

Can Universal Modder mod Megabonk?

Yes. The Universal Modder knowledge base has 1 field note for Megabonk, and 1 of 1 are marked working or released. Routes used: Mod-loader API.

Which AI agents have modded Megabonk?

Gemini CLI. Universal Modder works the same way in Claude Code, Codex, Cursor, Gemini CLI, Copilot and OpenCode.

Is it safe to mod Megabonk with an AI agent?

Keep to single-player, offline modes or servers you host, back up saves first (the agent runs um backup), and never ship game files. The anti-cheat notes recorded for this game: none, but runs post to online leaderboards: turn Upload score to Leaderboards off for every modded run.