Alpine-OTC046PhoneFix icon

OTC046PhoneFix

Fixes OverTheCounter 2.0.10 phone Contacts and overlay issues on Schedule I v0.4.6 IL2CPP.

By Alpine
Last updated 18 hours ago
Total downloads 37
Total rating 0 
Categories Mods Tools Misc IL2CPP
Dependency string Alpine-OTC046PhoneFix-1.0.4
Dependants 0 other packages depend on this package

This mod requires the following mods to function

LavaGang-MelonLoader-0.7.3 icon
LavaGang-MelonLoader

The World's First Universal Mod Loader for Unity Games compatible with both Il2Cpp and Mono

Preferred version: 0.7.3
hdlmrell-OverTheCounter-2.0.10 icon
hdlmrell-OverTheCounter

Build your dream dispensary empire with the OverTheCounter mod! Design fully custom storefronts, hire budtenders for autonomous checkouts, and watch live customer NPCs walk in to consult and buy. Manage it all seamlessly from an in-game phone app!

Preferred version: 2.0.10

README

OTC 0.4.6 Phone Fix - IL2CPP

An unofficial compatibility patch for OverTheCounter 2.0.10 running on Schedule I v0.4.6 IL2CPP.

What It Fixes

  • Contacts App Failing to Open: Clicking the Contacts icon on the in-game phone failed to open the Contacts app.
  • Persistent Contacts Overlay: The customer relationship tree remained visible on screen and blocked other phone apps such as Messages and Products.
  • Broken App Switching: Resolved app container state stranding when switching between Contacts, Messages, and Products.

Cause

OverTheCounter 2.0.10 includes an IL2CPP compatibility patch (ContactsAppFix.SetOpen_EnsureExitListener) that targets an internal Exit method signature (App<T>.Exit(ExitAction)). In Schedule I v0.4.6 IL2CPP, this internal signature changed, causing a System.MissingMethodException whenever the phone's SetOpen method executed.

This exception aborted SetOpen(true) before the Contacts app could open, while leaving the Contacts UI container stranded over other active phone screens.

What This Patch Does

  1. Unpatches Obsolete Exit Prefix: Safely removes OTC's SetOpen_EnsureExitListener prefix during initialization while keeping all unrelated OverTheCounter patches active and intact.
  2. Enforces Invariant Container State:
    • When Contacts is closed (SetOpen(false)), ensures the Contacts UI container is deactivated so it never blocks Messages or Products.
    • When Contacts is opened (SetOpen(true)), ensures the Contacts UI container is active so the customer relationship tree opens and renders cleanly.

Requirements

  • Schedule I: Current stable build v0.4.6 (v0.4.6f11) IL2CPP branch
  • MelonLoader: 0.7.3
  • OverTheCounter: 2.0.10

Note: This patch targets the IL2CPP build only. The legacy Mono/Steam alternate branch is not supported.

Installation

Mod Manager (Vortex / Thunderstore Mod Manager)

Install the downloaded archive directly through your mod manager. Ensure OverTheCounter 2.0.10 and MelonLoader 0.7.3 are installed and enabled.

Manual Installation

  1. Download OTC046PhoneFix_v1.0.2_IL2CPP_Nexus.zip or OTC046PhoneFix-1.0.2-Thunderstore.zip.
  2. Extract the archive into your main Schedule I game directory so that OTC046PhoneFix.dll sits inside your Mods folder:
    Schedule I\
      Mods\
        OTC046PhoneFix.dll
    
  3. Launch the game via MelonLoader.

Multiplayer

OTC046PhoneFix handles local phone UI rendering and event execution. For co-op sessions where multiple players use OverTheCounter, every player running OverTheCounter should install OTC046PhoneFix to ensure consistent phone UI behavior.

Uninstallation

To remove the patch, delete OTC046PhoneFix.dll from your Schedule I\Mods\ folder:

Schedule I\Mods\OTC046PhoneFix.dll

No save file modifications are made by this mod.

Compatibility

Designed specifically for OverTheCounter 2.0.10 on Schedule I v0.4.6 IL2CPP.

If OverTheCounter receives an official update that resolves this issue for Schedule I v0.4.6+, remove OTC046PhoneFix.dll before installing the official update.

Troubleshooting

If Contacts still experiences issues:

  1. Verify you are running Schedule I v0.4.6 IL2CPP (check bottom corner of title screen).
  2. Confirm OTC046PhoneFix.dll is present in Schedule I\Mods\.
  3. Check Schedule I\MelonLoader\Logs\Latest.log to confirm OTC046PhoneFix initialized cleanly and logged:
    UNPATCHED obsolete OTC prefix: OverTheCounter.Patches.ContactsAppFix.SetOpen_EnsureExitListener
    

When posting logs for support, please review and redact any personal directory paths.

Credits

  • hdlmrell for OverTheCounter.
  • This is an unofficial community compatibility fix and is not affiliated with or endorsed by the author of OverTheCounter.

License

Distributed under the Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International (CC BY-NC-SA 4.0) license.