RimThreaded icon indicating copy to clipboard operation
RimThreaded copied to clipboard

No enemies spawn on quest sites

Open OrdinBeta opened this issue 3 years ago • 1 comments

Developer To Do Notes:

  • [ ]
  • [ ]
  • [ ]

Vanilla Bug Report

Describe the bug

When attacking an enemy settlement, no enemies spawn. Most quest structures don't have any doors. The problem still occurs after freshly reinstalling Rimworld, deleting the LocalLow Ludeon folder, and deleting the Rimthreaded cache. I don't have this problem when I remove Rimthreaded from my mods list, (even in a heavily modded save it works again after removing rimthreaded).

( I can't imagine this is a global issue, there is probably something wrong with my PC. I don't have the slightest clue. I haven't tried to reinstall windows. I also haven't tried this on my laptop. )

Steps to reproduce the behaviour (VERY IMPORTANT)

  1. Generate a quest (OpportunitySite_BanditCamp or OpportunitySite_WorkSite or etc) via debug menu and then accept the quest if necessary
  2. Travel to quest site. (I used instant caravan send and instant caravan world movement)
  3. Unpause the game, if applicable you'll instantly receive the quest rewards

Error Logs ?

Could not find any RuleDef for symbol "pawn" with any resolver that could resolve rect=(43,52,58,67), faction=The Tigers of Agony, custom=null, combatPoints=null, pawnGroupMakerParams=groupKind=Settlement, tile=1185, inhabitants=True, points=1180, faction=The Tigers of Agony, ideo=, traderKind=, generateFightersOnly=False, dontUseSingleUseRocketLaunchers=False, raidStrategy=, forceOneIncap=False, seed=741547196, pawnGroupKindDef=Settlement, roofDef=null, noRoof=null, addRoomCenterToRootsToUnfog=null, singleThingToSpawn=null, singleThingDef=null, singleThingStuff=null, singleThingStackCount=null, skipSingleThingIfHasToWipeBuildingOrDoesntFit=null, spawnBridgeIfTerrainCantSupportThing=null, singleThingInnerThings=null, singlePawnToSpawn=Phillips, singlePawnKindDef=null, disableSinglePawn=null, singlePawnLord=Verse.AI.Group.Lord, settlementLord=Verse.AI.Group.Lord, singlePawnSpawnCellExtraPredicate=System.Predicate`1[Verse.IntVec3], singlePawnGenerationRequest=null, postThingSpawn=null, postThingGenerate=null, mechanoidsCount=null, hivesCount=null, disableHives=null, thingRot=null, wallStuff=null, chanceToSkipWallBlock=null, floorDef=null, chanceToSkipFloor=null, filthDef=null, filthDensity=null, floorOnlyIfTerrainSupports=null, allowBridgeOnAnyImpassableTerrain=null, clearEdificeOnly=null, clearFillageOnly=null, clearRoof=null, ancientCryptosleepCasketGroupID=null, podContentsType=null, ancientCryptosleepCasketOpenSignalTag=null, thingSetMakerDef=null, thingSetMakerParams=null, stockpileConcreteContents=null, stockpileMarketValue=null, innerStockpileSize=null, edgeDefenseWidth=2, edgeDefenseTurretsCount=0, edgeDefenseMortarsCount=0, edgeDefenseGuardsCount=null, mortarDef=null, pathwayFloorDef=null, cultivatedPlantDef=null, fixedCulativedPlantGrowth=null, fillWithThingsPadding=null, settlementPawnGroupPoints=1180, settlementPawnGroupSeed=741547196, settlementDontGeneratePawns=False, attackWhenPlayerBecameEnemy=False, streetHorizontal=null, edgeThingAvoidOtherEdgeThings=null, edgeThingMustReachMapEdge=null, allowPlacementOffEdge=null, thrustAxis=null, makeWarningLetter=null, allowedMonumentThings=null, bedCount=null, workSitePoints=null, lootConcereteContents=null, lootMarketValue=1041.304, extraDoorEdge=null, minLengthAfterSplit=null
UnityEngine.StackTraceUtility:ExtractStackTrace ()
Verse.Log:Warning (string)
RimWorld.BaseGen.BaseGen:Resolve (RimWorld.BaseGen.SymbolStack/Element)
RimWorld.BaseGen.BaseGen:Generate ()
RimWorld.GenStep_Outpost:Generate (Verse.Map,Verse.GenStepParams)
Verse.MapGenerator:GenerateContentsIntoMap (System.Collections.Generic.IEnumerable`1<Verse.GenStepWithParams>,Verse.Map,int)
(wrapper dynamic-method) Verse.MapGenerator:Verse.MapGenerator.GenerateMap_Patch1 (Verse.IntVec3,RimWorld.Planet.MapParent,Verse.MapGeneratorDef,System.Collections.Generic.IEnumerable`1<Verse.GenStepWithParams>,System.Action`1<Verse.Map>)
Verse.GetOrGenerateMapUtility:GetOrGenerateMap (int,Verse.IntVec3,RimWorld.WorldObjectDef)
RimWorld.Planet.CaravanArrivalAction_VisitSite:DoEnter (RimWorld.Planet.Caravan,RimWorld.Planet.Site)
RimWorld.Planet.CaravanArrivalAction_VisitSite/<>c__DisplayClass8_0:<Arrived>b__0 ()
Verse.LongEventHandler:UpdateCurrentSynchronousEvent (bool&)
Verse.LongEventHandler:LongEventsUpdate (bool&)
(wrapper dynamic-method) Verse.Root:Verse.Root.Update_Patch1 (Verse.Root)
Verse.Root_Play:Update ()
Error while resolving symbol "lootScatter" with params=rect=(43,52,58,67), faction=The Tigers of Agony, custom=null, combatPoints=null, pawnGroupMakerParams=null, pawnGroupKindDef=null, roofDef=null, noRoof=null, addRoomCenterToRootsToUnfog=null, singleThingToSpawn=null, singleThingDef=null, singleThingStuff=null, singleThingStackCount=null, skipSingleThingIfHasToWipeBuildingOrDoesntFit=null, spawnBridgeIfTerrainCantSupportThing=null, singleThingInnerThings=null, singlePawnToSpawn=null, singlePawnKindDef=null, disableSinglePawn=null, singlePawnLord=null, settlementLord=null, singlePawnSpawnCellExtraPredicate=null, singlePawnGenerationRequest=null, postThingSpawn=null, postThingGenerate=null, mechanoidsCount=null, hivesCount=null, disableHives=null, thingRot=null, wallStuff=null, chanceToSkipWallBlock=null, floorDef=null, chanceToSkipFloor=null, filthDef=null, filthDensity=null, floorOnlyIfTerrainSupports=null, allowBridgeOnAnyImpassableTerrain=null, clearEdificeOnly=null, clearFillageOnly=null, clearRoof=null, ancientCryptosleepCasketGroupID=null, podContentsType=null, ancientCryptosleepCasketOpenSignalTag=null, thingSetMakerDef=MapGen_DefaultStockpile, thingSetMakerParams=null, stockpileConcreteContents=null, stockpileMarketValue=null, innerStockpileSize=null, edgeDefenseWidth=2, edgeDefenseTurretsCount=0, edgeDefenseMortarsCount=0, edgeDefenseGuardsCount=null, mortarDef=null, pathwayFloorDef=null, cultivatedPlantDef=null, fixedCulativedPlantGrowth=null, fillWithThingsPadding=null, settlementPawnGroupPoints=1180, settlementPawnGroupSeed=741547196, settlementDontGeneratePawns=False, attackWhenPlayerBecameEnemy=False, streetHorizontal=null, edgeThingAvoidOtherEdgeThings=null, edgeThingMustReachMapEdge=null, allowPlacementOffEdge=null, thrustAxis=null, makeWarningLetter=null, allowedMonumentThings=null, bedCount=null, workSitePoints=null, lootConcereteContents=null, lootMarketValue=1041.304, extraDoorEdge=null, minLengthAfterSplit=null

Exception: System.NullReferenceException: Object reference not set to an instance of an object
  at RimWorld.BaseGen.SymbolResolver_LootScatter+<>c__DisplayClass1_0.<Resolve>g__CanPlace|0 (Verse.IntVec3 cell) [0x0002c] in <99518a644a3e4a7ea3fde566568df84a>:0 
  at RimWorld.BaseGen.SymbolResolver_LootScatter+<>c__DisplayClass1_0.<Resolve>b__1 (Verse.IntVec3 c) [0x00000] in <99518a644a3e4a7ea3fde566568df84a>:0 
  at System.Linq.Enumerable+WhereEnumerableIterator`1[TSource].ToList () [0x0001b] in <351e49e2a5bf4fd6beabb458ce2255f3>:0 
  at System.Linq.Enumerable.ToList[TSource] (System.Collections.Generic.IEnumerable`1[T] source) [0x0001f] in <351e49e2a5bf4fd6beabb458ce2255f3>:0 
  at RimWorld.BaseGen.SymbolResolver_LootScatter.Resolve (RimWorld.BaseGen.ResolveParams rp) [0x00107] in <99518a644a3e4a7ea3fde566568df84a>:0 
  at RimWorld.BaseGen.BaseGen.Resolve (RimWorld.BaseGen.SymbolStack+Element toResolve) [0x000e5] in <99518a644a3e4a7ea3fde566568df84a>:0 
  at RimWorld.BaseGen.BaseGen.Generate () [0x000ce] in <99518a644a3e4a7ea3fde566568df84a>:0 
UnityEngine.StackTraceUtility:ExtractStackTrace ()
Verse.Log:Error (string)
RimWorld.BaseGen.BaseGen:Generate ()
RimWorld.GenStep_Outpost:Generate (Verse.Map,Verse.GenStepParams)
Verse.MapGenerator:GenerateContentsIntoMap (System.Collections.Generic.IEnumerable`1<Verse.GenStepWithParams>,Verse.Map,int)
(wrapper dynamic-method) Verse.MapGenerator:Verse.MapGenerator.GenerateMap_Patch1 (Verse.IntVec3,RimWorld.Planet.MapParent,Verse.MapGeneratorDef,System.Collections.Generic.IEnumerable`1<Verse.GenStepWithParams>,System.Action`1<Verse.Map>)
Verse.GetOrGenerateMapUtility:GetOrGenerateMap (int,Verse.IntVec3,RimWorld.WorldObjectDef)
RimWorld.Planet.CaravanArrivalAction_VisitSite:DoEnter (RimWorld.Planet.Caravan,RimWorld.Planet.Site)
RimWorld.Planet.CaravanArrivalAction_VisitSite/<>c__DisplayClass8_0:<Arrived>b__0 ()
Verse.LongEventHandler:UpdateCurrentSynchronousEvent (bool&)
Verse.LongEventHandler:LongEventsUpdate (bool&)
(wrapper dynamic-method) Verse.Root:Verse.Root.Update_Patch1 (Verse.Root)
Verse.Root_Play:Update ()

HugsLib log

https://gist.github.com/9c62f8d3470bd00e2456f4ad047079e9

Save file ?

Saves.zip

Screenshots (Optional) ?

image

Mod list (For vanilla report, it has to be same as below list.) ?

[Mod list length: 6]
Harmony [https://steamcommunity.com/sharedfiles/filedetails/?id=2009463077]
Core [https:// no link (local mod)]
Royalty [Official DLC] [https:// no link (local mod)]
Ideology [Official DLC] [https:// no link (local mod)]
HugsLib [https://steamcommunity.com/sharedfiles/filedetails/?id=818773962]
RimThreaded [https://steamcommunity.com/sharedfiles/filedetails/?id=2222907981]
  • Harmony
  • Core
  • Royalty (Optional)
  • Ideology (Optional)
  • HugsLib
  • RimThreaded

OrdinBeta avatar May 22 '22 19:05 OrdinBeta

I am experiencing the same issue and could reproduce the issue with the vanilla mod list above on a new save.

HugsLibLog https://gist.github.com/e1dbce37c256704dfc9ab846cc579751

And this error in the in game console:

Scatterer RimWorld.GenStep_AncientComplex could not find cell to generate at.
UnityEngine.StackTraceUtility:ExtractStackTrace ()
Verse.Log:Warning (string)
RimWorld.GenStep_ScattererBestFit:TryFindScatterCell (Verse.Map,Verse.IntVec3&)
Verse.GenStep_Scatterer:Generate (Verse.Map,Verse.GenStepParams)
RimWorld.GenStep_AncientComplex:Generate (Verse.Map,Verse.GenStepParams)
Verse.MapGenerator:GenerateContentsIntoMap (System.Collections.Generic.IEnumerable`1<Verse.GenStepWithParams>,Verse.Map,int)
(wrapper dynamic-method) Verse.MapGenerator:Verse.MapGenerator.GenerateMap_Patch1 (Verse.IntVec3,RimWorld.Planet.MapParent,Verse.MapGeneratorDef,System.Collections.Generic.IEnumerable`1<Verse.GenStepWithParams>,System.Action`1<Verse.Map>)
Verse.GetOrGenerateMapUtility:GetOrGenerateMap (int,Verse.IntVec3,RimWorld.WorldObjectDef)
RimWorld.Planet.CaravanArrivalAction_VisitSite:DoEnter (RimWorld.Planet.Caravan,RimWorld.Planet.Site)
RimWorld.Planet.CaravanArrivalAction_VisitSite/<>c__DisplayClass8_0:<Arrived>b__0 ()
Verse.LongEventHandler:UpdateCurrentSynchronousEvent (bool&)
Verse.LongEventHandler:LongEventsUpdate (bool&)
(wrapper dynamic-method) Verse.Root:Verse.Root.Update_Patch1 (Verse.Root)
Verse.Root_Play:Update ()

Faxn avatar Jul 16 '22 18:07 Faxn