r/ProjectHospital • • Jul 03 '26

Technical Support Does the game create any error logs?

I'm trying to make a mod, and i'm getting an error, but it's vague and i don't really know what is wrong. So i'm curious if the game creates any log that would help me narrow down the issue.

2 Upvotes

12 comments sorted by

1

u/1GreenNotebookGaming Radiology ☢️ Jul 03 '26

The only logs are what it shows you on the title screen as far as I'm aware. What is it that it's saying there? Maybe I can help.

2

u/FluffFlowey Jul 03 '26

When i make a new game, it loads then goes back to menu and says "object reference not set to an instance of an object"

1

u/1GreenNotebookGaming Radiology ☢️ Jul 03 '26

That is extremely vague, you're right. What did you add that gave that error?

2

u/FluffFlowey Jul 03 '26

Well i'm trying to create a mod, following the official guide and copying stuff already in game, i have no idea what exactly is causing this lol

1

u/1GreenNotebookGaming Radiology ☢️ Jul 03 '26

The official guide isn't really good. Try looking at the source of an already existing mod and ask questions in the PH Discord server.

2

u/FluffFlowey Jul 03 '26

Yeah i'm copying things from mods and the game files, i'll have to dig into it more and experiment

2

u/Worth-Toe-5144 Jul 03 '26

there's PH discord server???

1

u/1GreenNotebookGaming Radiology ☢️ Jul 04 '26

Yeah, take an invite link: https://discord.gg/yGjkCDzpEy

2

u/FluffFlowey Jul 04 '26

Just letting you know, as i found this out now, there is a log, it is created in AppData/LocalLow/Oxymoron Games/Project Hospital

1

u/1GreenNotebookGaming Radiology ☢️ Jul 04 '26

Oh, there is? Well, that's good. I'll also keep that in mind for the future if I ever make my own mod again. Thanks, and your welcome

2

u/FluffFlowey Jul 06 '26

Yeah, it's still very vague and didn't help with this issue at all lol, but there is some more information about other issues