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. ^^
7 remaining items
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.
OnHyex commentedon Nov 22, 2026
Time.deltaTime is a property with the Attribute [MethodImpl(MethodImplOptions.InternalCall)], this means that the get method is a stub method implemented in the clr, unity mono not in il. Patching this method through harmony, monomod or other il manipultion based methods will not work.
ffcc114514 commentedon Nov 22, 2026
Good catch on
Time.deltaTimebeingInternalCall- that probe was invalid.deltaTimeCalls=0proves nothing and I'm dropping it as evidence. Thanks OnHyex.Correcting the record: the "899 ILHooks, zero effect" claim was built on that bad probe, so treat it as unverified rather than as proof that patching fails.
What still stands is independent of any patched method - it's about lifecycle dispatch:
.cfggets generated on first run, which meansAwakeexecutes (BepInEx writes config from the plugin's ConfigFile binding).Start()never runs. The strongest indicator:InscryptionAPIlogs "Inserted N dialogue event(s)!" as the last line of itsStart(), and that line never appears - even with[Logging]and[Logging.Disk]both atLogLevels = All.Update()never runs. Verified with a standalone mod that has no API dependency at all:Kopie-Freecam_modestarts a coroutine fromAwake(visible in the log asGLOBALMOD.Plugin+<Awake>d__8::MoveNext()) and detects its hotkey inUpdate. Pressing x then z in a 3D scene does nothing.Awake,OnEnable,OnDestroyandOnApplicationQuitall fire normally (verified by a probe that logs each of them).So the narrowed question is:
Why would Unity dispatch
Awake/OnEnableon injected plugin GameObjects, but never dispatchStart,Update, or coroutines - on this machine only?Context that may matter:
Supports SRE: FalseIf anyone has seen "Awake fires but Start never does" on a modern Windows build, that is exactly the lead I need.
Chaosyr commentedon Nov 22, 2026
Give this a try: BepInEx/BepInEx#1263
Additionally FreeCam by kopie isnt good to test with (outdated), try Unity Explorer. ^^
ffcc114514 commentedon Nov 22, 2026
Tried UnityExplorer 4.8.2 - the modern, maintained option you suggested.
Result: it initialises completely but its hotkey does nothing.
Config confirms
UnityExplorer Toggle = F7. Pressed F7 with the game focused (verified via GetForegroundWindow) - no panel appears.UnityExplorer reads that toggle in
Update, so this is the same class of failure as Freecam, but from a tool that is currently maintained.Also ruled out the #1263 theory. I disabled the BepInEx console (
[Logging.Console] Enabled = false, verified no console window appears) and re-tested - identical result. So it is not the console buffer flush.What is left, stated as narrowly as I can:
AwakeandOnEnableexecute on injected plugin GameObjects (configs get written; UnityExplorer finishes UniverseLib setup)Start,Updateand coroutines never executeOnDestroy/OnApplicationQuitexecute on shutdownThat is the whole picture. I do not have another probe idea that does not rely on a method Unity implements natively - if you have one, I will run it.
xADDBx commentedon Nov 22, 2026
I could be completely wrong; but BepInEx has a
HideManagerGameObjectconfig option. Setting this to true helped me fix a similar issue for another game in the past.Chaosyr commentedon Nov 22, 2026
might have a pinch of a lead: BepInEx/BepInEx#1393 which partly has to do with
HideManagerGameObjectas well. As mentioned by @xADDBx ^^ffcc114514 commentedon Nov 22, 2026
Closing this - solved, and it was my mistake, not the API's.
Root cause:
steam_appid.txtwas missing from the game directory.Inscryption is a Steamworks game. I was launching it via
Start-Process Inscryption.exeinstead of through Steam. Withoutsteam_appid.txtin the game folder, Steamworks fails to initialise and the process exits silently (exit 0) before ever entering the main loop.Measured with a probe on the plugin's own GameObject, A/B (only difference = the appid file):
Awake/OnEnablerun regardless because Unity dispatches them synchronously fromAddComponent.Start/Update/coroutines need the main loop. The game ran for zero frames - which produces exactly the "Awake fires, Start doesn't" pattern, and that is why it looked identical to #1393.Retractions - a lot of what I posted was noise
Time.deltaTimeargument was invalid (InternalCall, unpatchable). OnHyex was right, and the "899 ILHooks, zero effect" claim rested on it - both withdrawn.MonoBehaviour,SceneManager,Debug,SceneLoader,LoadingScreenManager), BepInEx 5.4.19 / 5.4.23.5 / 5.4.23.6, API 2.3.0 / 2.24.1 / 2.24.2 + nightly,HideManagerGameObject,HarmonyBackend = cecil, console disabled (#1263), cache cleared, and a full hash-verified Steam reinstall. None of it was relevant - the game never started.version.dllx64/x86 mismatch, thedoorstop_libsquestion - all unrelated.Type = MonoBehaviourreally does fail on Unity 2019 (UnityEngine.MonoBehaviourhas no.cctor- verified with Mono.Cecil), but that was answering a question that never needed asking.The lesson worth keeping
For anyone landing here from "plugins load but Start/Update never run":
Time.frameCountfrom a plugin'sAwake, or checkPlayer.logforGfxDevice: creating device client. IfframeCountis stuck at 0, the game is not running and nothing else matters.Get-Processhands back a handle even for a process that is about to exit.steam_appid.txtand how the game was launched before touching any BepInEx config.Sorry for the wasted attention - genuinely. And thanks to Chaosyr, HumabHatterZed, OnHyex and xADDBx for the patience.
HumabHatterZed commentedon Nov 22, 2026
No worries, just glad you managed to resolve it. Happy modding!
Chaosyr commentedon Nov 22, 2026
This⤴️