peterhaneve / ONIMods

Peter Han's mods for Oxygen Not Included
Other
316 stars 64 forks source link

Mod crashes with the Ceres update #474

Closed pixelkritzel closed 4 months ago

pixelkritzel commented 4 months ago
Exception while loading mod PeterHan.SandboxTools at C:/$user/Documents/Klei/OxygenNotIncluded/mods/Steam/1928837153. 
System.TypeInitializationException: The type initializer for 'PeterHan.SandboxTools.SandboxToolsStrings' threw an exception. ---> System.MissingFieldException: Field 'STRINGS.UI/TOOLS/FILTERLAYERS.ALL' not found.
   --- End of inner exception stack trace ---
  at (wrapper managed-to-native) System.Reflection.MonoField.GetValueInternal(System.Reflection.MonoField,object)
  at System.Reflection.MonoField.GetValue (System.Object obj) [0x0005e] in <695d1cc93cca45069c528c15c9fdd749>:0 
  at LocString.CreateLocStringKeys (System.Type type, System.String parent_path) [0x00091] in /home/build/workspace/game/Assets/scripts/game/LocString.cs:97 
  at Localization.RegisterForTranslation (System.Type locstring_tree_root) [0x00043] in /home/build/workspace/game/Assets/scripts/game/Localization.cs:596 
  at PeterHan.PLib.Database.PLocalization.Register (System.Reflection.Assembly assembly) [0x0004c] in <518a2d631b0f4cee9a181292ebed22d3>:0 
  at PeterHan.SandboxTools.SandboxToolsPatches.OnLoad (HarmonyLib.Harmony harmony) [0x00012] in <518a2d631b0f4cee9a181292ebed22d3>:0 
  at KMod.DLLLoader.LoadDLLs (KMod.Mod ownerMod, System.String harmonyId, System.String path, System.Boolean isDev) [0x0028f] in /home/build/workspace/game/Assets/scripts/Mods/ModDLLLoader.cs:169 

UnityEngine.Debug:LogError (object,UnityEngine.Object)
Debug:LogError (object,UnityEngine.Object) (at /home/build/workspace/game/Assets/Plugins/Debug.cs:163)
DebugUtil:LogErrorArgs (UnityEngine.Object,object[]) (at /home/build/workspace/game/Assets/Plugins/Klei/util/DebugUtil.cs:219)
DebugUtil:LogException (UnityEngine.Object,string,System.Exception) (at /home/build/workspace/game/Assets/Plugins/Klei/util/DebugUtil.cs:229)
KMod.DLLLoader:LoadDLLs (KMod.Mod,string,string,bool) (at /home/build/workspace/game/Assets/scripts/Mods/ModDLLLoader.cs:185)
KMod.Mod:Load (KMod.Content) (at /home/build/workspace/game/Assets/scripts/Mods/Mods.cs:879)
KMod.Manager:Load (KMod.Content) (at /home/build/workspace/game/Assets/scripts/Mods/Mods.cs:1551)
Global:Awake () (at /home/build/workspace/game/Assets/scripts/game/Global.cs:428)
UnityEngine.Object:Instantiate<UnityEngine.GameObject> (UnityEngine.GameObject,UnityEngine.Vector3,UnityEngine.Quaternion,UnityEngine.Transform)
Util:KInstantiate (UnityEngine.GameObject,UnityEngine.Vector3,UnityEngine.Quaternion,UnityEngine.GameObject,string,bool,int) (at /home/build/workspace/game/Assets/Plugins/Klei/util/Util.cs:262)
Util:KInstantiate (UnityEngine.GameObject,UnityEngine.GameObject,string) (at /home/build/workspace/game/Assets/Plugins/Klei/util/Util.cs:234)
LaunchInitializer:Update () (at /home/build/workspace/game/Assets/scripts/game/LaunchInitializer.cs:88)

Build: U52-616718-SC

Should I post eventual additional incompatibilities here as comment or as new issue?

peterhaneve commented 4 months ago

There is no support for any mod on the public testing branch. Content on this branch often changes dramatically multiple times per week, so incompatibilities may appear and disappear frequently.

I will look at compatibility closer to the projected launch date.