RealTelefonmast/OfficialTiberiumRim

Occasionally occuring NullReferenceException after map migration

Waldleufer opened this issue · 1 comments

Describe the bug

I moved my base to another map and every once in a while this error message shows up.

Describe your game setup

    • I updated the experimental Version of TiberiumRim and moved my colony to a new place to get rid of errors occurring because of the new Tiberium Things.
    • Running other Mods besides TiberimRim, HugsLib and Harmony
  1. Playing with the following DLCs enabled
  • Rimworld - Royalty
  • Rimworld - Ideology

To Reproduce

Steps to reproduce the behavior:
Casual Playing. No Tiberium present on current map.

HugsLib Errorlog

https://gist.github.com/c8e5609254bd6baf508afd75f216b882

Expected behavior

  • No NullReferenceException after the abandonment of an old colony and migration to a new map tile.

Actual behavior

Occasionally this shows up.
Note that the colonist named is not a member of my colonies members.
I assume it was a visitor at some point that got infected with Tiberium on the old map before the update.
So this might just be update-related and if so it can just be closed.

A similar error occurring when saving the game:

image

https://gist.github.com/a9c7f7c9be1456377518007714d36f9d