Skip to content

Exception filling window for RimWorld.Dialog_FormCaravan: System.NullReferenceException #331

@askrylov-gif

Description

@askrylov-gif

Describe the bug
When reforming a caravan and adding bodies to the transported cargo, their mass is not added to the mass of transported items in the caravan calculator.

To Reproduce

  1. Create a new settlement.
  2. Send a caravan.
  3. At the destination, set up a temporary camp.
  4. Kill several animals.
  5. Open the world map.
  6. Reform caravan.
  7. Add the animal bodies to the cargo.
  8. Check that the final mass in the calculator remains unchanged.

Screenshots
Image

Image Image Image After departure, the caravan's weight is recalculated correctly.

Additional context
When creating a caravan in a home settlement, everything works correctly and this bug does not appear.

Initializing new game with mods:

  • brrainz.harmony
  • Ludeon.RimWorld
  • Ludeon.RimWorld.Royalty
  • Ludeon.RimWorld.Ideology
  • Ludeon.RimWorld.Biotech
  • Ludeon.RimWorld.Anomaly
  • Ludeon.RimWorld.Odyssey
  • SmashPhil.VehicleFramework

RimWorld.Dialog_FormCaravan.txt

Metadata

Metadata

Assignees

Labels

BugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions