derekShaheen / SkToolbox-for-Valheim

Standalone SkToolbox for Valheim - Mod
https://www.nexusmods.com/valheim/mods/8
GNU General Public License v3.0
4 stars 8 forks source link

m_output does not exist #4

Closed joseph13d closed 6 months ago

joseph13d commented 1 year ago

Hi, I was looking into this and trying to figure out what's going on, and wanted to know a little more context on the project. https://github.com/derekShaheen/SkToolbox-for-Valheim/blob/8b0fc80527a1464a3bbae177d4146e4078f2a934/SkToolboxValheim/SkToolbox/SkModules/ModConsole.cs#L138

This is throwing an exception on startup due to Console.instance.m_output not existing, which bubbles up to https://github.com/derekShaheen/SkToolbox-for-Valheim/blob/8b0fc80527a1464a3bbae177d4146e4078f2a934/SkToolboxValheim/SkToolbox/SkModules/ModConsole.cs#L573

The exception in BepInEx: image

What is Console.instance, and which package does it come from? I don't see any initialization of Console.instance.m_output in the code.

I'm running this with denikson-BepInExPack_Valheim-5.4.2105.

SnarlingFox commented 1 year ago

Merge request #5 fixes this issue