Skip to content

Water Sources Crash #39

Description

@Katables

Any time I place or load a map where i've placed a Ground Aquifer I crash with Moddable Timberborn installed and loaded, Current version v11.1.2

Crash Log
NullReferenceException: Object reference not set to an instance of an object
ModdableTimberborn.ModdableWaterSource.Patches.ImmunePatches.RemoveDroughtStrengthModifier (Timberborn.WaterSourceSystem.DroughtWaterStrengthModifier __instance, System.Single& __result) (at D:/Personal/Mods/Timberborn/TimberbornMods/ModdableTimberborn/ModdableWaterSource/Patches/ImmunePatches.cs:10)
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition.Timberborn.WaterSourceSystem.DroughtWaterStrengthModifier.GetStrengthModifier_Patch1(Timberborn.WaterSourceSystem.DroughtWaterStrengthModifier)
Timberborn.WaterSourceSystem.WaterSource.UpdateCurrentStrength () (at <2cf4e4e8000c4c9f8ccbf6dd93d38a53>:0)
Timberborn.WaterSourceSystem.WaterSource.AddWaterStrengthModifier (Timberborn.WaterSourceSystem.IWaterStrengthModifier waterStrengthModifier) (at <2cf4e4e8000c4c9f8ccbf6dd93d38a53>:0)
Timberborn.WaterSourceSystem.DroughtWaterStrengthModifier.Enable () (at <2cf4e4e8000c4c9f8ccbf6dd93d38a53>:0)
Timberborn.WaterSourceSystem.DroughtWaterStrengthModifier.InitializeEntity () (at <2cf4e4e8000c4c9f8ccbf6dd93d38a53>:0)
Timberborn.EntitySystem.EntityComponent.Initialize () (at :0)
Timberborn.WorldPersistence.EntitiesLoader.Initialize (System.Collections.Generic.IEnumerable1[T] entities) (at <fc330c06b87549268f4ecd2e5939a655>:0) Timberborn.WorldPersistence.EntitiesLoader.LoadAndInitialize (System.Collections.Generic.ICollection1[T] entities) (at :0)
Timberborn.WorldPersistence.WorldEntitiesLoader.LoadNonSingletons () (at :0)
Timberborn.SingletonSystem.SingletonLifecycleService.LoadNonSingletons () (at <1ea3454937d4474f817554bf096ffc88>:0)
Timberborn.SingletonSystem.SingletonLifecycleService.LoadAll () (at <1ea3454937d4474f817554bf096ffc88>:0)
Timberborn.SingletonSystem.SingletonLifecycleUnityAdapter.Start () (at <1ea3454937d4474f817554bf096ffc88>:0)

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions