Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Two Point Hospital won't open when trying to debug through doorstop #108

Open
LintharC opened this issue Jan 25, 2023 · 0 comments
Open

Comments

@LintharC
Copy link

When I try to launch Two Point Hospital (newest version, Steam, all DLCs) with --doorstop-mono-debug-enabled true as per https://wiki.nexusmods.com/index.php/How_to_debug_mod_(UMM) the game won't open, it basically crashes right off the bat and the game crash logs don't have any info I know how to deal with, such as "No mono DLL path set. This app is either running IL2CPP, or the crash occurred before mono was initialized." or "Attempt to access invalid address."

I've got UMM 0.25.4.0 installed through DoorstopProxy, the game works fine when I have it installed through Assembly or when I have the Steam launch options set with that commandline mentioned above, but it crashes when both doorstop and command are present.
I've tried both debugging and attaching to the process through dnSpy v6.1.8 in every possible way, by opening both the .dll file and .dll.randomNumber.cache file, and no breakpoints are being hit. Debugging by Unity Connect throws "No connection could be made because the target machine actively refused it." even despite trying to turn firewall and defender off.

I have VS2022 with Unity plugins and VS2019 with .NET 4.5 installed. Attaching the game crash dump below.
Crash_2023-01-24_234054277.zip

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant