Sgt-Imalas / Sgt_Imalas-Oni-Mods

All the ONI mods made by Sgt_Imalas
MIT License
21 stars 8 forks source link

[BUG]: [Rocketry Expanded] crashes on loading the save after Feb QoL update #99

Closed Vectrobe closed 8 months ago

Vectrobe commented 8 months ago

Which Mod?

Rocketry Expanded

Description of the bug/crash

Crash on save load

Error in RocketInteriorGasInputPortComplete.KPrefabID.OnPrefabInit at (614.5, 2.0, -30.5)

System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.MissingFieldException: Field 'AutoStorageDropper/Def.invertElementFilter' not found.
  at (wrapper dynamic-method) AutoStorageDropper+Instance.AutoStorageDropper+Instance..ctor_Patch1(AutoStorageDropper/Instance,IStateMachineTarget,AutoStorageDropper/Def)
  at (wrapper managed-to-native) System.Reflection.MonoCMethod.InternalInvoke(System.Reflection.MonoCMethod,object,object[],System.Exception&)
  at System.Reflection.MonoCMethod.InternalInvoke (System.Object obj, System.Object[] parameters) [0x00002] in <695d1cc93cca45069c528c15c9fdd749>:0 
   --- End of inner exception stack trace ---
  at System.Reflection.MonoCMethod.InternalInvoke (System.Object obj, System.Object[] parameters) [0x00014] in <695d1cc93cca45069c528c15c9fdd749>:0 
  at System.Reflection.MonoCMethod.DoInvoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x0007a] in <695d1cc93cca45069c528c15c9fdd749>:0 
  at System.Reflection.MonoCMethod.Invoke (System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0 
  at System.RuntimeType.CreateInstanceImpl (System.Reflection.BindingFlags bindingAttr, System.Reflection.Binder binder, System.Object[] args, System.Globalization.CultureInfo culture, System.Object[] activationAttributes, System.Threading.StackCrawlMark& stackMark) [0x00213] in <695d1cc93cca45069c528c15c9fdd749>:0 
  at System.Activator.CreateInstance (System.Type type, System.Reflection.BindingFlags bindingAttr, System.Reflection.Binder binder, System.Object[] args, System.Globalization.CultureInfo culture, System.Object[] activationAttributes) [0x00095] in <695d1cc93cca45069c528c15c9fdd749>:0 
  at System.Activator.CreateInstance (System.Type type, System.Object[] args) [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0 
  at StateMachineManager.CreateSMIFromDef (IStateMachineTarget master, StateMachine+BaseDef def) [0x00025] in <1a8bba13569349b99ce84dc6ff18815b>:0 
  at StateMachine+BaseDef.CreateSMI (IStateMachineTarget master) [0x00005] in <1a8bba13569349b99ce84dc6ff18815b>:0 
  at StateMachineController.CreateSMIS () [0x00028] in <1a8bba13569349b99ce84dc6ff18815b>:0 
  at KPrefabID.OnPrefabInit () [0x00048] in <3ca21dc18eae422d87255277091f8593>:0 
  at KMonoBehaviour.InitializeComponent () [0x00068] in <3ca21dc18eae422d87255277091f8593>:0 
Build: U51-596100-S

Steps To Reproduce

load a save that previously had a built rocket interior, the crash suggests the gas input port as the crashing building

Player.log

Player.log

Sgt-Imalas commented 8 months ago

Use mod updater, your mod is outdated live version: 2.8.2 your version: 2.7.2.2

local download found here: https://github.com/Sgt-Imalas/Sgt_Imalas-Oni-Mods/releases/tag/v2.8.1_RocketryExpanded

Vectrobe commented 8 months ago

already did, is that version available in the workshop for mod updater to even download?

Vectrobe commented 8 months ago

seems to be a workshop bug as both mod updater and mod manager were being told 2.7.2.2 was newer than 2.8.x

Sgt-Imalas commented 8 months ago

yes, the workshop version is also up to date. try force updating from mod updater or unsub, restart the game twice and then resub