RimWorld

RimWorld

The Birds and the Bees (UNOFFICIAL 1.5)
Psigh 3 Aug, 2022 @ 2:33am
Inconvenient log spam with Android Tiers
hello, i just paid attention to the debug log and i noticed something: even though artificial creatures from AT have no fertility in the health tab, as they should, the game appears to be constantly checking and confirming that they are, and right afterwards returning an error which clogs the debug log completely. it's a very weird behaviour but it might be harmless, would you have any tips on the matter? if it can save some tps i'd be willing to try and patch it out myself, like excluding each creature manually from the constant check
< >
Showing 1-2 of 2 comments
Psigh 3 Aug, 2022 @ 2:42am 
This is the exact message in the log, it's always the same repeatedly


Exception in BreadthFirstTraverse: System.NullReferenceException: Object reference not set to an instance of an object
at Fluffy_BirdsAndBees.PawnUtility_FertileMateTarget.Prefix (System.Boolean& __result, Verse.Pawn female) [0x00047] in <e6b5b20830a543ec8e4e55266ea2e7fb>:0
at (wrapper dynamic-method) RimWorld.PawnUtility.RimWorld.PawnUtility.FertileMateTarget_Patch1(Verse.Pawn,Verse.Pawn)
at RimWorld.JobGiver_NewMate+<>c__DisplayClass1_0.<TryGiveJob>b__0 (Verse.Thing t) [0x00029] in <8bdaf7242eff44b99e2d9c40fae34c1e>:0
at Verse.GenClosest+<>c__DisplayClass4_0.<RegionwiseBFSWorker>b__1 (Verse.Region r) [0x000f7] in <81af9f8a18324e17b286924a43555a7c>:0
at Verse.RegionTraverser+BFSWorker.BreadthFirstTraverseWork (Verse.Region root, Verse.RegionEntryPredicate entryCondition, Verse.RegionProcessor regionProcessor, System.Int32 maxRegions, Verse.RegionType traversableRegionTypes) [0x00054] in <81af9f8a18324e17b286924a43555a7c>:0
at Verse.RegionTraverser.BreadthFirstTraverse (Verse.Region root, Verse.RegionEntryPredicate entryCondition, Verse.RegionProcessor regionProcessor, System.Int32 maxRegions, Verse.RegionType traversableRegionTypes) [0x00044] in <81af9f8a18324e17b286924a43555a7c>:0
UnityEngine.StackTraceUtility:ExtractStackTrace ()
(wrapper dynamic-method) Verse.Log:Verse.Log.Error_Patch2 (string)
Verse.RegionTraverser:BreadthFirstTraverse (Verse.Region,Verse.RegionEntryPredicate,Verse.RegionProcessor,int,Verse.RegionType)
Verse.GenClosest:RegionwiseBFSWorker (Verse.IntVec3,Verse.Map,Verse.ThingRequest,Verse.AI.PathEndMode,Verse.TraverseParms,System.Predicate`1<Verse.Thing>,System.Func`2<Verse.Thing, single>,int,int,single,int&,Verse.RegionType,bool)
Verse.GenClosest:ClosestThingReachable (Verse.IntVec3,Verse.Map,Verse.ThingRequest,Verse.AI.PathEndMode,Verse.TraverseParms,single,System.Predicate`1<Verse.Thing>,System.Collections.Generic.IEnumerable`1<Verse.Thing>,int,int,bool,Verse.RegionType,bool)
RimWorld.JobGiver_NewMate:TryGiveJob (Verse.Pawn)
Verse.AI.ThinkNode_JobGiver:TryIssueJobPackage (Verse.Pawn,Verse.AI.JobIssueParams)
Verse.AI.ThinkNode_Priority:TryIssueJobPackage (Verse.Pawn,Verse.AI.JobIssueParams)
Verse.AI.ThinkNode_SubtreesByTag:TryIssueJobPackage (Verse.Pawn,Verse.AI.JobIssueParams)
Verse.AI.ThinkNode_Priority:TryIssueJobPackage (Verse.Pawn,Verse.AI.JobIssueParams)
(wrapper dynamic-method) Verse.AI.Pawn_JobTracker:Verse.AI.Pawn_JobTracker.DetermineNextJob_Patch5 (Verse.AI.Pawn_JobTracker,Verse.ThinkTreeDef&)
Verse.AI.Pawn_JobTracker:TryFindAndStartJob ()
(wrapper dynamic-method) Verse.AI.Pawn_JobTracker:Verse.AI.Pawn_JobTracker.EndCurrentJob_Patch4 (Verse.AI.Pawn_JobTracker,Verse.AI.JobCondition,bool,bool)
(wrapper dynamic-method) Verse.AI.Pawn_JobTracker:Verse.AI.Pawn_JobTracker.JobTrackerTick_Patch0 (Verse.AI.Pawn_JobTracker)
(wrapper dynamic-method) Verse.Pawn:Verse.Pawn.Tick_Patch3 (Verse.Pawn)
Verse.TickList:Tick ()
(wrapper dynamic-method) Verse.TickManager:Verse.TickManager.DoSingleTick_Patch5 (Verse.TickManager)
Verse.TickManager:TickManagerUpdate ()
(wrapper dynamic-method) Verse.Game:Verse.Game.UpdatePlay_Patch3 (Verse.Game)
(wrapper dynamic-method) Verse.Root_Play:Verse.Root_Play.Update_Patch1 (Verse.Root_Play)
Kalash 31 Aug, 2022 @ 4:09pm 
same
:denton:
< >
Showing 1-2 of 2 comments
Per page: 1530 50