Oxygen Not Included

Oxygen Not Included

DGSM - Duplicants Generation Settings Manager // by @Ony 👾
Denne tråd er blevet låst
maxya123 29. nov. 2022 kl. 13:38
Getting crash clicking on gear icon during new game dup selection and customization scrren
Error:

TypeLoadException: Could not resolve type with token 01000060 (from typeref, class/assembly PanelColors, )

Ony.OxygenNotIncluded.DGSM.EditableTitleBar_OnSpawn+<>c__DisplayClass0_0.<Postfix>b__0 () (at <aeda084405d543e2af31e7a8b1b52fa5>:0)
KButton.SignalClick (KKeyCode btn) (at <3f146e4773e642efa0f9e57aaa8e84c1>:0)
KButton.OnPointerClick (UnityEngine.EventSystems.PointerEventData eventData) (at <3f146e4773e642efa0f9e57aaa8e84c1>:0)
UnityEngine.EventSystems.ExecuteEvents.Execute (UnityEngine.EventSystems.IPointerClickHandler handler, UnityEngine.EventSystems.BaseEventData eventData) (at <0b23117e1c7442f8b1842fe2f3bf6fcb>:0)
UnityEngine.EventSystems.ExecuteEvents.Execute[T] (UnityEngine.GameObject target, UnityEngine.EventSystems.BaseEventData eventData, UnityEngine.EventSystems.ExecuteEvents+EventFunction`1[T1] functor) (at <0b23117e1c7442f8b1842fe2f3bf6fcb>:0)
UnityEngine.EventSystems.EventSystem:Update()

Build: U43-531669-S
< >
Viser 1-5 af 5 kommentarer
Ony  [udvikler] 30. nov. 2022 kl. 12:14 
your version is outdated, more information could be found in mod description `TypeLoadException: Could not resolve type
Dramus 8. dec. 2022 kl. 6:23 
Oprindeligt skrevet af Ony:
your version is outdated, more information could be found in mod description `TypeLoadException: Could not resolve type

I also get the crash when clicking the gear icon. It was working fine 2 weeks ago. I booted up again last night and start getting this error. I had not made any changes to any mods i have or downloaded new ones or changed the order. I had simply stopped playing for about a week and a half and when i come back, crash. help please! I have tried reinstalling mod, reinstalling game, pretty much everything said by other users.

[14:19:13.376] [1] [ERROR] Could not find Klei.AI.Trait:
[14:19:13.387] [1] [INFO] DGSM - Duplicants Generation Settings Manager // by @Ony 's assembly declared the method Ony.OxygenNotIncluded.DGSM.CharacterHelper:VitalToTrait in the stack trace, adding to referenced mods list
[DebugConsole][1]: Error[Error]: Could not find Klei.AI.Trait:

[DebugConsole][1]: Error[Error]: Could not find Klei.AI.Trait:

[DGSM][1]: System.NullReferenceException: Object reference not set to an instance of an object
at Ony.OxygenNotIncluded.DGSM.PrintingEventsHook.OnClick (CharacterContainer dup, UnityEngine.GameObject go, CollapsibleDetailContentPanel panel, Klei.AI.Trait prevTrait, Ony.OxygenNotIncluded.DGSM.PrintingEventsHook+ChangeType changeType, System.Int32 attributeIndex) [0x01594] in <e1dc0fc4ebbd4e089dfa150ce7d3a420>:0
Sidst redigeret af Dramus; 8. dec. 2022 kl. 6:24
riabokinserhii 17. dec. 2022 kl. 16:36 
Exception while loading mod DGSM at Y:/Documents/Klei/OxygenNotIncluded/mods/Steam/1838445101.
HarmonyLib.HarmonyException: Patching exception in method null ---> System.ArgumentException: Undefined target method for patch method static System.Void Ony.OxygenNotIncluded.DGSM.MinionStartingStats_Ctor::Postfix(MinionStartingStats __instance, System.Boolean is_starter_minion, System.String guaranteedAptitudeID, System.String guaranteedTraitID)
at HarmonyLib.PatchClassProcessor.PatchWithAttributes (System.Reflection.MethodBase& lastOriginal) [0x00047] in <2f5aaaa000594d07b9998f4cff1e9662>:0
at HarmonyLib.PatchClassProcessor.Patch () [0x00057] in <2f5aaaa000594d07b9998f4cff1e9662>:0
--- End of inner exception stack trace ---
at HarmonyLib.PatchClassProcessor.ReportException (System.Exception exception, System.Reflection.MethodBase original) [0x00127] in <2f5aaaa000594d07b9998f4cff1e9662>:0
at HarmonyLib.PatchClassProcessor.Patch () [0x00082] in <2f5aaaa000594d07b9998f4cff1e9662>:0
at HarmonyLib.Harmony.<PatchAll>b__10_0 (System.Type type) [0x00007] in <2f5aaaa000594d07b9998f4cff1e9662>:0
at HarmonyLib.CollectionExtensions.Do[T] (System.Collections.Generic.IEnumerable`1[T] sequence, System.Action`1[T] action) [0x00014] in <2f5aaaa000594d07b9998f4cff1e9662>:0
at HarmonyLib.Harmony.PatchAll (System.Reflection.Assembly assembly) [0x00006] in <2f5aaaa000594d07b9998f4cff1e9662>:0
at KMod.UserMod2.OnLoad (HarmonyLib.Harmony harmony) [0x00007] in <d13cbb0b55a94ef09bb55c2436a6b8ee>:0
at Ony.OxygenNotIncluded.DGSM.Loader.OnLoad (HarmonyLib.Harmony harmony) [0x00000] in <e1dc0fc4ebbd4e089dfa150ce7d3a420>:0
at KMod.DLLLoader.LoadDLLs (KMod.Mod ownerMod, System.String harmonyId, System.String path, System.Boolean isDev) [0x00222] in <d13cbb0b55a94ef09bb55c2436a6b8ee>:0

at UnityEngine.Debug.LogError (System.Object message, UnityEngine.Object context) [0x00000] in <72b60a3dd8cd4f12a155b761a1af9144>:0
at Debug.LogError (System.Object obj, UnityEngine.Object context) [0x00000] in <fa50cdddb14a483d94f547557a674a42>:0
at DebugUtil.LogErrorArgs (UnityEngine.Object context, System.Object[] objs) [0x00000] in <fa50cdddb14a483d94f547557a674a42>:0
at DebugUtil.LogException (UnityEngine.Object context, System.String errorMessage, System.Exception e) [0x00000] in <fa50cdddb14a483d94f547557a674a42>:0
at KMod.DLLLoader.LoadDLLs (KMod.Mod ownerMod, System.String harmonyId, System.String path, System.Boolean isDev) [0x00000] in <d13cbb0b55a94ef09bb55c2436a6b8ee>:0
at KMod.Mod.Load (KMod.Content content) [0x00000] in <d13cbb0b55a94ef09bb55c2436a6b8ee>:0
at KMod.Manager.Load (KMod.Content content) [0x00000] in <d13cbb0b55a94ef09bb55c2436a6b8ee>:0
at Global.Awake () [0x00000] in <d13cbb0b55a94ef09bb55c2436a6b8ee>:0
at UnityEngine.Object.Internal_InstantiateSingleWithParent_Injected (UnityEngine.Object data, UnityEngine.Transform parent, UnityEngine.Vector3& pos, UnityEngine.Quaternion& rot) [0x00000] in <72b60a3dd8cd4f12a155b761a1af9144>:0
at UnityEngine.Object.Internal_InstantiateSingleWithParent (UnityEngine.Object data, UnityEngine.Transform parent, UnityEngine.Vector3 pos, UnityEngine.Quaternion rot) [0x00000] in <72b60a3dd8cd4f12a155b761a1af9144>:0
at UnityEngine.Object.Instantiate (UnityEngine.Object original, UnityEngine.Vector3 position, UnityEngine.Quaternion rotation, UnityEngine.Transform parent) [0x00000] in <72b60a3dd8cd4f12a155b761a1af9144>:0
at UnityEngine.Object.Instantiate[T] (T original, UnityEngine.Vector3 position, UnityEngine.Quaternion rotation, UnityEngine.Transform parent) [0x00000] in <72b60a3dd8cd4f12a155b761a1af9144>:0
at Util.KInstantiate (UnityEngine.GameObject original, UnityEngine.Vector3 position, UnityEngine.Quaternion rotation, UnityEngine.GameObject parent, System.String name, System.Boolean initialize_id, System.Int32 gameLayer) [0x00000] in <fa50cdddb14a483d94f547557a674a42>:0
at Util.KInstantiate (UnityEngine.GameObject original, UnityEngine.GameObject parent, System.String name) [0x00000] in <fa50cdddb14a483d94f547557a674a42>:0
at LaunchInitializer.Update () [0x00000] in <d13cbb0b55a94ef09bb55c2436a6b8ee>:0
Build: U44-535842-SD
Dramus 17. dec. 2022 kl. 18:37 
Oprindeligt skrevet af Dramus:
Oprindeligt skrevet af Ony:
your version is outdated, more information could be found in mod description `TypeLoadException: Could not resolve type

I also get the crash when clicking the gear icon. It was working fine 2 weeks ago. I booted up again last night and start getting this error. I had not made any changes to any mods i have or downloaded new ones or changed the order. I had simply stopped playing for about a week and a half and when i come back, crash. help please! I have tried reinstalling mod, reinstalling game, pretty much everything said by other users.

[14:19:13.376] [1] [ERROR] Could not find Klei.AI.Trait:
[14:19:13.387] [1] [INFO] DGSM - Duplicants Generation Settings Manager // by @Ony 's assembly declared the method Ony.OxygenNotIncluded.DGSM.CharacterHelper:VitalToTrait in the stack trace, adding to referenced mods list
[DebugConsole][1]: Error[Error]: Could not find Klei.AI.Trait:

[DebugConsole][1]: Error[Error]: Could not find Klei.AI.Trait:

[DGSM][1]: System.NullReferenceException: Object reference not set to an instance of an object
at Ony.OxygenNotIncluded.DGSM.PrintingEventsHook.OnClick (CharacterContainer dup, UnityEngine.GameObject go, CollapsibleDetailContentPanel panel, Klei.AI.Trait prevTrait, Ony.OxygenNotIncluded.DGSM.PrintingEventsHook+ChangeType changeType, System.Int32 attributeIndex) [0x01594] in <e1dc0fc4ebbd4e089dfa150ce7d3a420>:0

@ony as I found out through more extensive testing, your mod has a Schrodinger relationship with the mod "Always 3 Interests". I say Schrodinger because both have worked in tandem for months and all of the sudden they stopped working and now I can have one or another turned on. I am sure many of the folks reporting such problem is because of this.
lovekerr 18. dec. 2022 kl. 0:17 
I CANT USE THIS MOD
post as:
Exception while loading mod DGSM at C:/Users/10107/Documents/Klei/OxygenNotIncluded/mods/Steam/1838445101.
HarmonyLib.HarmonyException: Patching exception in method null ---> System.ArgumentException: Undefined target method for patch method static System.Void Ony.OxygenNotIncluded.DGSM.MinionStartingStats_Ctor::Postfix(MinionStartingStats __instance, System.Boolean is_starter_minion, System.String guaranteedAptitudeID, System.String guaranteedTraitID)
at HarmonyLib.PatchClassProcessor.PatchWithAttributes (System.Reflection.MethodBase& lastOriginal) [0x00047] in <2f5aaaa000594d07b9998f4cff1e9662>:0
at HarmonyLib.PatchClassProcessor.Patch () [0x00057] in <2f5aaaa000594d07b9998f4cff1e9662>:0
--- End of inner exception stack trace ---
at HarmonyLib.PatchClassProcessor.ReportException (System.Exception exception, System.Reflection.MethodBase original) [0x00127] in <2f5aaaa000594d07b9998f4cff1e9662>:0
at HarmonyLib.PatchClassProcessor.Patch () [0x00082] in <2f5aaaa000594d07b9998f4cff1e9662>:0
at HarmonyLib.Harmony.<PatchAll>b__10_0 (System.Type type) [0x00007] in <2f5aaaa000594d07b9998f4cff1e9662>:0
at HarmonyLib.CollectionExtensions.Do[T] (System.Collections.Generic.IEnumerable`1[T] sequence, System.Action`1[T] action) [0x00014] in <2f5aaaa000594d07b9998f4cff1e9662>:0
at HarmonyLib.Harmony.PatchAll (System.Reflection.Assembly assembly) [0x00006] in <2f5aaaa000594d07b9998f4cff1e9662>:0
at KMod.UserMod2.OnLoad (HarmonyLib.Harmony harmony) [0x00007] in <d13cbb0b55a94ef09bb55c2436a6b8ee>:0
at Ony.OxygenNotIncluded.DGSM.Loader.OnLoad (HarmonyLib.Harmony harmony) [0x00000] in <e1dc0fc4ebbd4e089dfa150ce7d3a420>:0
at KMod.DLLLoader.LoadDLLs (KMod.Mod ownerMod, System.String harmonyId, System.String path, System.Boolean isDev) [0x00222] in <d13cbb0b55a94ef09bb55c2436a6b8ee>:0

at UnityEngine.Debug.LogError (System.Object message, UnityEngine.Object context) [0x00000] in <72b60a3dd8cd4f12a155b761a1af9144>:0
at Debug.LogError (System.Object obj, UnityEngine.Object context) [0x00000] in <fa50cdddb14a483d94f547557a674a42>:0
at DebugUtil.LogErrorArgs (UnityEngine.Object context, System.Object[] objs) [0x00000] in <fa50cdddb14a483d94f547557a674a42>:0
at DebugUtil.LogException (UnityEngine.Object context, System.String errorMessage, System.Exception e) [0x00000] in <fa50cdddb14a483d94f547557a674a42>:0
at KMod.DLLLoader.LoadDLLs (KMod.Mod ownerMod, System.String harmonyId, System.String path, System.Boolean isDev) [0x00000] in <d13cbb0b55a94ef09bb55c2436a6b8ee>:0
at KMod.Mod.Load (KMod.Content content) [0x00000] in <d13cbb0b55a94ef09bb55c2436a6b8ee>:0
at KMod.Manager.Load (KMod.Content content) [0x00000] in <d13cbb0b55a94ef09bb55c2436a6b8ee>:0
at Global.Awake () [0x00000] in <d13cbb0b55a94ef09bb55c2436a6b8ee>:0
at UnityEngine.Object.Internal_InstantiateSingleWithParent_Injected (UnityEngine.Object data, UnityEngine.Transform parent, UnityEngine.Vector3& pos, UnityEngine.Quaternion& rot) [0x00000] in <72b60a3dd8cd4f12a155b761a1af9144>:0
at UnityEngine.Object.Internal_InstantiateSingleWithParent (UnityEngine.Object data, UnityEngine.Transform parent, UnityEngine.Vector3 pos, UnityEngine.Quaternion rot) [0x00000] in <72b60a3dd8cd4f12a155b761a1af9144>:0
at UnityEngine.Object.Instantiate (UnityEngine.Object original, UnityEngine.Vector3 position, UnityEngine.Quaternion rotation, UnityEngine.Transform parent) [0x00000] in <72b60a3dd8cd4f12a155b761a1af9144>:0
at UnityEngine.Object.Instantiate[T] (T original, UnityEngine.Vector3 position, UnityEngine.Quaternion rotation, UnityEngine.Transform parent) [0x00000] in <72b60a3dd8cd4f12a155b761a1af9144>:0
at Util.KInstantiate (UnityEngine.GameObject original, UnityEngine.Vector3 position, UnityEngine.Quaternion rotation, UnityEngine.GameObject parent, System.String name, System.Boolean initialize_id, System.Int32 gameLayer) [0x00000] in <fa50cdddb14a483d94f547557a674a42>:0
at Util.KInstantiate (UnityEngine.GameObject original, UnityEngine.GameObject parent, System.String name) [0x00000] in <fa50cdddb14a483d94f547557a674a42>:0
at LaunchInitializer.Update () [0x00000] in <d13cbb0b55a94ef09bb55c2436a6b8ee>:0
Build: U44-535842-S
< >
Viser 1-5 af 5 kommentarer
Per side: 1530 50