RimWorld

RimWorld

Body Size Genes
 Denne tråd er blevet fastgjort, så den er sikkert vigtig
Mute  [udvikler] 13. nov. 2022 kl. 14:53
Bug Reports
When posting a bugreport, please include a hugslib log (Ctrl+F12) generated when you encounter the bug.
< >
Viser 1-10 af 10 kommentarer
Novix 16. nov. 2022 kl. 15:28 
on world gen only one faction base will spawn, period, and the faction menu remains blank, using the Dev logs I found it comes from this mod I believe. here is the log report
Error in WorldGenStep: System.NullReferenceException: Object reference not set to an instance of an object
at genebodysize.HarmonyPatches+VariedBodySizesModSettings_AffectMeleeDamagePatch.Postfix (VariedBodySizes.VariedBodySizesModSettings& __result) [0x00021] in <0d4aee43d37644fd8eb9a795f768a6ea>:0
at (wrapper dynamic-method) VariedBodySizes.VariedBodySizesMod.VariedBodySizes.VariedBodySizesMod.get_Settings_Patch1(VariedBodySizes.VariedBodySizesMod)
at VariedBodySizes.Pawn_BodySize.Postfix (System.Single& __result, Verse.Pawn __instance) [0x00000] in <4b1cf93a2d5a42b4bffc46eae2292f84>:0
at (wrapper dynamic-method) Verse.Pawn.Verse.Pawn.get_BodySize_Patch1(Verse.Pawn)
at RimWorld.StatPart_BodySize+<>c.<TryGetBodySize>b__2_0 (Verse.Pawn x) [0x00000] in <1ea541f48818430abd724fc665f76dc4>:0
at RimWorld.PawnOrCorpseStatUtility.TryGetPawnOrCorpseStat (RimWorld.StatRequest req, System.Func`2[T,TResult] pawnStatGetter, System.Func`2[T,TResult] pawnDefStatGetter, System.Single& stat) [0x00019] in <1ea541f48818430abd724fc665f76dc4>:0
at RimWorld.StatPart_BodySize.TryGetBodySize (RimWorld.StatRequest req, System.Single& bodySize) [0x00000] in <1ea541f48818430abd724fc665f76dc4>:0
at RimWorld.StatPart_BodySize.TransformValue (RimWorld.StatRequest req, System.Single& val) [0x00000] in <1ea541f48818430abd724fc665f76dc4>:0
at RimWorld.StatWorker.FinalizeValue (RimWorld.StatRequest req, System.Single& val, System.Boolean applyPostProcess) [0x00022] in <1ea541f48818430abd724fc665f76dc4>:0
at RimWorld.StatWorker.GetValue (RimWorld.StatRequest req, System.Boolean applyPostProcess) [0x0004c] in <1ea541f48818430abd724fc665f76dc4>:0
at (wrapper dynamic-method) RimWorld.StatWorker.RimWorld.StatWorker.GetValue_Patch1(RimWorld.StatWorker,Verse.Thing,bool,int)
at (wrapper dynamic-method) RimWorld.StatExtension.RimWorld.StatExtension.GetStatValue_Patch2(Verse.Thing,RimWorld.StatDef,bool,int)
at RimWorld.Pawn_NeedsTracker.SetInitialLevels () [0x00000] in <1ea541f48818430abd724fc665f76dc4>:0
at Verse.PawnGenerator.TryGenerateNewPawnInternal (Verse.PawnGenerationRequest& request, System.String& error, System.Boolean ignoreScenarioRequirements, System.Boolean ignoreValidator) [0x000e8] in <1ea541f48818430abd724fc665f76dc4>:0
at (wrapper dynamic-method) Verse.PawnGenerator.Verse.PawnGenerator.GenerateNewPawnInternal_Patch1(Verse.PawnGenerationRequest&)
at Verse.PawnGenerator.GenerateOrRedressPawnInternal (Verse.PawnGenerationRequest request) [0x00188] in <1ea541f48818430abd724fc665f76dc4>:0
at (wrapper dynamic-method) Verse.PawnGenerator.Verse.PawnGenerator.GeneratePawn_Patch2(Verse.PawnGenerationRequest)
at RimWorld.Faction.TryGenerateNewLeader () [0x00254] in <1ea541f48818430abd724fc665f76dc4>:0
at RimWorld.FactionGenerator.NewGeneratedFaction (RimWorld.FactionGeneratorParms parms) [0x001f0] in <1ea541f48818430abd724fc665f76dc4>:0
at (wrapper dynamic-method) RimWorld.FactionGenerator.RimWorld.FactionGenerator.GenerateFactionsIntoWorld_Patch0(System.Collections.Generic.List`1<RimWorld.FactionDef>)
at RimWorld.Planet.WorldGenStep_Factions.GenerateFresh (System.String seed) [0x00005] in <1ea541f48818430abd724fc665f76dc4>:0
at RimWorld.Planet.WorldGenerator.GenerateWorld (System.Single planetCoverage, System.String seedString, RimWorld.Planet.OverallRainfall overallRainfall, RimWorld.Planet.OverallTemperature overallTemperature, RimWorld.Planet.OverallPopulation population, System.Collections.Generic.List`1[T] factions, System.Single pollution) [0x0010e] in <1ea541f48818430abd724fc665f76dc4>:0
UnityEngine.StackTraceUtility:ExtractStackTrace ()
Verse.Log:Error (string)
RimWorld.Planet.WorldGenerator:GenerateWorld (single,string,RimWorld.Planet.OverallRainfall,RimWorld.Planet.OverallTemperature,RimWorld.Planet.OverallPopulation,System.Collections.Generic.List`1<RimWorld.FactionDef>,single)
RimWorld.Page_CreateWorldParams:<CanDoNext>b__19_0 ()
Verse.LongEventHandler:RunEventFromAnotherThread (System.Action)
Verse.LongEventHandler/<>c:<UpdateCurrentAsynchronousEvent>b__27_0 ()
System.Threading.ThreadHelper:ThreadStart_Context (object)
System.Threading.ExecutionContext:RunInternal (System.Threading.ExecutionContext,System.Threading.ContextCallback,object,bool)
System.Threading.ExecutionContext:Run (System.Threading.ExecutionContext,System.Threading.ContextCallback,object,bool)
System.Threading.ExecutionContext:Run (System.Threading.ExecutionContext,System.Threading.ContextCallback,object)
System.Threading.ThreadHelper:ThreadStart ()
Sidst redigeret af Novix; 16. nov. 2022 kl. 15:43
Mute  [udvikler] 16. nov. 2022 kl. 19:41 
@Wolfstrike Thanks for the report. Can you include a hugslib log generated when you hit the error? It'll help narrow things down.
Novix 16. nov. 2022 kl. 19:57 
I tried to use the keybinding shown but it didn't work, and now my game is working and not throwing the error anymore, I disabled and re enabled the mods and kept switching them around and I guess something clicked into place and I cannot replicate the error
The Dutchman 18. nov. 2022 kl. 9:00 
Doesnt seem like this mod, but also isnt anything that I can clearly see affects genes. Tries to patch animals, mechs, and animal corpses. Also the log doesnt post for whatever reason, im assuming bc these errors are continuously happening.

Exception drawing Boomalope335010: System.NullReferenceException: Object reference not set to an instance of an object
at Verse.PawnRenderer.DrawBodyGenes (UnityEngine.Vector3 rootLoc, UnityEngine.Quaternion quat, System.Single angle, Verse.Rot4 bodyFacing, Verse.RotDrawMode bodyDrawType, Verse.PawnRenderFlags flags) [0x00000] in <1ea541f48818430abd724fc665f76dc4>:0
at (wrapper dynamic-method) Verse.PawnRenderer.Verse.PawnRenderer.RenderPawnInternal_Patch3(Verse.PawnRenderer,UnityEngine.Vector3,single,bool,Verse.Rot4,Verse.RotDrawMode,Verse.PawnRenderFlags)
at (wrapper dynamic-method) Verse.PawnRenderer.Verse.PawnRenderer.RenderPawnAt_Patch3(Verse.PawnRenderer,UnityEngine.Vector3,System.Nullable`1<Verse.Rot4>,bool)
at Verse.Pawn_DrawTracker.DrawAt (UnityEngine.Vector3 loc) [0x00000] in <1ea541f48818430abd724fc665f76dc4>:0
at (wrapper dynamic-method) Verse.Pawn.Verse.Pawn.DrawAt_Patch1(Verse.Pawn,UnityEngine.Vector3,bool)
at Verse.Thing.Draw () [0x00015] in <1ea541f48818430abd724fc665f76dc4>:0
at (wrapper dynamic-method) Verse.ThingWithComps.Verse.ThingWithComps.Draw_Patch1(Verse.ThingWithComps)
at (wrapper dynamic-method) Verse.DynamicDrawManager.Verse.DynamicDrawManager.DrawDynamicThings_Patch1(Verse.DynamicDrawManager)
UnityEngine.StackTraceUtility:ExtractStackTrace ()
(wrapper dynamic-method) Verse.Log:Verse.Log.Error_Patch2 (string)
(wrapper dynamic-method) Verse.DynamicDrawManager:Verse.DynamicDrawManager.DrawDynamicThings_Patch1 (Verse.DynamicDrawManager)
(wrapper dynamic-method) Verse.Map:Verse.Map.MapUpdate_Patch2 (Verse.Map)
(wrapper dynamic-method) Verse.Game:Verse.Game.UpdatePlay_Patch2 (Verse.Game)
Verse.Root_Play:Update ()
Sidst redigeret af The Dutchman; 18. nov. 2022 kl. 9:05
Superburns 27. nov. 2022 kl. 11:41 
with this new update it seems like some incompatibilities formed.
With Gradient Hair, anyone with a gradient gets an error and the famous pink square.
https://gist.github.com/HugsLibRecordKeeper/e577a2ad1d745bbfc9bfe8f6bd7018a8

also it seems that body proportions are out of wack as of now. in a heavily modded game my colossus gene colonist had giant heads and regular bodies, and smaller genes only had their bodies shrink but not their hair.

even during the testing above those colonists sizes increased but not their heads.
i unfortunately can't find errors for those.
BullyDM 27. nov. 2022 kl. 17:16 
I'm having the same problem as Superburns, where my pawns with various different sizes are shown as normal sized pawns with either comically large bobble heads; large hair and beards, or tiny hair and beards.

https://gist.github.com/b8e25120a55296c02317acbeb2352ce8

I'm running a fairly heavy mod list, but recently done a wipe. I am unsure of what could really be the source of the pawns not being their intended size, but I'd like to not get rid of this nice gene mod.
Mute  [udvikler] 27. nov. 2022 kl. 20:47 
@Superburns I've sent a fix to the gradient hair author, it'll be up as soon as he gets a look at it.

@GrandisimoBull I'll look into it. There's definitely a mod causing some of my changes to fail - see the messages about the variedbodysizes transpiler not finding a target. If you have a chance to cut the list of suspects down, I would appreciate it.
Mute  [udvikler] 27. nov. 2022 kl. 20:57 
aaand it's combat extended. I'll try to support it but to be honest I'm not excited about the prospect.

Good news, it's not combat extended. It's specifically when both Yayo's Animation and HAR are active.
Sidst redigeret af Mute; 27. nov. 2022 kl. 21:40
Caveman 31. jan. 2023 kl. 18:32 
im getting the same problem as Wolfstirke https://gist.github.com/ef37c4cf60460751317699ec3a0db21a
Caveman 31. jan. 2023 kl. 18:47 
fixed it moved it toward the bottom of the mod list as the fallowing

Varied body sizes
Body size genes
Humanoid aliens
< >
Viser 1-10 af 10 kommentarer
Per side: 1530 50