RimWorld

RimWorld

WVC - Xenotypes and Genes
 This topic has been pinned, so it's probably important
Sergkart  [developer] 10 Nov, 2022 @ 4:45pm
Bug Reports
If you find a bug try this load order and only then report a bug:

- Harmony
- Core
- Royalty (Optional)
- Ideology (Optional)
- Biotech
- Anomaly (Optional)
- Vanilla Expanded Framework (Optional)
- WVC - Xenotypes and Genes

Provide a log!
Also, please provide a HugsLib log or Log Publisher log

Any logs are allowed, but it is desirable that the number of mods be minimized as much as possible. Reading a log for thousands of lines is very inconvenient and very often useless due to the abundance of spam.

Don't skimp on information!
The more information you provide, the better. All the little things matter. Enabled/disabled settings, actions that led to the error, as well as ways to repeat errors.

Please note that if your bug report does not contain any important information or a meaningful log, then this is a waste of my time and yours.

If the game crashes
Start the game with the modlist specified above

Go to settings and click the Open button next to Log file folder

And send the contents of both logs:

Player.log
Player-prev.log

Please note that the second log is the log from the previous launch of the game and it is overwritten by every second launch.
Last edited by Sergkart; 27 Nov, 2024 @ 2:34am
< >
Showing 1-15 of 185 comments
derksenmobile 10 Dec, 2022 @ 3:54pm 
I don't know if this report should go to you or to Alpha Genes, so I'll post it in both places. I got a Wretch colonist with Alpha Genes' "Unstable mutation, catastrophic" gene in her. This causes her to be given ten new random mutations each day. She randomly received the WVC Genes' "Claws" mutation one day. Then when the next day rolled around and she got a new set of mutations the claws disappeared, taking all ten of her fingers away with them. She bled out in two hours from the ten "Removed (fresh)" wounds where her fingers were missing. Perhaps a different approach to adding claws would be more robust? Biotech Expansion - Mammalia has a "claws" gene that looks like it uses a different mechanism, though I've not looked at the code in any way.
Sergkart  [developer] 10 Dec, 2022 @ 5:28pm 
Originally posted by derksenmobile:
I don't know if this report should go to you or to Alpha Genes, so I'll post it in both places. I got a Wretch colonist with Alpha Genes' "Unstable mutation, catastrophic" gene in her. This causes her to be given ten new random mutations each day. She randomly received the WVC Genes' "Claws" mutation one day. Then when the next day rolled around and she got a new set of mutations the claws disappeared, taking all ten of her fingers away with them. She bled out in two hours from the ten "Removed (fresh)" wounds where her fingers were missing. Perhaps a different approach to adding claws would be more robust? Biotech Expansion - Mammalia has a "claws" gene that looks like it uses a different mechanism, though I've not looked at the code in any way.

Oh, so they are still deleted as expected, I thought this would cause a bug. Thanks for testing something I didn't have time for :D

And speaking of unstable genes. It seemed to me that this was the feature of these genes, that at any moment a pawn could die from the fact that its arms or legs fell off.

But I will change the claws so that they are no longer considered solid. And I must warn you that in my mod there is a gene from which arms fall off.
derksenmobile 10 Dec, 2022 @ 10:25pm 
Arm-Fall-Off-Boy is a famous superhero, so I'm expecting that gene to give incredible combat benefits when it comes around.
Lennybolt7 22 Dec, 2022 @ 3:20am 
Cannot save my custom xenotype.


On xeno creation
Click save and apply, then confirm, and a small blank box flashes for a moment. Nothing happens from that point and The confirm UI stays.

Log: https://gist.github.com/HugsLibRecordKeeper/4896c9b581ae06dd0d74ca4f6d73c9a9

visual exeptions also gives a long error. Here's the start of it. Can provide whole VE logged error if wanted. I have it saved, just don't want to make a wall of text without permission.

Exception in Verse.StartingPawnUtility.NewGeneratedStartingPawn: System.NullReferenceException: Object reference not set to an instance of an object
at WVC.ConditionalStatAffecter_MechanitorUsedBandwidth.Applies (RimWorld.StatRequest req) [0x0002b] in <130421d6982049988e3891f0d44ce16e>:0
Sergkart  [developer] 22 Dec, 2022 @ 5:35am 
Originally posted by Lennybolt7:
Cannot save my custom xenotype.


On xeno creation
Click save and apply, then confirm, and a small blank box flashes for a moment. Nothing happens from that point and The confirm UI stays.

Log: https://gist.github.com/HugsLibRecordKeeper/4896c9b581ae06dd0d74ca4f6d73c9a9

visual exeptions also gives a long error. Here's the start of it. Can provide whole VE logged error if wanted. I have it saved, just don't want to make a wall of text without permission.

Exception in Verse.StartingPawnUtility.NewGeneratedStartingPawn: System.NullReferenceException: Object reference not set to an instance of an object
at WVC.ConditionalStatAffecter_MechanitorUsedBandwidth.Applies (RimWorld.StatRequest req) [0x0002b] in <130421d6982049988e3891f0d44ce16e>:0

Fixed, I hope. Now it should work correctly.
GlockenGold 11 Mar, 2023 @ 7:05am 
Getting instant crash to desktop whenever I apply the Mechakin or Rogkin xenotypes to pawns, whether by starting the lone meca scenario or doing it through the Apply Xenotype command in dev mode. Can't share a hugslog obviously, since it crashes before I can create one, but sharing the player.log instead, as well as mod list.
https://rentry.co/va42r
https://pastebin.com/tPvQQtcn
Sergkart  [developer] 11 Mar, 2023 @ 7:18am 
Originally posted by GlockenGold:
Getting instant crash to desktop whenever I apply the Mechakin or Rogkin xenotypes to pawns, whether by starting the lone meca scenario or doing it through the Apply Xenotype command in dev mode. Can't share a hugslog obviously, since it crashes before I can create one, but sharing the player.log instead, as well as mod list.
https://rentry.co/va42r
https://pastebin.com/tPvQQtcn

Please repeat this bug on the modlist above. I did not find any errors in your log related to my mod. It also contains too much junk information.

Also clear the rocketman cache associated with startup acceleration.
GlockenGold 12 Mar, 2023 @ 3:45am 
Right, apologies for not following the instructions initially. The problem is not in this mod on its own, but it does appear to be incompatible with Better Gene Prerequisites .
Once BGP is added to the list, the game crashes to desktop if I try to apply the Rogkin och Mechakin xenotypes. I don't know who would be best positioned to patch this, but letting you both know in case it is something that you care to fix.
Sergkart  [developer] 12 Mar, 2023 @ 4:28am 
Originally posted by GlockenGold:
Right, apologies for not following the instructions initially. The problem is not in this mod on its own, but it does appear to be incompatible with Better Gene Prerequisites .
Once BGP is added to the list, the game crashes to desktop if I try to apply the Rogkin och Mechakin xenotypes. I don't know who would be best positioned to patch this, but letting you both know in case it is something that you care to fix.

I'll see what can be done on my end. But this is more of a Better Gene Prerequisites problem since I'm using vanilla code.
RedMattis 8 Apr, 2023 @ 11:28am 
Just writing her since I noticed the discussion existed. I'm pretty sure the crash with Better Gene Prerequisites issue is solved since a few weeks ago.
'atrick 10 Apr, 2023 @ 6:46pm 
There seems to be an issue with vanilla framework expanded, here is the stacktrace.
====================================================================

Exception ticking world pawn Emmi. Suppressing further errors. System.NullReferenceException: Object reference not set to an instance of an object
at VanillaGenesExpanded.VanillaGenesExpanded_PawnGraphicSet_ResolveAllGraphics_Patch.PostFix (Verse.PawnGraphicSet __instance) [0x001f4] in <a743761b88e342d681e1376061985c0e>:0
at (wrapper dynamic-method) Verse.PawnGraphicSet.Verse.PawnGraphicSet.ResolveAllGraphics_Patch10(Verse.PawnGraphicSet)
at Rimworld_Animations_Patch.CompPawnSexData.CompTick () [0x0003a] in <6f2df037c6b74a1a962123bdf732f88c>:0
at (wrapper dynamic-method) Verse.ThingWithComps.Verse.ThingWithComps.Tick_Patch1(Verse.ThingWithComps)
at (wrapper dynamic-method) Verse.Pawn.Verse.Pawn.Tick_Patch6(Verse.Pawn)
at RimWorld.Planet.WorldPawns.WorldPawnsTick () [0x00039] in <3cca3e6203e64b109fd8ce21f7120d03>:0
UnityEngine.StackTraceUtility:ExtractStackTrace ()
(wrapper dynamic-method) Verse.Log:Verse.Log.Error_Patch1 (string)
Verse.Log:ErrorOnce (string,int)
RimWorld.Planet.WorldPawns:WorldPawnsTick ()
RimWorld.Planet.World:WorldTick ()
DTimeControl.TimeControlBase:TickManagerTick (Verse.TickManager,bool)
DTimeControl.Core_Patches.Patch_DoSingleTick_Prefix:Prefix (Verse.TickManager)
(wrapper dynamic-method) Verse.TickManager:Verse.TickManager.DoSingleTick_Patch7 (Verse.TickManager)
(wrapper dynamic-method) Verse.TickManager:Verse.TickManager.TickManagerUpdate_Patch2 (Verse.TickManager)
(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)


====================================================================
'atrick 10 Apr, 2023 @ 6:46pm 
Lemme know if you need anything else like
Sergkart  [developer] 10 Apr, 2023 @ 11:27pm 
Originally posted by SSBMT1ZFIFRIRSBDT01CSU5FISEh:
There seems to be an issue with vanilla framework expanded, here is the stacktrace.
====================================================================

Exception ticking world pawn Emmi. Suppressing further errors. System.NullReferenceException: Object reference not set to an instance of an object...

Fixed. If the error appears again make sure you have updated to the latest version of the mod.
Ren 19 Apr, 2023 @ 11:19am 
Not so much a bug but it causes a huge spike in performance drop because of "WVC.Patch_BleedRateTotal:Postfix", mostly during big raids but sometimes with big enough trade caravans too
Sergkart  [developer] 19 Apr, 2023 @ 12:36pm 
Originally posted by Renegade:
Not so much a bug but it causes a huge spike in performance drop because of "WVC.Patch_BleedRateTotal:Postfix", mostly during big raids but sometimes with big enough trade caravans too

Not confirmed. I had to spawn over 100 pawns to see a big performance impact and the lags were independent of this patch. But I'll see what can be done with optimization.
< >
Showing 1-15 of 185 comments
Per page: 1530 50