O-n-y / oxy.mods

Oxy.BugTracker
13 stars 2 forks source link

[Research Manager] Crashes the game on loading save #116

Closed padlyuck closed 1 year ago

padlyuck commented 1 year ago

Mod version: 1.2.0.21 Game version: U46-551176-VD

Error in ResearchScreen.ResearchScreen.OnSpawn 
System.NullReferenceException: Object reference not set to an instance of an object
  at Ony.OxygenNotIncluded.ResearchManager.ResearchTrackerComponent.UpdateActive () [0x0019b] in <c8414a8794e341f9bd0ca1e97d259063>:0 
  at Ony.OxygenNotIncluded.ResearchManager.ResearchTrackerComponent.Activate () [0x0000a] in <c8414a8794e341f9bd0ca1e97d259063>:0 
  at Ony.OxygenNotIncluded.ResearchManager.ResearchScreen_OnSpawn.Postfix (ResearchScreen __instance, System.Boolean show) [0x0000c] in <c8414a8794e341f9bd0ca1e97d259063>:0 
  at (wrapper dynamic-method) ResearchScreen.ResearchScreen.OnShow_Patch1(ResearchScreen,bool)
  at KModalScreen.OnActivate () [0x00000] in <f95bf98e004d4f5fb1c0a58f7700645a>:0 
  at KScreen.Activate () [0x00017] in <773696405cb3498b823b04c854905869>:0 
  at KScreen.OnSpawn () [0x0004e] in <773696405cb3498b823b04c854905869>:0 
  at ResearchScreen.OnSpawn () [0x00618] in <f95bf98e004d4f5fb1c0a58f7700645a>:0 
  at KMonoBehaviour.Spawn () [0x0005d] in <773696405cb3498b823b04c854905869>:0 

  at UnityEngine.Debug.LogError (System.Object message, UnityEngine.Object context) [0x00000] in <a83e096d0ba5413da59ce235b648c30c>:0 
  at Debug.LogError (System.Object obj, UnityEngine.Object context) [0x00000] in <773696405cb3498b823b04c854905869>:0 
  at DebugUtil.LogErrorArgs (UnityEngine.Object context, System.Object[] objs) [0x00000] in <773696405cb3498b823b04c854905869>:0 
  at DebugUtil.LogException (UnityEngine.Object context, System.String errorMessage, System.Exception e) [0x00000] in <773696405cb3498b823b04c854905869>:0 
  at KMonoBehaviour.Spawn () [0x00000] in <773696405cb3498b823b04c854905869>:0 
  at KMonoBehaviour.Start () [0x00000] in <773696405cb3498b823b04c854905869>:0 
Build: U46-551176-VD
O-n-y commented 1 year ago

It require and update, due to game api changes

O-n-y commented 1 year ago

Should be fixed on next release build (should be on BETA today or tomorrow) Join discord to track progress: https://discord.gg/By2C6RC

O-n-y commented 1 year ago

Research Manager 1.3.1.6 release version is live on Steam