spessbro / VOEE_Ranch

0 stars 3 forks source link

Outpost broken #2

Open sdfg2 opened 2 years ago

sdfg2 commented 2 years ago

I added your mod last night, and made an outpost. This morning when I started the game and went to view the outpost, I saw this:

image

Checked the dev log, found this:

System.NullReferenceException: Object reference not set to an instance of an object
  at VOEE.Outpost_Ranching.Generate () [0x0016b] in <4f172a020c794b34bfe631a8afaff691>:0 
  at VOEE.Outpost_Ranching.Tick () [0x00008] in <4f172a020c794b34bfe631a8afaff691>:0 
  at RimWorld.Planet.WorldObjectsHolder.WorldObjectsHolderTick () [0x00029] in <9472cef786a241bbb917e810bc0a1328>:0 
  at RimWorld.Planet.World.WorldTick () [0x00016] in <9472cef786a241bbb917e810bc0a1328>:0 
  at (wrapper dynamic-method) Verse.TickManager.Verse.TickManager.DoSingleTick_Patch4(Verse.TickManager)
UnityEngine.StackTraceUtility:ExtractStackTrace ()
(wrapper dynamic-method) Verse.Log:Verse.Log.Error_Patch4 (string)
(wrapper dynamic-method) Verse.TickManager:Verse.TickManager.DoSingleTick_Patch4 (Verse.TickManager)
Verse.TickManager:TickManagerUpdate ()
(wrapper dynamic-method) Verse.Game:Verse.Game.UpdatePlay_Patch3 (Verse.Game)
Verse.Root_Play:Update ()

HugsLib log:

http://sprunge.us/JS5xk4

Might be related to the fact you fixed the zero-animals bug overnight?

sdfg2 commented 2 years ago

Also I've just discovered that my caravans now don't visually move on the world map at all.

sdfg2 commented 2 years ago

Ok, so not only were the pawns not moving visually on the map, but they weren't eating, weren't using bedrolls they had, nothing. Couldn't pack up the ranch or anything, so I removed the ranch with dev tools and reloaded the save, and they were using bedrolls, food bar was full etc etc. Reloading the game entirely after removing the mod makes the caravan move visually again.