Pholith / ONI-Mods

Mods for Oxygen Not Included
https://steamcommunity.com/profiles/76561198263471888/myworkshopfiles/?appid=457140&sort=score&browsefilter=myfiles&view=imagewall
40 stars 13 forks source link

[BUG] Crash on loading after I Love Slickster has been enabled #31

Open fruixs opened 5 months ago

fruixs commented 5 months ago

Describe the bug

Bug report for crash on loading

Error in GameAssets(Clone).Assets.OnPrefabInit at (0.0, 0.0, 0.0)

System.NullReferenceException: Object reference not set to an instance of an object at EntityTemplates.ExtendEntityToBeingABaby (UnityEngine.GameObject prefab, Tag adult_prefab_id, System.String on_grow_item_drop_id, System.Boolean force_adult_nav_type, System.Single adult_threshold) [0x00062] in <3d436e4ec1d5455793674ec559b0cc77>:0 at ILoveSlicksters.AquaOilfloaterBabyConfig.CreatePrefab () [0x0002f] in <0b22794f18054b768e7d15a2ca466517>:0 at EntityConfigManager.RegisterEntity (IEntityConfig config) [0x00000] in <3d436e4ec1d5455793674ec559b0cc77>:0 at (wrapper dynamic-method) EntityConfigManager.EntityConfigManager.LoadGeneratedEntities_Patch11(EntityConfigManager,System.Collections.Generic.List1<System.Type>) at LegacyModMain.LoadEntities (System.Collections.Generic.List1[T] types) [0x00000] in <3d436e4ec1d5455793674ec559b0cc77>:0 at LegacyModMain.Load () [0x0004d] in <3d436e4ec1d5455793674ec559b0cc77>:0 at Assets.CreatePrefabs () [0x00055] in <3d436e4ec1d5455793674ec559b0cc77>:0 at (wrapper dynamic-method) Assets.Assets.OnPrefabInit_Patch14(Assets) at KMonoBehaviour.InitializeComponent () [0x00068] in <3ca21dc18eae422d87255277091f8593>:0 Build: U51-600112-S

Steps To Reproduce

Steps to reproduce the behavior.

Mod Version

ver. 2024.03.01

Configuration (Not needed if you copy paste the full logs)

Windows 11 23H2 Build 22635.3350

Game logs

Player.log

Screenshot

Nothing

Pholith commented 4 months ago

Sorry but I couln't reproduce the bug, maybe another mod interfer with this one ? I don't know which one, probably a critter mod.

Tellik commented 4 months ago

I can confirm that this same crash is existing, however it's something really weird. There's a couple of variables which is making it so that I can't pinpoint exactly what happened.

I was playing with it in offline mode for a few days now, and I came back online to download a new mod (Piped Everything). While doing so, the mod manager updated a mod, Advanced Flow Management

After the mod updated, and with the new mod installed, I Love Slicksters started crashing. The weird part is that everything was up to date a few days ago and working fine.

The mods that are listed in the crash error as being possibly related to the error:

Rocketry Expanded Diseases Expanded Duplicant Stat Selector Suppress Notifications Cluster Generation Manager Bio-Inks More Plants Pacu Morphs Scan & Relay Satellites Chemical Processing: Industrial Overhaul

Confusingly enough, the above mods were playing nicely with the Slicksters mod. It wasn't until a separate mod updated and one was installed that the crashing started happening. The crashing continued to happen even after the Piped Everything mod was removed.

Mods that I have found that had recently updated was: Advanced Flow Management Space Radiator

Neither of those two mods that should be impacting, and when I disable them, then reenable the Slicksters mod, I still get the same crash.

If I wasn't mid game, I'd hunt this down a little better with a clean install and testing these mods more robustly, but hopefully this will give a little bit of a hint at a direction that's causing issues.

Pholith commented 4 months ago

Yes it will help me a lot ! Thanks Could you send me your game save so I can see exactly what's happenning ? @Tellik Of you also have a save of before the installation of piped output that can be very usefull

Pholith commented 1 month ago

Looks like it is an incompatibility with More Plants. You must disable the mod to get this one working.