Repository navigation
Description
Environment
- Game: Inscryption, Steam, buildid 8988081 (2022-06-22), Unity 2019.4.24f1, 64-bit Mono
- BepInEx 5.4.2306 (5.4.23.6) + MonoMod Loader 1.0.0 + InscryptionAPI 2.24.1
- OS: Windows, RTX 5060, no Device Guard / HVCI, no process mitigation restrictions
- Game files verified: deleted Assembly-CSharp.dll, Steam redownloaded it, SHA256 identical (D4C1559159F7A9F31011BD3EFE2D93C95F57294FDF3EFCF496D438D65F2B152A)
- Mod files verified: all Thunderstore zips pass CRC; extracted dll CRCs match zip entries
Symptom
All plugins load and every .cfg is generated (Awake runs), but no mod content appears in game. Kaycee's Mod shows only the vanilla 8 starter decks / 16 challenges. Probe output:
Awake : called
OnEnable : called
Start : NEVER called
Update : NEVER called
OnApplicationQuit : called
OnDestroy : called
The plugin GameObject is created and destroyed but never enters Unity's BehaviourManager (Start/Update are queued; Awake/OnEnable are synchronous from AddComponent; OnDestroy/Quit come from the destruction path).
Key evidence
1. Harmony patches registered but never fire
PATCHINFO DiskCardGame.AscensionMenuScreens::Start postfixes=2
postfix owner=cyantist.inscryption.api method=AscensionChallengeScreenPatches::AddPaginatorSetupifierToMenuScreens
PATCH OK Time.get_deltaTime patched, postfixes=1
At exit:
LIFECYCLE OnApplicationQuit startCalls=0 updateCalls=0 onBeforeRender=0 onPreCull=0 deltaTimeCalls=0
deltaTimeCalls=0 is decisive: the game calls Time.deltaTime every frame, yet the patched get_deltaTime postfix never fires. The native detour layer is not working.
2. 1344 Mono P/Invoke fallback errors, only with BepInEx
Fallback handler could not load library .../Inscryption_Data/Mono/data-XXXX.dll
With BepInEx injected : 1344
winhttp.dll renamed away (vanilla) : 0
entrypoint = Assembly-CSharp.dll (no injection) : 0
Introduced by BepInEx injection. Inscryption_Data/Mono does not exist (only MonoBleedingEdge), so these are doomed lookups, but 1344 correlates with detour failure (Harmony uses VirtualProtect via P/Invoke).
3. Data layer is fine
ChallengeManager.AllChallenges = 36 (vanilla 16 + mod 20)
StarterDeckManager.AllDecks = 9
AscensionSaveData.Data.activeChallenges = 0
Already tried (all no effect)
Clean reinstall + 13-package whitelist; EnableAssemblyCache=false + wiped cache; deleted 141 KB ModdedSaveFile (rebuilt 18727 B); HarmonyBackend=cecil; HideManagerGameObject=true; BepInEx core downgraded to 5.4.23.5; minimal plugin set (API+Lobotomy); full Windows reboot; LogLevels=All; GamepassSilencio entrypoint (Assembly=Assembly-CSharp.dll, Type=SceneLoader, Method=.cctor) -> no injection on Steam; Type=LoadingScreenManager/Method=Start -> no injection.
Why GamepassSilencio doesn't transfer to Steam
Cecil scan of Assembly-CSharp.dll:
- SceneLoader exists but base type is Object; no .cctor, no Start, no Awake. GamepassSilencio relies on .cctor.
- Only two types have .cctor: GBC.StarterDecks, DiskCardGame.SceneryData. Neither runs at startup.
- Types with Start: DiskCardGame.LoadingScreenManager, DiskCardGame.GameFlowManager. Using them as entrypoint -> doorstop cannot find hook -> no injection.
Question
- Is there an equivalent entrypoint type for the Steam build that puts the BepInEx manager GameObject into Unity's update loop? What should [Preloader.Entrypoint] Assembly/Type/Method be on Steam V1.10?
- Has anyone seen Harmony GetPatchInfo reporting patches while get_deltaTime postfix never fires on Inscryption? Is the 1344-fallback correlation known? Can doorstop be made to stop breaking Mono's P/Invoke resolution?
- It worked once earlier today (16:12): mod challenges and pagination arrows appeared, then never again. Any known nondeterministic/JIT-ordering factor for a one-off success?
LogOutput.log (key lines, 52 of 178)
[Message: BepInEx] BepInEx 5.4.23.6 - Inscryption (2026/10/3 0:41:36)
[Message: BepInEx] Preloader started
[Info : BepInEx] Loaded 1 patcher method from [BepInEx.Preloader 5.4.23.6]
[Info : BepInEx] Loaded 1 patcher method from [BepInEx.MonoMod.Loader 1.0.0.0]
[Info : BepInEx] Patching [UnityEngine.CoreModule] with [BepInEx.Chainloader]
[Info : MonoMod] Collecting target assemblies from mods
[Info : BepInEx] Patching [Assembly-CSharp] with [BepInEx.MonoMod.Loader.Patcher]
[Message: MonoMod] [Main] Scanning for mods in directory.
[Message: MonoMod] [ReadMod] Loading mod dir: E:\s\steamapps\common\Inscryption\BepInEx\monomod
[Message: MonoMod] [ReadMod] Loading mod: E:\s\steamapps\common\Inscryption\BepInEx\monomod\Assembly-CSharp.APIPatcher.mm.dll
[Message: MonoMod] [Main] Found 1 mods
[Message: MonoMod] [Main] mm.PatchRefs(); fixup pre-pass
[Message: MonoMod] [Main] mm.AutoPatch();
[Message: MonoMod] [AutoPatch] Parsing rules in loaded mods
[Message: MonoMod] [AutoPatch] PrePatch pass
[Message: MonoMod] [AutoPatch] Patch pass
[Message: MonoMod] [AutoPatch] PatchRefs pass
[Message: MonoMod] [PostProcessor] PostProcessor pass #1
[Message: MonoMod] [Main] Done.
[Message: BepInEx] Preloader finished
[Message: BepInEx] Chainloader ready
[Message: BepInEx] Chainloader started
[Info : BepInEx] Loading [InscryptionAPI 2.24.1]
[Info : BepInEx] Loading [Bitty45's Sigils 2.1.1]
[Warning: Singleton] Got null in Singleton<DiskCardGame.BoardManager>.FindInstance
[Info : BepInEx] Loading [Bitty's Challenges 6.1.1]
[Info : BepInEx] Loading [UnityExplorer 4.8.2]
[Info : BepInEx] Loading [InscryptionCommunityPatch 2.24.0]
[Info : BepInEx] Loading [Extended Maps KCM 1.0.0]
[Info : BepInEx] Loading [SimplifiedChineseLanguagePack 1.7.7]
[Warning: Unity Log] Ability None ?????info?????
[Warning: Unity Log] Ability SteelTrap ?????info?????
[Warning: Unity Log] Ability SquirrelOrbit ?????info?????
[Warning: Unity Log] Ability DropRubyOnDeath ?????info?????
[Warning: Unity Log] Ability GemsDraw ?????info?????
[Warning: Unity Log] Ability Sentry ?????info?????
[Warning: Unity Log] Ability DoubleDeath ?????info?????
[Warning: Unity Log] Ability ActivatedRandomPowerBone ?????info?????
[Warning: Unity Log] Ability SubmergeSquid ?????info?????
[Warning: Unity Log] Ability BloodGuzzler ?????info?????
[Warning: Unity Log] Ability NUM_ABILITIES ?????info?????
[Error : BepInEx] Could not load [P03KCMRareCardLabelFix 1.1.0] because it has missing dependencies: zorro.inscryption.infiniscryption.p03kayceerun
[Info : BepInEx] Loading [Onion QOL 0.1.2]
[Info : BepInEx] Loading [New Infiniscryption Spells 1.2.4]
[Info : BepInEx] Loading [Abnormal Sigils 1.1.3]
[Info : BepInEx] Loading [Infiniscryption Pack Manager 1.0]
[Info : BepInEx] Loading [Achievements Plugin 1.0]
[Warning:Achievements Plugin] Could not find a definition for achievement NUM_ACHIEVEMENTS
[Info : BepInEx] Loading [WhistleWind Lobotomy Mod 2.1.2]
[Info : BepInEx] Loading [Infiniscryption Curses 0.1]
[Message: BepInEx] Chainloader startup complete
[Warning: Singleton] Got null in Singleton<DiskCardGame.UIManager>.FindInstance
LifeProbe.log (41 lines)
?[23:01:29.088] ====== LifeProbe start, pid=11880
[23:01:29.090] SELF/Awake go=BepInEx_Manager | id=-84 | activeSelf=True | activeInHierarchy=True | enabled=True | isActiveAndEnabled=True | hideFlags=None | scene.valid=True | scene.name='DontDestroyOnLoad' | scene.isLoaded=True | scene.buildIndex=-1 | rootCount=4 | componentsOnGo=8 | timeScale=1 | frame=0 | isPlaying=True
[23:01:29.090] SCENES/Awake [0]'Start' loaded=False roots=0; | active='Start'
[23:01:29.092] HOOK Application.onBeforeRender registered
[23:01:29.092] HOOK Camera.onPreCull registered
[23:01:29.092] HOOK SceneManager.sceneLoaded registered
[23:01:29.092] HOOK Application.logMessageReceived registered
[23:01:29.093] HOOK background heartbeat thread started
[23:01:29.093] PATCH ????? = Assembly-CSharp, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null / loc=E:\s\steamapps\common\Inscryption\Inscryption_Data\Managed\Assembly-CSharp.dll
[23:01:29.099] PATCH OK DiskCardGame.AscensionMenuScreens::Awake
[23:01:29.102] PATCH OK DiskCardGame.AscensionMenuScreens::Start
[23:01:29.107] PATCH OK DiskCardGame.AscensionMenuScreens::TransitionToGame
[23:01:29.112] PATCH OK DiskCardGame.AscensionChallengeScreen::Start
[23:01:29.117] PATCH OK DiskCardGame.AscensionChallengeScreen::OnEnable
[23:01:29.121] PATCH OK DiskCardGame.AscensionChooseStarterDeckScreen::Start
[23:01:29.126] PATCH OK DiskCardGame.AscensionChooseStarterDeckScreen::OnEnable
[23:01:29.131] PATCH OK DiskCardGame.AscensionCardsSummaryScreen::Start
[23:01:29.143] PATCH OK InscryptionAPI.Ascension.StarterDeckPaginator::OnEnable (?? postfix ?=1)
[23:01:29.160] PATCH OK InscryptionAPI.Ascension.AscensionChallengePaginator::OnEnable (?? postfix ?=1)
[23:01:29.171] PATCH OK InscryptionAPI.Ascension.AscensionChallengePaginator::InstantiateArrowObjects (?? postfix ?=1)
[23:01:29.179] PATCH Time.get_deltaTime patched, postfixes=1
[23:01:29.179] PATCHINFO DiskCardGame.AscensionMenuScreens::Start prefixes=0 postfixes=2 transpilers=0 finalizers=0
[23:01:29.179] PATCHINFO postfix owner=cyantist.inscryption.api method=AscensionChallengeScreenPatches::AddPaginatorSetupifierToMenuScreens
[23:01:29.179] PATCHINFO postfix owner=local.lifeprobe.harmony method=LifeProbePlugin::Postfix
[23:01:29.179] PATCHINFO DiskCardGame.AscensionChallengeScreen::OnEnable prefixes=0 postfixes=1 transpilers=0 finalizers=0
[23:01:29.179] PATCHINFO postfix owner=local.lifeprobe.harmony method=LifeProbePlugin::Postfix
[23:01:29.180] SELF/OnEnable go=BepInEx_Manager | id=-84 | activeSelf=True | activeInHierarchy=True | enabled=True | isActiveAndEnabled=True | hideFlags=None | scene.valid=True | scene.name='DontDestroyOnLoad' | scene.isLoaded=True | scene.buildIndex=-1 | rootCount=4 | componentsOnGo=8 | timeScale=1 | frame=0 | isPlaying=True
[23:01:31.095] THREAD alive t=2s managedFrameSnapshot=0 onBeforeRender=0 onPreCull=0
[23:01:33.099] THREAD alive t=4s managedFrameSnapshot=0 onBeforeRender=0 onPreCull=0
[23:01:35.108] THREAD alive t=6s managedFrameSnapshot=0 onBeforeRender=0 onPreCull=0
[23:01:37.118] THREAD alive t=8s managedFrameSnapshot=0 onBeforeRender=0 onPreCull=0
[23:01:39.132] THREAD alive t=10s managedFrameSnapshot=0 onBeforeRender=0 onPreCull=0
[23:01:41.135] THREAD alive t=12s managedFrameSnapshot=0 onBeforeRender=0 onPreCull=0
[23:01:43.141] THREAD alive t=14s managedFrameSnapshot=0 onBeforeRender=0 onPreCull=0
[23:01:45.142] THREAD alive t=16s managedFrameSnapshot=0 onBeforeRender=0 onPreCull=0
[23:01:45.424] SCENE sceneLoaded 'Start' mode=2 frame=0
[23:01:45.424] SCENES/afterLoad:Start [0]'Start' loaded=True roots=5; | active='Start'
[23:01:45.456] LIFECYCLE OnApplicationQuit startCalls=0 updateCalls=0 onBeforeRender=0 onPreCull=0 deltaTimeCalls=0
[23:01:47.143] THREAD alive t=18s managedFrameSnapshot=0 onBeforeRender=0 onPreCull=0
[23:01:47.313] LIFECYCLE OnDisable, enabled=True
[23:01:47.753] LIFECYCLE OnDestroy
Player.log (key lines, 2 of 51 non-fallback)
[Debug :Achievements Plugin] Scene loaded Start. Initializing achievement popup handler
[Info :Achievements Plugin] System.NullReferenceException: Object reference not set to an instance of an object
Activity
Chaosyr commentedon Nov 21, 2026
Chaosyr commentedon Nov 21, 2026
is how the config is meant to look in that area to be clear.
ffcc114514 commentedon Nov 21, 2026
Confirmed - my
[Preloader.Entrypoint]block is exactly that (Assembly = UnityEngine.CoreModule.dll / Type = Application / Method = .cctor). I restored it after the diagnostic test. So the config is not the issue.Here is the problem reduced to one line:
A patched
Time.get_deltaTimepostfix haspostfixes=1inGetPatchInfo, but after a full rundeltaTimeCalls=0.Time.deltaTimeis read by the game every frame. If the detour were installed and working, that counter could not be 0. So the patch is registered but the native detour is never actually installed/executed.Same for every other target I hooked (
AscensionMenuScreens::Start,AscensionChallengeScreen::OnEnable,AscensionChooseStarterDeckScreen::Start/OnEnable,AscensionCardsSummaryScreen::Start): all reportPATCH OK, none ever fire.And plugin GameObjects get
Awake+OnEnablebut neverStartorUpdate- consistent with the manager object never entering Unity's BehaviourManager.Supporting fact: with BepInEx injected there are 1344
Fallback handler could not load library .../Inscryption_Data/Mono/data-XXXX.dll; withwinhttp.dllrenamed away it is 0.Also worth knowing: the BepInExPack ships
version.dllas x64 whilewinhttp.dllis x86 (verified with PE headers: game exe and UnityPlayer.dll are both PE32/x86). I removed the 64-bitversion.dll; issue unchanged.So my questions are:
HarmonyBackendneeding a specific value?)Note:
HarmonyBackend = autocurrently; I also triedcecilwith no change.Chaosyr commentedon Nov 21, 2026
I have tested the BIE pack thoroughly both times I've had it updated, I'll forward the issues to whistle who might be able to figure out deeper as to where the issue derives. Honestly, this is the first time I've seen something like this, so im not of much help, if we get a fix it'll be apart of #339.
HumabHatterZed commentedon Nov 21, 2026
I'd recommend re-installing BepInEx if you haven't already. I haven't heard of anything like this occurring before with Steam, so it's possible the loader state was poisoned as you said. I'd also suggest, until the issue is resolved, disabling most of the mods you have except the API and maybe one content mod just to eliminate any potential problem sources.
ffcc114514 commentedon Nov 21, 2026
Did the full clean reinstall + minimal set (only API + Lobotomy), and got a useful signal.
A. Fully wiped BepInEx (deleted the whole tree), then extracted the BepInExPack zip exactly as shipped (no cherry-picking files), then installed only:
B. Result was identical - plugins load,
Start/Updatenever fire, no mod content. So loader state poisoning is ruled out (and thanks for the suggestion).C. The interesting part: the fallback count scales with the number of patchers.
Installing just
BepInEx/patchers/MonoMod.dll+BepInEx.MonoMod.Loader.dlladds ~1100 fallback errors. That component is exactly what appliesAssembly-CSharp.APIPatcher.mm.dll, and it is also the component whose result is "patches registered but detours never fire".So it looks like MonoMod Loader's patch pass on this 32-bit
Assembly-CSharptriggers a large number of P/Invoke resolution failures, and the detour layer never becomes functional afterwards.Question: is that expected on the x86 build? Does the API require a specific MonoMod Loader version (or a MonoMod version) other than 1.0.0 that behaves correctly on x86? Or is there a way to make MonoMod resolve these
data-*.dlllookups without hammering P/Invoke (e.g. a config, or shipping the missingInscryption_Data/Monodir)?Happy to run any further probe - I can produce before/after logs for each patcher count on demand.
HumabHatterZed commentedon Nov 21, 2026
Not aware of any specific monomod version that's needed, other than the one that's downloadable on Thunderstore. Not aware of monomod causing resolution failures, but I've never probed it. You mentioned having cherry-picked the files initially makes me curious about your current files. I assume you have both the BepInEx folder and all its sub-stuff as well as the doorstop_libs that come with the BepInEx install. In regards to the doorstop_libs folder, there is an x86 and x64 version of its files so maybe that's something to look into? I admit I'm grasping at straws here; this is not my area of expertise.
Miscellaneous thing I want to confirm: when you run Inscryption, the console pops up and stays up right? I've found that running Inscryption before opening Steam causes it to only load vanilla (not what you're experiencing but I just want to mention it).
ffcc114514 commentedon Nov 22, 2026
Two answers to your questions.
1) The console does pop up and stays up.
Both windows are present, the game process stays alive and responsive.
2)
doorstop_libscontains only Linux/macOS files, so it cannot matter on Windows.There is no Windows
.dllin that folder - on Windows, Doorstop is thewinhttp.dll(orversion.dll) in the game root. So that lead is a dead end, no need to spend time on it.3) But while checking, I confirmed the 32/64-bit mismatch you were hinting at:
So the BepInExPack ships a 64-bit
version.dllnext to a 32-bit game. A 32-bit process cannot load it. I removed it (onlywinhttp.dllremains), and the symptom is unchanged - so it is not the trigger, but it does look like a packaging bug in the pack itself, and it means anyone who happens to loadversion.dllinstead ofwinhttp.dllgets a broken Doorstop silently.Current state after the clean reinstall: 4 plugins (API + Lobotomy + Abnormal Sigils + Spell Toolkit), console up, game runs, but
Start/Updatestill never fire and no mod content.If it helps, I can dump the full directory listing of the game root + BepInEx tree so you can diff it against a known-good install.
Chaosyr commentedon Nov 22, 2026
Yeah no, its fine to have both
version.dllandwinhttp.dll, that's why both are included, don't worry about it. Windows already handles choosing the correct one, I already verified this with arrowmaster when I was setting up5.4.23.05's pack.Chaosyr commentedon Nov 22, 2026
Also this is legitly clarified on the Thunderstore package lol: https://thunderstore.io/c/inscryption/p/BepInEx/BepInExPack_Inscryption/
Chaosyr commentedon Nov 22, 2026
Should also ask, are you using a Mod Manager or Manual install? If you haven't already done so, try a Mod Manager. ^^
Chaosyr commentedon Nov 22, 2026
Also, if you can try this version, we've made a couple dozen changes over the last 2 months, wonder if something in that woulda helped
https://nightly.link/InscryptionModding/InscryptionAPI/actions/artifacts/14675251954.zip
ffcc114514 commentedon Nov 22, 2026
Two more data points, both negative - but they narrow it down a lot.
1) Nightly 2.24.2: identical behaviour.
I swapped the API in the profile for the artifact you linked (manifest confirms
version_number: 2.24.2, InscryptionAPI.dll 8155.5 KB vs 8071.7 KB for 2.24.1):Whatever changed in the last 2 months did not affect this.
2) Gale Mod Manager: installed, and the launch path splits into two different behaviours.
Gale 1.24.0 installed, Inscryption profile created, and these installed through Gale:
Gale's own launch button does NOT inject BepInEx at all. Its log:
The game starts and runs, but Player.log contains zero BepInEx/Doorstop lines - it is vanilla.
But running
Inscryption.exedirectly, withdoorstop_config.ini'starget_assemblypointed at the Gale profile, DOES inject:...though
deltaTimeCallsis still 0 after that.So this rules out:
What remains: Harmony's detour never applies on this machine, and separately Doorstop only engages when the exe is started directly rather than through Steam's
-applaunch.One question: is
steam.exe -applaunch <appid> --doorstop-enabled --doorstop-target-assemblyexpected to work for Steam Inscryption? If yes, then that is a second, independent problem on this machine and I'll dig into whywinhttp.dllis not being picked up on that path.HumabHatterZed commentedon Nov 22, 2026
I would assume so, but I haven't verified it myself.
In case you haven't looked already, this lists some common BepInEx issues and possible solutions to try. If that's unhelpful, feel free to dump the directory listing and I'll see how it compares to my system.
ffcc114514 commentedon Nov 22, 2026
Here's the full picture. Current state: running from a Gale-managed profile, with
doorstop_config.iniin the game root pointing at it. BepInEx injects and Lobotomy loads, but Harmony detours still never fire.Key observation up front:
version.dllis x64 (26624 B) whilewinhttp.dllis x86 (22528 B) and the game is x86. You said both being present is fine because Windows picks the loadable one - but if Doorstop's entry point is actuallyversion.dllon this path, it would explain thesteam.exe -applaunchcase not injecting at all.Things that might differ from your setup:
version.dllx64 vswinhttp.dllx86 in the same folderBepInEx/monomod/contains three dlls plus anAPI_dev-API/subfolder with a second copy of the patcher - that subfolder is probably wrong, should I remove it?doorstop_config.inihas an absolutetarget_assemblypath pointing into AppData (I did that to force it to load the Gale profile; the Gale original uses a relativeBepInEx\core\BepInEx.Preloader.dll)0Harmony.dllinBepInEx/coreis 204800 B (HarmonyX 2.9.0)If anything looks different from your working install, that would be the most useful lead.
HumabHatterZed commentedon Nov 22, 2026
You only need
Assembly-CSharp.APIPatcher.mm.dllin the monomods/ folder; the duplicate API and community patch files can be removed.Another difference I see is the doorstop_libs doesn't have the .dylib file for x64 and x86; just the universal. May mean nothing but I'll bring it up anyways.
If you haven't already, try renaming winhttp to version and see if that fixes anything (taken from the BepInEx troubleshooting page). I don't know if that'd do anything different than deleting the x64 version.dll, but no harm in trying.
HumabHatterZed commentedon Nov 22, 2026
Also the duplicate APIPatcher file can be removed as well; to clarify, there should only be one file in monomods/.
Chaosyr commentedon Nov 22, 2026
BIE devs made mac use the same doorstop dylib, so it doesnt matter here ^^
ffcc114514 commentedon Nov 22, 2026
Applied all three suggestions. One of them produced a real change.
1) monomod/ now contains only the patcher
Removed the duplicate InscryptionAPI.dll and InscryptionCommunityPatch.dll.
2) Copied winhttp.dll over version.dll so both are the same x86 binary
Before: version.dll 26624 B x64, winhttp.dll 22528 B x86
After: both 22528 B x86
3) doorstop_libs - understood, dropping that lead, thanks.
Result: the fallback storm is gone.
So an x86 Doorstop entry point removed all 1353 of them. That was the direct trigger.
But the main symptom is unchanged:
InscryptionAPI 2.24.2+InscryptionCommunityPatch 2.24.2+New Infiniscryption Spells 1.2.4+Abnormal Sigils 1.1.3+WhistleWind Lobotomy Mod 2.1.2all load and report init successInserted N dialogue event(s)still never appears, withLogLevels = Allon both[Logging]and[Logging.Disk]So the fallback storm and the dead detour are two separate problems. Fixing the fallbacks did not fix the detours.
New question: with zero P/Invoke failures now, and
Supports SRE: False, HarmonyX must fall back to MonoMod RuntimeDetour (BepInEx/core/MonoMod.RuntimeDetour.dll, x86, 105984 B). Is there any known case where that silently no-ops on a 32-bit Mono without reporting an error? Is there any diagnostic flag I can turn on in MonoMod to see it attempt (and fail) to install a detour?HumabHatterZed commentedon Nov 22, 2026
Once again, I'm unaware of any known cases of silent no-ops. As far as diagnostics go, the only thing I can suggest is setting the Harmony.Logger to show you everything, assuming you haven't set that already (I know you set standard logging and logging.disk, but didn't see you mention harmony). Whether that would provide any relevant information, I don't know. Going to futz around with my files and see if I can recreate your situation on my end.
HumabHatterZed commentedon Nov 22, 2026
There is a mono debugger server option in doorstop_config.ini, but I don't see one anywhere else.
ffcc114514 commentedon Nov 22, 2026
Enabled Harmony logging as you suggested (
[Harmony.Logger] LogChannels = Debug, Info, Warn, Error). The result is the strangest data point so far.Harmony reports complete success. Zero errors.
Sample:
So Harmony is not going through RuntimeDetour at all here - it uses ILHook (rewriting the IL body directly), and it reports writing the modifications.
But none of them execute. 899 successful ILHooks, 583 method bodies rewritten, zero errors, zero effect.
Also tried
HarmonyBackend = cecilplus deleting the wholeBepInEx/cachefolder - identical (899 ILHooks, 0 errors, still nothing in game).One correlation worth noting - the fallback count tracks the cache, not the backend:
Main symptom identical either way, so the fallbacks are unrelated to the detour problem.
My working theory: Mono JIT-compiles the affected
Assembly-CSharpmethods before Harmony's ILHooks land, and the rewritten IL never gets re-JITted. If that's what's happening - is there any way to force a re-JIT, or to make the patch land earlier? I know API doesHarmony.PatchAll()inOnEnable- is that too late on this runtime?Any insight would help, especially if you manage to reproduce it on your side.
HumabHatterZed commentedon Nov 22, 2026
Unsure if there's a way to force a re-JIT or make patches occur earlier (aside from messing with the preloader and - maybe - doorstop entrypoints). Since the patches are apparently being applied correctly, the patches being called in OnEnable shouldn't matter.
I've been unsuccessful in recreating your issue so far. Haven't played around with doorstop's target assembly since I do manual and I assume wouldn't have any significant effect. Outside a breakthrough on my end or trying every possible HarmonyBackend somehow working, I'd say try looking for help in the BepInEx discord or github (though we use an older BepInEx version) since this isn't an Inscryption API issue and my expertise on BepInEx is minimal.
You can try playing around with some of the BepInEx options like the chainloader or runtime patches, and I'll update you if I find anything else.