Sgt-Imalas / Sgt_Imalas-Oni-Mods

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

[BUG]: Blackhole on startup #117

Closed fruixs closed 2 months ago

fruixs commented 2 months ago

Which Mod?

Bubbles Bathtub

Description of the bug/crash

Bubble bath IsContentActive was called with a newer DLC which is not allowed.

at UnityEngine.Debug.LogError (System.Object message) [0x00000] in <72b60a3dd8cd4f12a155b761a1af9144>:0 at Debug.LogError (System.Object obj) [0x00000] in <3a2e13ca97c146c4b5d2f735a443e5e3>:0 at DebugUtil.LogErrorArgs (System.Object[] objs) [0x00000] in <3a2e13ca97c146c4b5d2f735a443e5e3>:0 at DlcManager.IsContentActive (System.String dlcId) [0x00000] in <3a2e13ca97c146c4b5d2f735a443e5e3>:0 at UtilLibs.SoundUtils.CopySoundsToAnim (System.String dstAnim, System.String srcAnim) [0x00000] in <8020b36805f8478d9f088ef8fc060031>:0 at BathTub.BathTubConfig.CreateBuildingDef () [0x00000] in <8020b36805f8478d9f088ef8fc060031>:0 at BuildingConfigManager.RegisterBuilding (IBuildingConfig config) [0x00000] in :0 at GeneratedBuildings.GeneratedBuildings.LoadGeneratedBuildings_Patch13 (System.Collections.Generic.List1[T] ) [0x00000] in <b86e23fe3b43405384b0abb90493789e>:0 at LegacyModMain.LoadBuildings (System.Collections.Generic.List1[T] types) [0x00000] in :0 at LegacyModMain.Load () [0x00000] in :0 at Assets.CreatePrefabs () [0x00000] in :0 at Assets.Assets.OnPrefabInit_Patch7 (Assets ) [0x00000] in :0 at KMonoBehaviour.InitializeComponent () [0x00000] in <3a2e13ca97c146c4b5d2f735a443e5e3>:0 at KMonoBehaviour.Awake () [0x00000] in <3a2e13ca97c146c4b5d2f735a443e5e3>:0 at UnityEngine.Object.Internal_InstantiateSingleWithParent_Injected (UnityEngine.Object data, UnityEngine.Transform parent, UnityEngine.Vector3& pos, UnityEngine.Quaternion& rot) [0x00000] in <72b60a3dd8cd4f12a155b761a1af9144>:0 at UnityEngine.Object.Internal_InstantiateSingleWithParent (UnityEngine.Object data, UnityEngine.Transform parent, UnityEngine.Vector3 pos, UnityEngine.Quaternion rot) [0x00000] in <72b60a3dd8cd4f12a155b761a1af9144>:0 at UnityEngine.Object.Instantiate (UnityEngine.Object original, UnityEngine.Vector3 position, UnityEngine.Quaternion rotation, UnityEngine.Transform parent) [0x00000] in <72b60a3dd8cd4f12a155b761a1af9144>:0 at UnityEngine.Object.Instantiate[T] (T original, UnityEngine.Vector3 position, UnityEngine.Quaternion rotation, UnityEngine.Transform parent) [0x00000] in <72b60a3dd8cd4f12a155b761a1af9144>: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 <3a2e13ca97c146c4b5d2f735a443e5e3>:0 at Util.KInstantiate (UnityEngine.GameObject original, UnityEngine.GameObject parent, System.String name) [0x00000] in <3a2e13ca97c146c4b5d2f735a443e5e3>:0 at LaunchInitializer.Update () [0x00000] in :0 Build: U52-622222-SC

Steps To Reproduce

  1. Enable Bubble Bathtub
  2. Restart Game
  3. Crash !

Player.log

Player.log

Sgt-Imalas commented 2 months ago

thx for the report. fixed in 1.0.2 (for this mod, other mods will likely still run into the same issue)