Original Post — Direct link
about 4 years ago - /u/TynanSylvester - Direct link

Originally posted by Captainwaifu

Hey, are you using Tilled Soil by any chance? I had this issue yesterday and found out it was being caused by tiles and walls not having a build resource cost, as was the case with tilled soil. I've reported it to the mod developer.

If you want to get rid of this bug, disable those mods or add a cost value to their defs.

Dev here, thanks for that. We looked for this bug as well and concluded it was from a mod (couldn't reproduce in vanilla), but didn't know which one caused it.

about 4 years ago - /u/TynanSylvester - Direct link

Originally posted by Captainwaifu

No problem. I went through my floor mods one by one to see which were causing issues and which were not and then compared the difference in defs. Found out about tilled soil not having a resource cost. After adding one the error seized

How to reproduce:

  1. Subscribe to the "tilled soil" mod and start rimworld

  2. Go to mods, disable all mods(dont disable core and dlc) and only enable tilled soil

  3. Restart Rimworld and start a new clean game

  4. Open debug actions

  5. Select: Generate Quests x30

  6. Select: BuildMonument_TimeProtect

  7. Select whatever value

  8. The following error will be generated:

Exception running QuestNode_GetMonumentRequiredResourcesString: System.NullReferenceException: Object reference not set to an instance of an object at RimWorld.QuestGen.QuestNode_GetMonumentRequiredResourcesString.DoWork (RimWorld.QuestGen.Slate slate) [0x00221] in <4489f1367c1c4d76b2ae1272c8ed691d>:0 at RimWorld.QuestGen.QuestNode_GetMonumentRequiredResourcesString.RunInt () [0x00000] in <4489f1367c1c4d76b2ae1272c8ed691d>:0 at RimWorld.QuestGen.QuestNode.Run () [0x00015] in <4489f1367c1c4d76b2ae1272c8ed691d>:0

Thanks - we will adjust the base game so this doesn't happen.