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

ModI18n + MicroTransformer = null Exception while loading mod asquared31415.MicroTransformer #2

Open
blockspacer opened this issue Jul 17, 2022 · 0 comments

Comments

@blockspacer
Copy link

blockspacer commented Jul 17, 2022

[11:15:16.354] [1] [INFO] ModI18n's assembly declared the method ModI18n.Utils:LoadStringsWithPrefix in the stack trace, adding to referenced mods list
[DebugConsole][1]: Error[Error]: Exception while loading mod asquared31415.MicroTransformer at C:/Users/DENIS/Documents/Klei/OxygenNotIncluded/mods/Steam/1991239137.
System.NullReferenceException: Object reference not set to an instance of an object
at ModI18n.Utils.LoadStringsWithPrefix (System.String prefix) [0x00008] in :0
at ModI18n.Patches+AddBuildingToPlanScreenPatch.Prefix () [0x00000] in :0
at (wrapper dynamic-method) ModUtil.ModUtil.AddBuildingToPlanScreen_Patch1(HashedString,string,string,string,ModUtil/BuildingOrdering)
at ModUtil.AddBuildingToPlanScreen (HashedString category, System.String building_id, System.String subcategoryID) [0x00000] in <1c7e9ccb4aa844e2be4538990aabf98e>:0
at ModUtil.AddBuildingToPlanScreen (HashedString category, System.String building_id) [0x00000] in <1c7e9ccb4aa844e2be4538990aabf98e>:0
at MicroTransformer.SmallTransformerInfo.OnLoad (HarmonyLib.Harmony harmony) [0x0000a] in :0
at KMod.DLLLoader.LoadDLLs (KMod.Mod ownerMod, System.String harmonyId, System.String path, System.Boolean isDev) [0x00222] in <1c7e9ccb4aa844e2be4538990aabf98e>:0

[DebugConsole][1]: Error[Error]: Exception while loading mod asquared31415.MicroTransformer at C:/Users/DENIS/Documents/Klei/OxygenNotIncluded/mods/Steam/1991239137.
System.NullReferenceException: Object reference not set to an instance of an object
at ModI18n.Utils.LoadStringsWithPrefix (System.String prefix) [0x00008] in :0
at ModI18n.Patches+AddBuildingToPlanScreenPatch.Prefix () [0x00000] in :0
at (wrapper dynamic-method) ModUtil.ModUtil.AddBuildingToPlanScreen_Patch1(HashedString,string,string,string,ModUtil/BuildingOrdering)
at ModUtil.AddBuildingToPlanScreen (HashedString category, System.String building_id, System.String subcategoryID) [0x00000] in <1c7e9ccb4aa844e2be4538990aabf98e>:0
at ModUtil.AddBuildingToPlanScreen (HashedString category, System.String building_id) [0x00000] in <1c7e9ccb4aa844e2be4538990aabf98e>:0
at MicroTransformer.SmallTransformerInfo.OnLoad (HarmonyLib.Harmony harmony) [0x0000a] in :0
at KMod.DLLLoader.LoadDLLs (KMod.Mod ownerMod, System.String harmonyId, System.String path, System.Boolean isDev) [0x00222] in <1c7e9ccb4aa844e2be4538990aabf98e>:0

[ModI18n] Error when generating template for ns of ExtendedBridges, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null: Object reference not set to an instance of an object at Localization.GenerateStringsTemplate (System.Type locstring_tree_root, System.String output_folder) [0x0002a] in <1c7e9ccb4aa844e2be4538990aabf98e>:0
at ModI18n.I18nUserMod.OnAllModsLoaded (HarmonyLib.Harmony harmony, System.Collections.Generic.IReadOnlyList`1[T] mods) [0x0010c] in :0

[ModI18n] Error when generating template for ns of QuantumCompressors, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null: Object reference not set to an instance of an object at Localization.GenerateStringsTemplate (System.Type locstring_tree_root, System.String output_folder) [0x0002a] in <1c7e9ccb4aa844e2be4538990aabf98e>:0
at ModI18n.I18nUserMod.OnAllModsLoaded (HarmonyLib.Harmony harmony, System.Collections.Generic.IReadOnlyList`1[T] mods) [0x0010c] in :0

[ModI18n] Error when generating template for ns of HEPBridgeInsulationTile, Version=2.0.2.0, Culture=neutral, PublicKeyToken=null: Object reference not set to an instance of an object at Localization.GenerateStringsTemplate (System.Type locstring_tree_root, System.String output_folder) [0x0002a] in <1c7e9ccb4aa844e2be4538990aabf98e>:0
at ModI18n.I18nUserMod.OnAllModsLoaded (HarmonyLib.Harmony harmony, System.Collections.Generic.IReadOnlyList`1[T] mods) [0x0010c] in :0

@blockspacer blockspacer changed the title [ModI18n] Error when generating template for ns of ExtendedBridges, Version=1.0.0.0 ModI18n + MicroTransformer = null Exception while loading mod asquared31415.MicroTransformer Jul 17, 2022
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