level 7
夜無℃月
楼主
完整的派系(包括机械族、虫族)有20多个,但是如果只选择7~8个,还是可以生成地图的。
我今天中午玩的时候,有红字,但是还能玩,但是后面又感觉画面一卡一卡的,然后我就去掉了一些有红字的mod(以前30多个派系),结果去掉之后,游戏就无法生成地图了,我去的都是种族mod,还有一些建筑拓展。红字少了很多,就是游戏启动不了了。
Error in WorldGenStep: System.NullReferenceException: Object reference not set to an instance of an object[Ref B33DD732] at AlienRace.HarmonyPatches+<>c.<TryMakeInitialRelationsWithPostfix>b__161_2 (RimWorld.PawnGenOption pgm) [0x00000] in C:\Program Files (x86)\Steam\steamapps\common\RimWorld\Mods\AlienRaces\Source\AlienRace\AlienRace\HarmonyPatches.cs:2572 at System.Linq.Lookup`2[TKey,TElement].Create (System.Collections.Generic.IEnumerable`1[T] source, System.Func`2[T,TResult] keySelector, System.Collections.Generic.IEqualityComparer`1[T] comparer) [0x00017] in <1f993cbf88314b1baa1e10ca917bdc64>:0 at System.Linq.GroupedEnumerable`2[TSource,TKey].GetEnumerator () [0x00000] in <1f993cbf88314b1baa1e10ca917bdc64>:0 at System.Linq.OrderedEnumerable`1[TElement].TryGetFirst (System.Boolean& found) [0x00007] in <1f993cbf88314b1baa1e10ca917bdc64>:0 at System.Linq.Enumerable.TryGetFirst[TSource] (System.Collections.Generic.IEnumerable`1[T] source, System.Boolean& found) [0x00018] in <1f993cbf88314b1baa1e10ca917bdc64>:0 at System.Linq.Enumerable.First[TSource] (System.Collections.Generic.IEnumerable`1[T] source) [0x00000] in <1f993cbf88314b1baa1e10ca917bdc64>:0 at AlienRace.HarmonyPatches.<TryMakeInitialRelationsWithPostfix>g__GetRaceOfFaction|161_0 (RimWorld.FactionDef fac) [0x00000] in C:\Program Files (x86)\Steam\steamapps\common\RimWorld\Mods\AlienRaces\Source\AlienRace\AlienRace\HarmonyPatches.cs:2572 at AlienRace.HarmonyPatches.TryMakeInitialRelationsWithPostfix (RimWorld.Faction __instance, RimWorld.Faction other) [0x000b3] in C:\Program Files (x86)\Steam\steamapps\common\RimWorld\Mods\AlienRaces\Source\AlienRace\AlienRace\HarmonyPatches.cs:2597 at RimWorld.Faction.TryMakeInitialRelationsWith (RimWorld.Faction other) [0x000a1] in <d2f9716cc2ac4cda9c2a174cc147bf37>:0 - POSTFIX rimworld.erdelf.alien_race.main: Void AlienRace.HarmonyPatches:TryMakeInitialRelationsWithPostfix(Faction __instance, Faction other) - POSTFIX OskarPotocki.VEF: Void VEF.Factions.VanillaExpandedFramework_Faction_TryMakeInitialRelationsWith_Patch:Postfix(Faction __instance, Faction other) at RimWorld.FactionGenerator.NewGeneratedFaction (RimWorld.Planet.PlanetLayer layer, RimWorld.FactionGeneratorParms parms) [0x001a6] in <d2f9716cc2ac4cda9c2a174cc147bf37>:0 - POSTFIX OskarPotocki.VEF: Void VEF.Planet.VanillaExpandedFramework_FactionGenerator_NewGeneratedFaction_Patch:Postfix(PlanetLayer layer, FactionGeneratorParms parms, Faction& __result) - POSTFIX defaults.1trickPwnyta: Void Defaults.Rewards.Patch_FactionGenerator_NewGeneratedFaction:Postfix(Faction __result) at RimWorld.FactionGenerator.CreateFactionAndAddToManager (RimWorld.Planet.PlanetLayer layer, RimWorld.FactionDef facDef) [0x000cf] in <d2f9716cc2ac4cda9c2a174cc147bf37>:0 at RimWorld.FactionGenerator.AddFactionToManager (RimWorld.Planet.PlanetLayer layer, RimWorld.FactionDef facDef) [0x00000] in <d2f9716cc2ac4cda9c2a174cc147bf37>:0 at RimWorld.FactionGenerator.InitializeFactions (RimWorld.Planet.PlanetLayer layer, System.Collections.Generic.List`1[T] factions) [0x0001d] in <d2f9716cc2ac4cda9c2a174cc147bf37>:0 at RimWorld.FactionGenerator.GenerateFactionsIntoWorldLayer (RimWorld.Planet.PlanetLayer layer, System.Collections.Generic.List`1[T] factions) [0x0000d] in <d2f9716cc2ac4cda9c2a174cc147bf37>:0 at RimWorld.Planet.WorldGenStep_Factions.GenerateFresh (System.String seed, RimWorld.Planet.PlanetLayer layer) [0x00006] in <d2f9716cc2ac4cda9c2a174cc147bf37>:0 at RimWorld.Planet.WorldGenerator.GeneratePlanetLayer (RimWorld.Planet.PlanetLayer layer, System.String seedString, System.Int32 seed) [0x0004f] in <d2f9716cc2ac4cda9c2a174cc147bf37>:0 UnityEngine.StackTraceUtility:ExtractStackTrace ()(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Log.Error_Patch3 (string)RimWorld.Planet.WorldGenerator:GeneratePlanetLayer (RimWorld.Planet.PlanetLayer,string,int)RimWorld.Planet.WorldGenerator:GenerateWorld (single,string,RimWorld.Planet.OverallRainfall,RimWorld.Planet.OverallTemperature,RimWorld.Planet.OverallPopulation,RimWorld.Planet.LandmarkDensity,System.Collections.Generic.List`1<RimWorld.FactionDef>,single)RimWorld.Page_CreateWorldParams:<CanDoNext>b__20_0 ()Verse.LongEventHandler:RunEventFromAnotherThread (System.Action)Verse.LongEventHandler/<>c:<UpdateCurrentAsynchronousEvent>b__28_0 ()System.Threading.ThreadHelper:ThreadStart_Context (object)System.Threading.ExecutionContext:RunInternal (System.Threading.ExecutionContext,System.Threading.ContextCallback,object,bool)System.Threading.ExecutionContext:Run (System.Threading.ExecutionContext,System.Threading.ContextCallback,object,bool)System.Threading.ExecutionContext:Run (System.Threading.ExecutionContext,System.Threading.ContextCallback,object)System.Threading.ThreadHelper:ThreadStart ()
Vanilla Expanded Framework 是灵能拓展的前置,之前也没冲突啊?不懂。难道要去掉灵能拓展吗?虽然也不是不可以。
2025年07月23日 06点07分
1
我今天中午玩的时候,有红字,但是还能玩,但是后面又感觉画面一卡一卡的,然后我就去掉了一些有红字的mod(以前30多个派系),结果去掉之后,游戏就无法生成地图了,我去的都是种族mod,还有一些建筑拓展。红字少了很多,就是游戏启动不了了。
Error in WorldGenStep: System.NullReferenceException: Object reference not set to an instance of an object[Ref B33DD732] at AlienRace.HarmonyPatches+<>c.<TryMakeInitialRelationsWithPostfix>b__161_2 (RimWorld.PawnGenOption pgm) [0x00000] in C:\Program Files (x86)\Steam\steamapps\common\RimWorld\Mods\AlienRaces\Source\AlienRace\AlienRace\HarmonyPatches.cs:2572 at System.Linq.Lookup`2[TKey,TElement].Create (System.Collections.Generic.IEnumerable`1[T] source, System.Func`2[T,TResult] keySelector, System.Collections.Generic.IEqualityComparer`1[T] comparer) [0x00017] in <1f993cbf88314b1baa1e10ca917bdc64>:0 at System.Linq.GroupedEnumerable`2[TSource,TKey].GetEnumerator () [0x00000] in <1f993cbf88314b1baa1e10ca917bdc64>:0 at System.Linq.OrderedEnumerable`1[TElement].TryGetFirst (System.Boolean& found) [0x00007] in <1f993cbf88314b1baa1e10ca917bdc64>:0 at System.Linq.Enumerable.TryGetFirst[TSource] (System.Collections.Generic.IEnumerable`1[T] source, System.Boolean& found) [0x00018] in <1f993cbf88314b1baa1e10ca917bdc64>:0 at System.Linq.Enumerable.First[TSource] (System.Collections.Generic.IEnumerable`1[T] source) [0x00000] in <1f993cbf88314b1baa1e10ca917bdc64>:0 at AlienRace.HarmonyPatches.<TryMakeInitialRelationsWithPostfix>g__GetRaceOfFaction|161_0 (RimWorld.FactionDef fac) [0x00000] in C:\Program Files (x86)\Steam\steamapps\common\RimWorld\Mods\AlienRaces\Source\AlienRace\AlienRace\HarmonyPatches.cs:2572 at AlienRace.HarmonyPatches.TryMakeInitialRelationsWithPostfix (RimWorld.Faction __instance, RimWorld.Faction other) [0x000b3] in C:\Program Files (x86)\Steam\steamapps\common\RimWorld\Mods\AlienRaces\Source\AlienRace\AlienRace\HarmonyPatches.cs:2597 at RimWorld.Faction.TryMakeInitialRelationsWith (RimWorld.Faction other) [0x000a1] in <d2f9716cc2ac4cda9c2a174cc147bf37>:0 - POSTFIX rimworld.erdelf.alien_race.main: Void AlienRace.HarmonyPatches:TryMakeInitialRelationsWithPostfix(Faction __instance, Faction other) - POSTFIX OskarPotocki.VEF: Void VEF.Factions.VanillaExpandedFramework_Faction_TryMakeInitialRelationsWith_Patch:Postfix(Faction __instance, Faction other) at RimWorld.FactionGenerator.NewGeneratedFaction (RimWorld.Planet.PlanetLayer layer, RimWorld.FactionGeneratorParms parms) [0x001a6] in <d2f9716cc2ac4cda9c2a174cc147bf37>:0 - POSTFIX OskarPotocki.VEF: Void VEF.Planet.VanillaExpandedFramework_FactionGenerator_NewGeneratedFaction_Patch:Postfix(PlanetLayer layer, FactionGeneratorParms parms, Faction& __result) - POSTFIX defaults.1trickPwnyta: Void Defaults.Rewards.Patch_FactionGenerator_NewGeneratedFaction:Postfix(Faction __result) at RimWorld.FactionGenerator.CreateFactionAndAddToManager (RimWorld.Planet.PlanetLayer layer, RimWorld.FactionDef facDef) [0x000cf] in <d2f9716cc2ac4cda9c2a174cc147bf37>:0 at RimWorld.FactionGenerator.AddFactionToManager (RimWorld.Planet.PlanetLayer layer, RimWorld.FactionDef facDef) [0x00000] in <d2f9716cc2ac4cda9c2a174cc147bf37>:0 at RimWorld.FactionGenerator.InitializeFactions (RimWorld.Planet.PlanetLayer layer, System.Collections.Generic.List`1[T] factions) [0x0001d] in <d2f9716cc2ac4cda9c2a174cc147bf37>:0 at RimWorld.FactionGenerator.GenerateFactionsIntoWorldLayer (RimWorld.Planet.PlanetLayer layer, System.Collections.Generic.List`1[T] factions) [0x0000d] in <d2f9716cc2ac4cda9c2a174cc147bf37>:0 at RimWorld.Planet.WorldGenStep_Factions.GenerateFresh (System.String seed, RimWorld.Planet.PlanetLayer layer) [0x00006] in <d2f9716cc2ac4cda9c2a174cc147bf37>:0 at RimWorld.Planet.WorldGenerator.GeneratePlanetLayer (RimWorld.Planet.PlanetLayer layer, System.String seedString, System.Int32 seed) [0x0004f] in <d2f9716cc2ac4cda9c2a174cc147bf37>:0 UnityEngine.StackTraceUtility:ExtractStackTrace ()(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Log.Error_Patch3 (string)RimWorld.Planet.WorldGenerator:GeneratePlanetLayer (RimWorld.Planet.PlanetLayer,string,int)RimWorld.Planet.WorldGenerator:GenerateWorld (single,string,RimWorld.Planet.OverallRainfall,RimWorld.Planet.OverallTemperature,RimWorld.Planet.OverallPopulation,RimWorld.Planet.LandmarkDensity,System.Collections.Generic.List`1<RimWorld.FactionDef>,single)RimWorld.Page_CreateWorldParams:<CanDoNext>b__20_0 ()Verse.LongEventHandler:RunEventFromAnotherThread (System.Action)Verse.LongEventHandler/<>c:<UpdateCurrentAsynchronousEvent>b__28_0 ()System.Threading.ThreadHelper:ThreadStart_Context (object)System.Threading.ExecutionContext:RunInternal (System.Threading.ExecutionContext,System.Threading.ContextCallback,object,bool)System.Threading.ExecutionContext:Run (System.Threading.ExecutionContext,System.Threading.ContextCallback,object,bool)System.Threading.ExecutionContext:Run (System.Threading.ExecutionContext,System.Threading.ContextCallback,object)System.Threading.ThreadHelper:ThreadStart ()
Vanilla Expanded Framework 是灵能拓展的前置,之前也没冲突啊?不懂。难道要去掉灵能拓展吗?虽然也不是不可以。