RimWorld

RimWorld

Biotech Expansion - Mammalia
Aryaltel 31 Oct, 2022 @ 11:58am
Info Pane Blank - Bug Reports & Error Logs
When using a xenotype that doesn't have the milk gene, the [ i ] info/detailed stat menu for all my pawns is blank with a div/0 error in logs. The errors added below both repeat. I do have a lot of mods, and will attempt to narrow down if there's a conflict.
Last edited by Aryaltel; 31 Oct, 2022 @ 12:02pm
< >
Showing 1-14 of 14 comments
Aryaltel 31 Oct, 2022 @ 11:59am 
AL: resource Milk
UnityEngine.StackTraceUtility:ExtractStackTrace ()
Verse.Log:Warning (string)
AnimalsLogic.AnimalProductionInfo:ProductionInfo (System.Collections.Generic.IEnumerable`1<RimWorld.StatDrawEntry>&,Verse.RaceProperties,Verse.ThingDef,RimWorld.StatRequest)
(wrapper dynamic-method) Verse.RaceProperties:Verse.RaceProperties.SpecialDisplayStats_Patch1 (Verse.RaceProperties,Verse.ThingDef,RimWorld.StatRequest)
Verse.ThingDef/<SpecialDisplayStats>d__354:MoveNext ()
VFECore.ThingDef_SpecialDisplayStats_Patch/<Postfix>d__0:MoveNext ()
System.Collections.Generic.List`1<RimWorld.StatDrawEntry>:InsertRange (int,System.Collections.Generic.IEnumerable`1<RimWorld.StatDrawEntry>)
System.Collections.Generic.List`1<RimWorld.StatDrawEntry>:AddRange (System.Collections.Generic.IEnumerable`1<RimWorld.StatDrawEntry>)
(wrapper dynamic-method) RimWorld.StatsReportUtility:RimWorld.StatsReportUtility.DrawStatsReport_Patch3 (UnityEngine.Rect,Verse.Thing)
(wrapper dynamic-method) Verse.Dialog_InfoCard:Verse.Dialog_InfoCard.FillCard_Patch1 (Verse.Dialog_InfoCard,UnityEngine.Rect)
Verse.Dialog_InfoCard:DoWindowContents (UnityEngine.Rect)
Verse.Window:InnerWindowOnGUI (int)
UnityEngine.GUI:CallWindowDelegate (UnityEngine.GUI/WindowFunction,int,int,UnityEngine.GUISkin,int,single,single,UnityEngine.GUIStyle)
Aryaltel 31 Oct, 2022 @ 12:00pm 
Exception filling window for Verse.Dialog_InfoCard: System.DivideByZeroException: Attempted to divide by zero.
at AnimalsLogic.AnimalProductionInfo.ProductionInfo (System.Collections.Generic.IEnumerable`1[RimWorld.StatDrawEntry]& __result, Verse.RaceProperties __instance, Verse.ThingDef parentDef, RimWorld.StatRequest req) [0x00526] in <8124b8ff68ee41dcb27a811e588b8c4a>:0
at (wrapper dynamic-method) Verse.RaceProperties.Verse.RaceProperties.SpecialDisplayStats_Patch1(Verse.RaceProperties,Verse.ThingDef,RimWorld.StatRequest)
at Verse.ThingDef+<SpecialDisplayStats>d__354.MoveNext () [0x00e2c] in <f4c3e52a3fec4807a874d50b5e1c361f>:0
at VFECore.ThingDef_SpecialDisplayStats_Patch+<Postfix>d__0.MoveNext () [0x0008b] in <fb9ae140abf54bf9a978ac13cceaacb6>:0
at System.Collections.Generic.List`1[T].InsertRange (System.Int32 index, System.Collections.Generic.IEnumerable`1[T] collection) [0x000db] in <eae584ce26bc40229c1b1aa476bfa589>:0
at System.Collections.Generic.List`1[T].AddRange (System.Collections.Generic.IEnumerable`1[T] collection) [0x00000] in <eae584ce26bc40229c1b1aa476bfa589>:0
at (wrapper dynamic-method) RimWorld.StatsReportUtility.RimWorld.StatsReportUtility.DrawStatsReport_Patch3(UnityEngine.Rect,Verse.Thing)
at (wrapper dynamic-method) Verse.Dialog_InfoCard.Verse.Dialog_InfoCard.FillCard_Patch1(Verse.Dialog_InfoCard,UnityEngine.Rect)
at Verse.Dialog_InfoCard.DoWindowContents (UnityEngine.Rect inRect) [0x00294] in <f4c3e52a3fec4807a874d50b5e1c361f>:0
at Verse.Window.InnerWindowOnGUI (System.Int32 x) [0x001d3] in <f4c3e52a3fec4807a874d50b5e1c361f>:0
UnityEngine.StackTraceUtility:ExtractStackTrace ()
Verse.Log:Error (string)
Verse.Window:InnerWindowOnGUI (int)
UnityEngine.GUI:CallWindowDelegate (UnityEngine.GUI/WindowFunction,int,int,UnityEngine.GUISkin,int,single,single,UnityEngine.GUIStyle)
Lennoxicon  [developer] 31 Oct, 2022 @ 12:14pm 
It appears to be a conflict with Animals Logic. Will look into it when I get the chance.
Lennoxicon  [developer] 31 Oct, 2022 @ 12:27pm 
It looks like Animals Logic detects the inactive milk and wool component, and tries to fill out the stat card with their resource info. This generally shouldn't be a problem since the components SHOULD fill out their resource data on loading. Will try adding some default values for them to see if this will fix it.
Last edited by Lennoxicon; 31 Oct, 2022 @ 12:30pm
Lennoxicon  [developer] 31 Oct, 2022 @ 12:52pm 
Ah, I see. If the components somehow save with a 0 day interval, it causes a div/0 error. Whipping up a patch to fix this now.
Aryaltel 31 Oct, 2022 @ 12:55pm 
Much appreciated!
Pheace 3 Nov, 2022 @ 9:34am 
I've been getting random pawns infopane showing the ability to get milk and sheeps wool, for a fallout Ghoul race, Hussar, even for baseline human pawns.

On a suggestion in discord I tried to remove Mammalia (and animals logic because I'd read this thread before trying it) and startup (before loading saving) gave me Verse.JobDef named BTEMA_MilkPawn and BTEMA_ShearPawn errors and loading into the game gave me a bunch of:
Could not load reference to Rim World.WorkerGiverDef named BTEMa_MilkPawn/ShearPawn and the infopane info so far appears to have disappeared.

I use a TON of mods so maybe it's something else causing this but figured it is worth mentioning as it could be related.

https://gist.github.com/da336efd9f991eec6066f3ce73c43532

Edit: Only removing Animals Logic also seems to have solved it.
Last edited by Pheace; 3 Nov, 2022 @ 9:47am
Lennoxicon  [developer] 3 Nov, 2022 @ 2:34pm 
Heya. This happens because Mammalia stealthily places body resource thingcomps onto the human def. This is done because it's the only way to make those two genes possible. Normally the resource info only shows up when the genes are active (iirc), but Animals Logic forces it to appear since it's designed to show as much info as possible about the animal.
Fluffysminion 9 Nov, 2022 @ 12:44pm 
I've found a bug with a rare interaction between the hidewing elongated fangs and the kill thirst gene, kills with the bite attack don't count as melee kills for the purpose of refilling the kill satiety need. Bit of an obscure situation but hopefully not a nightmare to fix
Lennoxicon  [developer] 9 Nov, 2022 @ 1:19pm 
Heya. This has been a problem for a while now, and is a problem with how kill thirst works in vanilla. I submitted a bug report to Ludeon a while back so we'll see how long it'll take for a bug fix to finally come out.
Penis Deathrow 23 Nov, 2022 @ 9:08am 
I found a bug where if a character can get milked and they're in labour then "gather for birth" disappears.
i'm a comb 25 Nov, 2022 @ 8:49pm 
Hi, I'm receiving a weird texture offset glitch that's only affecting certain noses/snout parts on certain colonists and I'm unsure as to what is causing it. It seems to be a recent issue, and I can't tell if this is an issue with the Biotech Expanded mods themselves or an issue with a different mod.
See these imgur images for the aforementioned bug. Any info will be much appreciated.
https://imgur.com/a/9XthjN1
derksenmobile 10 Dec, 2022 @ 11:00pm 
I think I'm about to submit the darkest bug report I've ever written. Thanks, Rimworld. :)

I have a Blastheart colonist who recently became pregnant. The fetus inherited the "Death blast" gene from her. Around the second trimester the colonist got caught in the crossfire of a raid and was beaten pretty badly. She ended up miscarrying, ie, the fetus died. The description of "Death blast" doesn't have an age-when-enabled listed, it just says "upon the death of the carrier." So why no explosion? I reproduced the scenario using dev tools and confirmed the lack of an intrauterine detonation.

I haven't tested it because I can only go so far while still being able to sleep at night, but it might also be worth checking to see if a stillborn Blastheart produces a proper death blast.
DJkiro19 1 Jun, 2024 @ 12:43pm 
I might have found an incompatibility, every time my blast heart enters a vehicle from vanilla expanded it spams me with this error

System.NullReferenceException: Object reference not set to an instance of an object
[Ref 657B76E5]
at AutoConvert.Core.LiaoyAutoConvert_GameComp.CanImamDoConvert (Verse.Pawn imam) [0x00016] in <c296aca5ed754f2589804967ed3b7312>:0
at AutoConvert.Core.LiaoyAutoConvert_GameComp.CoreAction () [0x00029] in <c296aca5ed754f2589804967ed3b7312>:0
at AutoConvert.Core.LiaoyAutoConvert_GameComp.GameComponentTick () [0x00020] in <c296aca5ed754f2589804967ed3b7312>:0
at Verse.GameComponentUtility.GameComponentTick () [0x00017] in <f0ac5eb9b52e4cc396c70fc9a4ee15e5>:0
UnityEngine.StackTraceUtility:ExtractStackTrace ()
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Log.Error_Patch4 (string)
Verse.GameComponentUtility:GameComponentTick ()
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.TickManager.DoSingleTick_Patch5 (Verse.TickManager)
Verse.TickManager:TickManagerUpdate ()
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Game.UpdatePlay_Patch7 (Verse.Game)
Verse.Root_Play:Update ()

haven't had a chance to try the other xenotypes, first time sending logs so I hope I haven't fek it up
< >
Showing 1-14 of 14 comments
Per page: 1530 50