Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - gachatar

#1
Quote from: Oragepoilu on February 09, 2017, 01:19:07 PM
@gach

you talk about a "green" dragon. I never saw one but I can confirm that the special event that spawn a rare "fire" dragon have the exact same problem, unconscious & corrupt save

In case somebody happen to not being able to load a save because of this problem it's always possible to open you save with notepad++ (or something else) and remove the reference to the dragon.
Yes, it was definitely a green dragon, that was also its name. I guess there are multiple variations and they are all broken. I know you can edit save games, but the output log did not point me to the dragon at all. I only found it as the cause while loading an earlier save game and looking at the ingame log as the dragon spawned.
#2
UPDATE: While this bug definitely exists, it's possible that it wasn't the (only) one that corrupted my save game. After not doing the operation minutes later I still got a corrupted save game, which was most likely caused by a Green Dragon spawning, walking around while unconscious (really) and then throwing hundreds of null reference errors to the console. Destroying it with the dev tool seems to have fixed it corrupting the save.


Bug report: cure gunshot wound / scratch / bruise will cause save game corruption if you save immediately after the operation. It seems the pain source is gone but the pain debuff itself will take a few ingame hours to disappear, and during that time it will have a null reference to the pain source and kill your save games and you get a map load error. If you wait until the patient comes out of anesthesia it seems you're safe.


Could not resolve reference to object with loadID Thing_Human2199263 of type Verse.Pawn. Was it compressed away, destroyed, had no ID number, or not saved/loaded right?

Exception from asynchronous event: System.NullReferenceException: Object reference not set to an instance of an object
  at Verse.HediffSet.PartOrAnyAncestorHasDirectlyAddedParts (Verse.BodyPartRecord part) [0x00000] in <filename unknown>:0
  at Verse.Hediff_Injury.get_PainOffset () [0x00000] in <filename unknown>:0
  at Skynet._HediffSet._CalculatePain (Verse.HediffSet _this) [0x00000] in <filename unknown>:0
  at Verse.HediffSet.get_PainTotal () [0x00000] in <filename unknown>:0
  at Verse.PawnCapacityUtility.CapacityEfficiencyOffsetFromPain (Verse.HediffSet hediffs, Verse.PawnCapacityDef capacity) [0x00000] in <filename unknown>:0
  at Verse.PawnCapacityUtility.CalculateEfficiency (Verse.HediffSet diffSet, Verse.PawnCapacityDef capacity) [0x00000] in <filename unknown>:0
  at Verse.PawnCapacitiesHandler.Notify_CapacityEfficienciesDirty () [0x00000] in <filename unknown>:0
  at Verse.HediffSet.DirtyCache () [0x00000] in <filename unknown>:0
  at Verse.HediffSet.ExposeData () [0x00000] in <filename unknown>:0
  at Verse.CrossRefResolver.ResolveAllCrossReferences () [0x00000] in <filename unknown>:0
  at Verse.Game.LoadGame () [0x00000] in <filename unknown>:0
  at Verse.SavedGameLoader.LoadGameFromSaveFile (System.String fileName) [0x00000] in <filename unknown>:0
  at Verse.Root_Play.<Start>m__736 () [0x00000] in <filename unknown>:0
  at Verse.LongEventHandler.RunEventFromAnotherThread (System.Action action) [0x00000] in <filename unknown>:0