rjw-genes/KNOWN_BUGS.md

59 lines
2.1 KiB
Markdown
Raw Normal View History

2022-11-16 19:49:28 +00:00
# Known Bugs
Collection of Known Bugs and reasons for their origin.
## Random Vaginas for Goblins
2022-11-22 06:53:05 +00:00
Error: Pawns have different genitalia than expected, e.g. if the "no vagina" gene is specified there are pawns with vaginas AND a penis.
2022-11-16 19:49:28 +00:00
2022-11-22 06:53:05 +00:00
Possible causes:
2022-11-16 19:49:28 +00:00
2022-11-22 06:53:05 +00:00
- The "Male Female Only Genes" from Steam
- A Futa generated by RJW
Solutions:
I added my own Male/Female only genes, taking Genitalia and Order in Account. Yet there was no issue with this.
Maybe you can also fix it by changing `<DisplayOrderInXenotype>` in the Male/Female only Genes of the Steamworkshop, to be higher than the ones about genitalia. This way, the gender should be changed before my genes fire.
2022-11-16 19:49:28 +00:00
## Full-No-Genital-Genes get Genitals later
2022-11-22 06:53:05 +00:00
Error: I added all "no-XXX" genes but my pawn has genitalia on map!
Reason: If you go with Full-No-Genitals (No Penis, No Anus, No Breasts, No Vagina) then the pawn spawns without any Genitalia on the map,
2022-11-16 19:49:28 +00:00
however then the RJW base-logic runs the sexualizer.
**Workaround**: Have atleast 1 genitalia enabled with Genes, I recommend the anus.
## Log Pops up for Xenotypes with Female/Male Only Gene
Error:
When using a Xenotype with the Female only gene, upon refresh it can open the log with the following (red) statement:
```
[RJW] ChangeSex error (PAWNNAME) faction (FACTION). Probably tried to change sex at world gen for royalty implant, skipping
UnityEngine.StackTraceUtility:ExtractStackTrace ()
Verse.Log:Error (string)
rjw.ModLog:Error (string)
rjw.GenderHelper:ChangeSex (Verse.Pawn,rjw.GenderHelper/Sex,rjw.GenderHelper/Sex)
rjw.GenderHelper:ChangeSex (Verse.Pawn,System.Action)
RJW_Genes.Gene_FemaleOnly:AdjustPawnToFemale ()
RJW_Genes.Gene_FemaleOnly:PostMake ()
RimWorld.GeneMaker:MakeGene (Verse.GeneDef,Verse.Pawn)
[... some more ...]
```
Reason:
RJW covers some corner cases when the pawn is changed before creation.
Current Solution:
Ignore this. The pawns seem to have the right sex and genitalia, I cannot "catch" the exception as it is only a Log Error. I would need to do harmony patching and ... that seems to be too much.
Aimed Solution:
Patch ChangeSex to skip for pawns with the two genes producing this.