r/SupermarketTogether • u/JanisPlayer • 1h ago
I made a BepInEx 5 mod to fix high VRAM/RAM usage & OOM crashes (Steam Deck, Android/DroidDeck/Winlator, Low-VRAM PCs)
Even on the lowest in-game graphics settings, Supermarket Together can easily use 7–10 GB of VRAM/RAM because Unity loads full-resolution textures, mipmaps, URP shadow maps, and HDR render targets. On devices with shared or limited memory (like Steam Deck, Android via DroidDeck/Winlator, laptops with iGPUs, or 4–6 GB GPUs), this often causes loading-screen freezes, System out of memory! crashes, or Android LMK kills.
I built a lightweight BepInEx 5 plugin (SMT Low VRAM Patch) that enforces:
- Global texture mipmap limit (default 1/4 res, configurable)
- Unity texture mipmap streaming budget (default 512 MB)
- URP shadow, HDR, MSAA & post-processing reduction
Resources.UnloadUnusedAssets()+ GC cleanup on scene changes- Configurable FPS cap (unlocked by default; set a cap to save battery and reduce input lag) & VSync toggle
It's client-side only (multiplayer safe), open source (full C# source is included in the zip), and uses pure Unity APIs without native Harmony hooks so it doesn't crash under Proton/FEX emulation.
Link (Nexus Mods): https://www.nexusmods.com/supermarkettogether/mods/285
(On Steam Deck / Linux / Proton / DroidDeck, don't forget to set WINEDLLOVERRIDES="winhttp=n,b" %command% in Steam launch options.)