Skip to content

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

Description

@fruixs

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

BugSomething isn't workingUnable to reproduceThis bug is unable to reproduce

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions