homothetyhk / HollowKnight.ItemChanger

A Hollow Knight mod for editing and adding items
GNU Lesser General Public License v2.1
15 stars 12 forks source link

Error initializing #18

Closed ThelenAi closed 2 years ago

ThelenAi commented 2 years ago

Sorry if this is the wrong place or a simple error, but recently this mod has failed to initialize

[INFO]:[ItemChangerMod] - Hooking ItemChanger. [ERROR]:[ItemChangerMod] - Error initializing module RandomizerModule: [ERROR]:[ItemChangerMod] - System.NullReferenceException: Object reference not set to an instance of an object [ERROR]:[ItemChangerMod] - at RandomizerMod.IC.RandomizerModule.ToggleSceneHooks (System.Boolean toggle) [0x0000b] in C:\dev\RandomizerMod\RandomizerMod\IC\RandomizerModule.cs:93 [ERROR]:[ItemChangerMod] - at RandomizerMod.IC.RandomizerModule.Initialize () [0x00011] in C:\dev\RandomizerMod\RandomizerMod\IC\RandomizerModule.cs:33 [ERROR]:[ItemChangerMod] - at ItemChanger.Modules.Module.LoadOnce () [0x00008] in C:\dev\ItemChanger\ItemChanger\Modules\Module.cs:22 [ERROR]:[ItemChangerMod] - Error initializing module TrackerUpdate: [ERROR]:[ItemChangerMod] - System.NullReferenceException: Object reference not set to an instance of an object [ERROR]:[ItemChangerMod] - at RandomizerMod.IC.TrackerUpdate.Initialize () [0x00033] in C:\dev\RandomizerMod\RandomizerMod\IC\TrackerUpdate.cs:13 [ERROR]:[ItemChangerMod] - at ItemChanger.Modules.Module.LoadOnce () [0x00008] in C:\dev\ItemChanger\ItemChanger\Modules\Module.cs:22

This is the entry from the ModLog. I tried reinstalling IC and randomizer, as well as any other rando related mods, but this error persists. I do not know what is wrong. It appears as if it is active during the game but it does not function

Edit: added line breaks to log

ThelenAi commented 2 years ago

I think my save was corrupted, its working now on a new game