UnlimitedHugs / RimworldRemoteTech

A content mod for Rimworld that provides a wide range of combat and utility explosives.
https://ludeon.com/forums/index.php?topic=17285
MIT License
11 stars 4 forks source link

RemoteTech.FactionGoodwillCaps.GetMinNegativeGoodwill Bug #9

Open Whyareuhere opened 4 years ago

Whyareuhere commented 4 years ago

When using modded factions (from Android Tiers and Better Infestations), it says that "object not Object reference not set to an instance of an object for RemoteTech.FactionGoodwillCaps.GetMinNegativeGoodwill". This seems to also effect any caravans and transport pods in the world; they just don't move even when using the teleport dev function. They just stay in place.

Odd thing was that I tried to revert to the previous version as it used to throw no errors, but now that version still produced the same errors.

https://gist.github.com/bb344c8e5963cfa154a15d9ac7625c92

UnlimitedHugs commented 4 years ago

That log is a mess- I suspect you tried to remove one of your mods, which "voids your warranty". Anyway, the error is caused by a null faction, which should not be possible under normal circumstances. I'll plug the error on my end in the next update, but the root of the problem is found elsewhere.

Whyareuhere commented 4 years ago

Temporary workaround: removing the mod and reinstalling it seems to cover the new modded factions and not cause any goodwill issues (or any other issues). This seems to fix the null relation issue.