SanchozzDeponianin / ONIMods

Sanchozz's mods for Oxygen Not Included
MIT License
16 stars 15 forks source link

CrabsProfit mod crashes with latest update #58

Closed aantono closed 1 year ago

aantono commented 1 year ago

Description of the bug/crash

CrabsProfit Mod causes crash upon game startup when enabled.

Steps To Reproduce

Update all the mods, start the game with CrabsProfit mod enabled, and the game crashes.

Player.log

Player.log

aantono commented 1 year ago

Looks like the Configurable Automation-controlled Doors is also broken

[PLib/SmartLogicDoors] Error running patches for stage BeforeDbInit:
[23:24:51.736] [1] [ERROR] [PLib/SmartLogicDoors] System.NullReferenceException Object reference not set to an instance of an object   at SanchozzONIMods.Lib.Utils.ReplaceText (LocString locString, System.String newtext) [0x0000a] in <a2e1a121a9e3433baed6f915b0214f73>:0 
  at SanchozzONIMods.Lib.Utils.ReplaceAllLocStringTextByDictionary (System.Type type, System.Collections.Generic.Dictionary`2[TKey,TValue] replacementDictionary) [0x00092] in <a2e1a121a9e3433baed6f915b0214f73>:0 
  at SanchozzONIMods.Lib.Utils.ReplaceAllLocStringTextByDictionary (System.Type type, System.Collections.Generic.Dictionary`2[TKey,TValue] replacementDictionary) [0x000b5] in <a2e1a121a9e3433baed6f915b0214f73>:0 
  at SanchozzONIMods.Lib.Utils.ReplaceAllLocStringTextByDictionary (System.Type type, System.Collections.Generic.Dictionary`2[TKey,TValue] replacementDictionary) [0x000b5] in <a2e1a121a9e3433baed6f915b0214f73>:0 
  at SanchozzONIMods.Lib.Utils.ReplaceAllLocStringTextByDictionary (System.Type type, System.Collections.Generic.Dictionary`2[TKey,TValue] replacementDictionary) [0x000b5] in <a2e1a121a9e3433baed6f915b0214f73>:0 
  at SanchozzONIMods.Lib.Utils.ReplaceAllLocStringTextByDictionary (System.Type type, System.Collections.Generic.Dictionary`2[TKey,TValue] replacementDictionary) [0x000b5] in <a2e1a121a9e3433baed6f915b0214f73>:0 
  at SmartLogicDoors.STRINGS.DoReplacement () [0x0007b] in <a2e1a121a9e3433baed6f915b0214f73>:0 
  at (wrapper managed-to-native) System.Reflection.MonoMethod.InternalInvoke(System.Reflection.MonoMethod,object,object[],System.Exception&)
  at System.Reflection.MonoMethod.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00032] in <695d1cc93cca45069c528c15c9fdd749>:0 
[PLib/SmartLogicDoors] System.NullReferenceException Object reference not set to an instance of an object   at SanchozzONIMods.Lib.Utils.ReplaceText (LocString locString, System.String newtext) [0x0000a] in <a2e1a121a9e3433baed6f915b0214f73>:0 
  at SanchozzONIMods.Lib.Utils.ReplaceAllLocStringTextByDictionary (System.Type type, System.Collections.Generic.Dictionary`2[TKey,TValue] replacementDictionary) [0x00092] in <a2e1a121a9e3433baed6f915b0214f73>:0 
  at SanchozzONIMods.Lib.Utils.ReplaceAllLocStringTextByDictionary (System.Type type, System.Collections.Generic.Dictionary`2[TKey,TValue] replacementDictionary) [0x000b5] in <a2e1a121a9e3433baed6f915b0214f73>:0 
  at SanchozzONIMods.Lib.Utils.ReplaceAllLocStringTextByDictionary (System.Type type, System.Collections.Generic.Dictionary`2[TKey,TValue] replacementDictionary) [0x000b5] in <a2e1a121a9e3433baed6f915b0214f73>:0 
  at SanchozzONIMods.Lib.Utils.ReplaceAllLocStringTextByDictionary (System.Type type, System.Collections.Generic.Dictionary`2[TKey,TValue] replacementDictionary) [0x000b5] in <a2e1a121a9e3433baed6f915b0214f73>:0 
  at SanchozzONIMods.Lib.Utils.ReplaceAllLocStringTextByDictionary (System.Type type, System.Collections.Generic.Dictionary`2[TKey,TValue] replacementDictionary) [0x000b5] in <a2e1a121a9e3433baed6f915b0214f73>:0 
  at SmartLogicDoors.STRINGS.DoReplacement () [0x0007b] in <a2e1a121a9e3433baed6f915b0214f73>:0 
  at (wrapper managed-to-native) System.Reflection.MonoMethod.InternalInvoke(System.Reflection.MonoMethod,object,object[],System.Exception&)
  at System.Reflection.MonoMethod.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00032] in <695d1cc93cca45069c528c15c9fdd749>:0 
SanchozzDeponianin commented 1 year ago

Judging by the error, you game have installed very old versions of mods, until December 2022. Throw away the Mod Manager by Ony. Use the Mod Updater. Click on this button next to the mod to force the update it. 2023-06-16 10-11-29