RimWorld

RimWorld

RimKeeper - Wild Animal Procreation
 This topic has been pinned, so it's probably important
keepercraft  [developer] 24 Jun @ 1:55pm
Bugs & Conflicts 1.6
bugs in test version
< >
Showing 1-15 of 23 comments
Hello, I found a weird bug. When I activate this mod, my tamed female ducks just... stop moving. They stand in the same spot forever, until they collapse of starvation and/or exhaustion. When my pawns rescue them and put them back into the pen after recovery, the ducks move again for a few minutes until they freeze again. It only affects female ducks, the males work just fine. I tried turning off die egg features of this mod, but it didn't help.

There are also no error messages or anything.
keepercraft  [developer] 29 Jun @ 10:04am 
Do you have any errors in logs?
No, there are no errors appearing in the log. All the "frozen" ducks are fertilized and in varying stages of "Egg progress." I had some ducks freeze as soon as they hit 100% progress, so I thought they were somehow prevented from actually laying the egg. But then I had some freeze with 11% and 54% egg progress, so that doesn't seem to be the issue...

Also the problem persists if I disable all my other mods.
(I have just Harmony and RimKeeper - Wild Animal Procreation enabled)


If I enable the mod's debug log, the last message is this:

[RimKeeperAnimals] LayEgg: (165, 0, 149)
UnityEngine.StackTraceUtility:ExtractStackTrace ()
Verse.Log:Message (string)
Keepercraft.RimKeeperAnimals.Helpers.DebugHelper:Message (string,object[]) (at K:/Programing/RimKeeper/RimKeeperAnimals/Source/RimKeeperAnimals/Helpers/DebugHelper.cs:16)
Keepercraft.RimKeeperAnimals.Patches.TryGiveJob_JobGiver_LayEgg_Patch:Prefix (RimWorld.JobGiver_LayEgg,Verse.Pawn,Verse.AI.Job&) (at K:/Programing/RimKeeper/RimKeeperAnimals/Source/RimKeeperAnimals/Patches/LayEggJobGiverPatch.cs:37)
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:RimWorld.JobGiver_LayEgg.TryGiveJob_Patch1 (RimWorld.JobGiver_LayEgg,Verse.Pawn)
Verse.AI.ThinkNode_JobGiver:TryIssueJobPackage (Verse.Pawn,Verse.AI.JobIssueParams)
Verse.AI.ThinkNode_Priority:TryIssueJobPackage (Verse.Pawn,Verse.AI.JobIssueParams)
Verse.AI.Pawn_JobTracker:DetermineNextJob (Verse.ThinkTreeDef&,bool)
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.AI.Pawn_JobTracker.TryFindAndStartJob_Patch1 (Verse.AI.Pawn_JobTracker)
Verse.AI.Pawn_JobTracker:EndCurrentJob (Verse.AI.JobCondition,bool,bool)
Verse.AI.Pawn_JobTracker:JobTrackerTickInterval (int)
Verse.Pawn:TickInterval (int)
Verse.Thing:DoTick ()
Verse.TickList:Tick ()
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.TickManager.DoSingleTick_Patch3 (Verse.TickManager)
Verse.TickManager:TickManagerUpdate ()
Verse.Game:UpdatePlay ()
Verse.Root_Play:Update ()
Last edited by Ravenheart; 29 Jun @ 1:35pm
keepercraft  [developer] 29 Jun @ 3:30pm 
I tested duck different situation and add some changes on 1.6 version.
Last edited by keepercraft; 29 Jun @ 3:33pm
It works now when I deactivate all three egg laying settings in the mod options.
keepercraft  [developer] 30 Jun @ 11:01pm 
But, does the error still occur after the last update?
Ravenheart 30 Jun @ 11:13pm 
Yes, it does. The update didn't help :(
It works only if I deactivate those mod options.
keepercraft  [developer] 16 Jul @ 4:46pm 
I find what is the problem, two toils stuck when animal want go to sleep.
Now i testing solutions for that.
lotsa bugs
Thanks for trying to fix that! This mod is in my usual QoL list (I'm rather purist in my selection), so fixing the sleepless birds would be great.
I can confirm the same problem with wild flying animals (namely, geese).
keepercraft  [developer] 14 Aug @ 4:22pm 
[UA]BorealStargazer thx, do you use any other mods that can cause that situation?
If i get time, i will try simulate that.
strange incompatibility with Obsidia Expansion - Liches Xenotype that causes pawns with the Hemogenic Never Eat gene to refuse to sleep and will stay awake until exhaustion causes them to collapse

Exception in Verse.AI.ThinkNode_PrioritySorter TryIssueJobPackage: System.NullReferenceException: Object reference not set to an instance of an object
[Ref 2E71720D]
at Keepercraft.RimKeeperAnimals.ThinkNodes.IncubationJobDriver.IncubationValid (Verse.Pawn pawn, Verse.AI.Job job) [0x000bb] in K:\Programing\RimKeeper\RimKeeperAnimals\Source\RimKeeperAnimals\ThinkNodes\JobDriver_Incubation.cs:36
at Keepercraft.RimKeeperAnimals.Patches.AnimalSleepMod_Patch.Prefix (RimWorld.JobGiver_LayEgg __instance, Verse.Pawn pawn, Verse.AI.Job& __result) [0x00038] in K:\Programing\RimKeeper\RimKeeperAnimals\Source\RimKeeperAnimals\Patches\GetRestJobGiverPatch.cs:19
at RimWorld.JobGiver_GetRest.TryGiveJob (Verse.Pawn pawn) [0x00028] in <cb53cd4422904947932d33f561ad8d15>:0
- PREFIX OskarPotocki.VanillaTraitsExpanded: Boolean VanillaTraitsExpanded.TryGiveJob_Patch:Prefix(Pawn pawn)
- PREFIX Keepercraft.RimKeeperAnimals: Boolean Keepercraft.RimKeeperAnimals.Patches.AnimalSleepMod_Patch:Prefix(JobGiver_LayEgg __instance, Pawn pawn, Job& __result)
at Verse.AI.ThinkNode_JobGiver.TryIssueJobPackage (Verse.Pawn pawn, Verse.AI.JobIssueParams jobParams) [0x00000] in <cb53cd4422904947932d33f561ad8d15>:0
at Verse.AI.ThinkNode_PrioritySorter.TryIssueJobPackage (Verse.Pawn pawn, Verse.AI.JobIssueParams jobParams) [0x000f2] in <cb53cd4422904947932d33f561ad8d15>:0
UnityEngine.StackTraceUtility:ExtractStackTrace ()
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Log.Error_Patch2 (string)
Verse.AI.ThinkNode_PrioritySorter:TryIssueJobPackage (Verse.Pawn,Verse.AI.JobIssueParams)
Verse.AI.ThinkNode_Priority:TryIssueJobPackage (Verse.Pawn,Verse.AI.JobIssueParams)
Verse.AI.ThinkNode_Tagger:TryIssueJobPackage (Verse.Pawn,Verse.AI.JobIssueParams)
Verse.AI.ThinkNode_Subtree:TryIssueJobPackage (Verse.Pawn,Verse.AI.JobIssueParams)
Verse.AI.ThinkNode_Priority:TryIssueJobPackage (Verse.Pawn,Verse.AI.JobIssueParams)
Verse.AI.ThinkNode_Conditional:TryIssueJobPackage (Verse.Pawn,Verse.AI.JobIssueParams)
Verse.AI.ThinkNode_Priority:TryIssueJobPackage (Verse.Pawn,Verse.AI.JobIssueParams)
Verse.AI.Pawn_JobTracker:DetermineNextJob (Verse.ThinkTreeDef&,bool)
Verse.AI.Pawn_JobTracker:TryFindAndStartJob ()
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.AI.Pawn_JobTracker.EndCurrentJob_Patch2 (Verse.AI.Pawn_JobTracker,Verse.AI.JobCondition,bool,bool)
Verse.AI.Pawn_JobTracker:JobTrackerTickInterval (int)
Verse.Pawn:TickInterval (int)
Verse.Thing:DoTick ()
Verse.TickList:Tick ()
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.TickManager.DoSingleTick_Patch1 (Verse.TickManager)
Verse.TickManager:TickManagerUpdate ()
Verse.Game:UpdatePlay ()
Verse.Root_Play:Update ()
keepercraft  [developer] 18 Aug @ 10:34pm 
https://gtm.steamproxy.vip/sharedfiles/filedetails/?id=3318124376
WoW, did that effect at genes on wildman or animals?
Do you try disable specific functionality in mod options on my mod (Incubation section)?
Do try change mods load order?
Last edited by keepercraft; 18 Aug @ 10:36pm
keepercraft  [developer] 18 Aug @ 11:16pm 
Ok, i find out.
There was missing information about pawn information and it cause null massage. :hardhat:
Check if it works.
@keepercraft Not sure which mods can cause that (you probably understand this as well), but skimmed my list anyway for probable culprits.
- Vanilla Animals Expanded
- Animals Logic
- Common Sense
- Pick Up And Haul

As @Ravenheart pointed out, it stops when all three egg-related checkboxes are disabled in the options. You did at least two updates since then, I'll reenable them and see how it goes.

Another strange problem I've encountered is that some egg-laying wild animals that are supposed to lay unfertilized eggs (like sparrows or quails from the Odyssey DLC) still stop at 50% with "unfertilized" comment, even when male birds are around. It doesn't happen all the time since I still find wild eggs (from geese of Vanilla Animals Expanded) occasionally. Initially I discarded it as a coincidence (animals don't mate all the time anyway) but it's been a week which is strange.
Can't check this right now: I've just survived a heat wave and all the wild creatures ran away. Need more time.
Last edited by [UA]BorealStargazer; 19 Aug @ 5:35am
< >
Showing 1-15 of 23 comments
Per page: 1530 50