AndreyMrovol / LethalTerminalFormatter

Other
2 stars 0 forks source link

[Bug] Conflict with LategameUpgrames 3.7.0 #19

Closed ajsglist closed 4 months ago

ajsglist commented 4 months ago

Hi there, getting the following error on startup (some sort of conflict between LategameUpgrades and TerminalFormatter). Didn't seem to be happening in LategameUpgrades 3.6.5.

[11:51:45.9505771] [Error  : Unity Log] NullReferenceException: Null method for TerminalFormatter LGU
Stack trace:
HarmonyLib.PatchProcessor.Patch () (at <474744d65d8e460fa08cd5fd82b5d65f>:IL_001D)
HarmonyLib.Harmony.Patch (System.Reflection.MethodBase original, HarmonyLib.HarmonyMethod prefix, HarmonyLib.HarmonyMethod postfix, HarmonyLib.HarmonyMethod transpiler, HarmonyLib.HarmonyMethod finalizer, HarmonyLib.HarmonyMethod ilmanipulator) (at <474744d65d8e460fa08cd5fd82b5d65f>:IL_0031)
TerminalFormatter.LategameUpgradesCompatibility.Init () (at <78e1d85eed684d239f1b5577d6ab7bb6>:IL_0043)
TerminalFormatter.LategameUpgradesCompatibility..ctor (System.String guid, System.String version) (at <78e1d85eed684d239f1b5577d6ab7bb6>:IL_0015)
TerminalFormatter.Plugin.Awake () (at <78e1d85eed684d239f1b5577d6ab7bb6>:IL_016C)
UnityEngine.GameObject:AddComponent(Type)
BepInEx.Bootstrap.Chainloader:Start()
UnityEngine.Rendering.HighDefinition.HDRenderPipelineAsset:OnEnable()

[11:51:45.9505771] [Error  : Unity Log] NullReferenceException: Null method for TerminalFormatter LGU
Stack trace:
HarmonyLib.PatchProcessor.Patch () (at <474744d65d8e460fa08cd5fd82b5d65f>:IL_001D)
HarmonyLib.Harmony.Patch (System.Reflection.MethodBase original, HarmonyLib.HarmonyMethod prefix, HarmonyLib.HarmonyMethod postfix, HarmonyLib.HarmonyMethod transpiler, HarmonyLib.HarmonyMethod finalizer, HarmonyLib.HarmonyMethod ilmanipulator) (at <474744d65d8e460fa08cd5fd82b5d65f>:IL_0031)
TerminalFormatter.LategameUpgradesCompatibility.Init () (at <78e1d85eed684d239f1b5577d6ab7bb6>:IL_0043)
TerminalFormatter.LategameUpgradesCompatibility..ctor (System.String guid, System.String version) (at <78e1d85eed684d239f1b5577d6ab7bb6>:IL_0015)
TerminalFormatter.Plugin.Awake () (at <78e1d85eed684d239f1b5577d6ab7bb6>:IL_016C)
UnityEngine.GameObject:AddComponent(Type)
BepInEx.Bootstrap.Chainloader:Start()
UnityEngine.Rendering.HighDefinition.HDRenderPipelineAsset:OnEnable()

(LGU ticket reference: https://github.com/Malcolm-Q/LC-LateGameUpgrades/issues/479#issuecomment-2120373341)

AndreyMrovol commented 4 months ago

Hey, thanks for the report - I've pushed the fix to Thunderstore, please let me know if there are any more issues.