cseelhoff / RimThreaded

RimThreaded is a RimWorld mod designed to enable RimWorld to utilize multiple threads.
MIT License
119 stars 21 forks source link

"children school and learning" + "babies and children" - All pawns appear as babies when first created #734

Open wasakoki opened 2 years ago

wasakoki commented 2 years ago

Developer To Do Notes:

Non-Vanilla Bug Report

Describe the bug

when using rimthreaded + "children school and learning" + "babies and children" mods, almost all pawns will generate as babies when the game first creates them. after some time of regular play they randomly will correct themselves and turn into the correct age texture (reloading the save works too). starting colonists and raiders almost always have the issue, though quest-related refugees and trade caravans are sometimes unaffected and inconsistent at best. a workaround to fix it is by saving & exiting the game, and then reloading the save will fix all affected pawns.

Steps to reproduce the behavior (VERY IMPORTANT)

  1. load modlist provided below
  2. configure the "born age" mod setting in the "children, school and learning" config to 0
  3. load a new colony, any scenario. When creating characters their sprites will all appear as babies (or whatever current life stage their species' "born age" is set to)
  4. (optional) On an existing world, trigger a raid, or anything similar that creates new pawns. They will usually appear as their "born age" when coming on the map
  5. After a few moments (anywhere from seconds to minutes, some cases indefinitely until a save & reload), the colonist's sprite will correct itself and show as the correct age, which "fixes" the issue.

Error Logs ?

No error is generated in debug log related to the issue, however this does exist in the rimthreaded mod config:

Potential RimThreaded mod conflicts :

  ---Patch method: RimThreaded.Room_Patch Boolean get_ContainedAndAdjacentThings(Verse.Room, System.Collections.Generic.List`1[Verse.Thing] ByRef)---
  RimThreaded priority: 0
  owner: majorhoff.rimthreaded -   priority: 400

  ---Patch method: RimThreaded.PortraitsCache_Patch Boolean RemoveExpiredCachedPortraits()---
  RimThreaded priority: 0
  owner: majorhoff.rimthreaded -   priority: 400

  ---Patch method: RimThreaded.PortraitsCache_Patch Boolean SetAnimatedPortraitsDirty()---
  RimThreaded priority: 0
  owner: majorhoff.rimthreaded -   priority: 400

  ---Patch method: RimThreaded.Room_Patch Boolean UpdateRoomStatsAndRole(Verse.Room)---
  RimThreaded priority: 0
  owner: Children -   priority: 400

HugsLib log

https://gist.github.com/HugsLibRecordKeeper/e0fcdf83dafb2bfa87e2507794d361a9 log after starting a new colony, opening an ancient danger, and letting it sit for 10 days. (the "Mod x is not in valid format." issues are unrelated and because i keep steam + local copies of mods using fluffy mod manager. they're all disabled and i'm using the latest steam version for the activated mods in this test environment).

Save file ?

N/A - occurs in any save

Screenshots (Optional) ?

image image

Mod list (Preferably a RimPy compatible list.) ?