Oxygen Not Included

Oxygen Not Included

[Vanilla + DLC] Rooms Expanded
This topic has been locked
EugeneKay 29 Oct, 2021 @ 7:27am
Rad New Worlds Update - Bug Report
Hi!

The "Rad New Worlds" update (released Oct 28th), while it didn't directly change anything with rooms, seems to handle Achievements differently? The game crashes with this mod Enabled. StackTrace attached :-). Thank you for reading, and for the great mod!

-Eugene

Exception while loading mod pether-pg.RoomsExpanded at C:/Users/eugen/Documents/Klei/OxygenNotIncluded/mods/Steam/2348079481. HarmonyLib.HarmonyException: Patching exception in method System.Void Database.ColonyAchievement::.ctor(System.String Id, System.String platformAchievementId, System.String Name, System.String description, System.Boolean isVictoryCondition, System.Collections.Generic.List`1<Database.ColonyAchievementRequirement> requirementChecklist, System.String messageTitle, System.String messageBody, System.String videoDataName, System.String victoryLoopVideo, System.Action`1<KMonoBehaviour> VictorySequence, System.String victorySnapshot, System.String icon) ---> System.Exception: Parameter "steamAchievementId" not found in method System.Void Database.ColonyAchievement::.ctor(System.String Id, System.String platformAchievementId, System.String Name, System.String description, System.Boolean isVictoryCondition, System.Collections.Generic.List`1<Database.ColonyAchievementRequirement> requirementChecklist, System.String messageTitle, System.String messageBody, System.String videoDataName, System.String victoryLoopVideo, System.Action`1<KMonoBehaviour> VictorySequence, System.String victorySnapshot, System.String icon) at HarmonyLib.MethodPatcher.EmitCallParameter (System.Reflection.MethodInfo patch, System.Collections.Generic.Dictionary`2[TKey,TValue] variables, System.Boolean allowFirsParamPassthrough, System.Reflection.Emit.LocalBuilder& tmpObjectVar, System.Collections.Generic.List`1[T] tmpBoxVars) [0x00756] in <2f5aaaa000594d07b9998f4cff1e9662>:0 at HarmonyLib.MethodPatcher+<>c__DisplayClass31_0.<AddPrefixes>b__0 (System.Reflection.MethodInfo fix) [0x0008d] 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.MethodPatcher.AddPrefixes (System.Collections.Generic.Dictionary`2[TKey,TValue] variables, System.Reflection.Emit.LocalBuilder runOriginalVariable) [0x0001b] in <2f5aaaa000594d07b9998f4cff1e9662>:0 at HarmonyLib.MethodPatcher.CreateReplacement (System.Collections.Generic.Dictionary`2[System.Int32,HarmonyLib.CodeInstruction]& finalInstructions) [0x00166] in <2f5aaaa000594d07b9998f4cff1e9662>:0 at HarmonyLib.PatchFunctions.UpdateWrapper (System.Reflection.MethodBase original, HarmonyLib.PatchInfo patchInfo) [0x00057] in <2f5aaaa000594d07b9998f4cff1e9662>:0 at HarmonyLib.PatchClassProcessor.ProcessPatchJob (HarmonyLib.PatchJobs`1+Job[T] job) [0x000bb] in <2f5aaaa000594d07b9998f4cff1e9662>:0 --- End of inner exception stack trace --- at HarmonyLib.PatchClassProcessor.ReportException (System.Exception exception, System.Reflection.MethodBase original) [0x0010f] 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 <1715f336df1840d5aa5906be03bd34d5>:0 at RoomsExpanded.ModInfo.OnLoad (HarmonyLib.Harmony harmony) [0x00000] in <3324cbb76fb64ab6805dbadb5b37bdcd>:0 at KMod.DLLLoader.LoadDLLs (KMod.Mod ownerMod, System.String harmonyId, System.String path, System.Boolean isDev) [0x00222] in <1715f336df1840d5aa5906be03bd34d5>:0 at UnityEngine.Debug.LogError (System.Object message, UnityEngine.Object context) [0x00000] in <9fe2cbebfa394c8da6af069ec8cc9ef4>:0 at Debug.LogError (System.Object obj, UnityEngine.Object context) [0x00000] in <8e85aab05d1d44a5b339d82e5aea3b88>:0 at DebugUtil.LogErrorArgs (UnityEngine.Object context, System.Object[] objs) [0x00000] in <8e85aab05d1d44a5b339d82e5aea3b88>:0 at DebugUtil.LogException (UnityEngine.Object context, System.String errorMessage, System.Exception e) [0x00000] in <8e85aab05d1d44a5b339d82e5aea3b88>:0 at KMod.DLLLoader.LoadDLLs (KMod.Mod ownerMod, System.String harmonyId, System.String path, System.Boolean isDev) [0x00000] in <1715f336df1840d5aa5906be03bd34d5>:0 at KMod.Mod.Load (KMod.Content content) [0x00000] in <1715f336df1840d5aa5906be03bd34d5>:0 at KMod.Manager.Load (KMod.Content content) [0x00000] in <1715f336df1840d5aa5906be03bd34d5>:0 at Global.Awake () [0x00000] in <1715f336df1840d5aa5906be03bd34d5>:0 at UnityEngine.Object.Internal_InstantiateSingleWithParent_Injected (UnityEngine.Object data, UnityEngine.Transform parent, UnityEngine.Vector3& pos, UnityEngine.Quaternion& rot) [0x00000] in <9fe2cbebfa394c8da6af069ec8cc9ef4>:0 at UnityEngine.Object.Internal_InstantiateSingleWithParent (UnityEngine.Object data, UnityEngine.Transform parent, UnityEngine.Vector3 pos, UnityEngine.Quaternion rot) [0x00000] in <9fe2cbebfa394c8da6af069ec8cc9ef4>:0 at UnityEngine.Object.Instantiate (UnityEngine.Object original, UnityEngine.Vector3 position, UnityEngine.Quaternion rotation, UnityEngine.Transform parent) [0x00000] in <9fe2cbebfa394c8da6af069ec8cc9ef4>:0 at UnityEngine.Object.Instantiate[T] (T original, UnityEngine.Vector3 position, UnityEngine.Quaternion rotation, UnityEngine.Transform parent) [0x00000] in <9fe2cbebfa394c8da6af069ec8cc9ef4>: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 <8e85aab05d1d44a5b339d82e5aea3b88>:0 at Util.KInstantiate (UnityEngine.GameObject original, UnityEngine.GameObject parent, System.String name) [0x00000] in <8e85aab05d1d44a5b339d82e5aea3b88>:0 at LaunchInitializer.Update () [0x00000] in <1715f336df1840d5aa5906be03bd34d5>:0 Build: U37-483944-S
< >
Showing 1-1 of 1 comments
pether.pg  [developer] 30 Oct, 2021 @ 1:09am 
Klei introduced achievements to Epic, so they renamed one variable from "steamAchievementId" to "platformtAchievementId" and that is enough to crash the mod. I already released the fix, please make sure you are using latest mod version. For easy update, please use "Mod Updater" mod by Stephen
< >
Showing 1-1 of 1 comments
Per page: 1530 50