RimWorld

RimWorld

Realistic Planets 1.6
Kothliim  [developer] 26 Jul @ 8:35am
Bug Reports
If anyone has a bug to report, error messages, compatibility issues, stuff like that-- post it here instead of the comments, thanks.
< >
Showing 1-13 of 13 comments
Magnarion 26 Jul @ 11:20am 
Hi,
I found an issue that if this mod is used together with 'Geological Landforms' the flora on some map tiles fails to generate (i.e. no trees, shrubs, etc. basically no vegetation at all).

Hugslib log: https://gist.github.com/HugsLibRecordKeeper/01a9c70018f58f9fcb3e732c964ce31b

The relevant part seems to be:

Error in GenStep: System.ArgumentException: An item with the same key has already been added. Key: RRP_TreeAcacia [Ref 5BD4C418] [0x00006] in <51fded79cd284d4d911c5949aff4cb21>:0 at System.Collections.Generic.Dictionary`2[TKey,TValue].TryInsert (TKey key, TValue value, System.Collections.Generic.InsertionBehavior behavior) [0x0015a] in <51fded79cd284d4d911c5949aff4cb21>:0 at System.Collections.Generic.Dictionary`2[TKey,TValue].Add (TKey key, TValue value) [0x00000] in <51fded79cd284d4d911c5949aff4cb21>:0 at RimWorld.WildPlantSpawner.CachePlantCommonalitiesIfShould () [0x00151] in <d2f9716cc2ac4cda9c2a174cc147bf37>:0 at RimWorld.WildPlantSpawner.GetCommonalityOfPlant (Verse.ThingDef plant) [0x00000] in <d2f9716cc2ac4cda9c2a174cc147bf37>:0 at RimWorld.WildPlantSpawner.get_AllWildPlants () [0x00038] in <d2f9716cc2ac4cda9c2a174cc147bf37>:0 at RimWorld.WildPlantSpawner.get_HaveAnyPlantsWhichIgnoreFertility () [0x00019] in <d2f9716cc2ac4cda9c2a174cc147bf37>:0 at RimWorld.WildPlantSpawner.GetBaseDesiredPlantsCountAt (Verse.IntVec3 c) [0x00023] in <d2f9716cc2ac4cda9c2a174cc147bf37>:0 at RimWorld.WildPlantSpawner.GetDesiredPlantsCountAt (Verse.IntVec3 forCell, System.Single plantDensityFactor) [0x0003e] in <d2f9716cc2ac4cda9c2a174cc147bf37>:0 at RimWorld.WildPlantSpawner.get_CurrentWholeMapNumDesiredPlants () [0x0002c] in <d2f9716cc2ac4cda9c2a174cc147bf37>:0 at RimWorld.GenStep_Plants.Generate (Verse.Map map, Verse.GenStepParams parms) [0x0000c] in <d2f9716cc2ac4cda9c2a174cc147bf37>:0 at Verse.MapGenerator.GenerateContentsIntoMap (System.Collections.Generic.IEnumerable`1[T] genStepDefs, Verse.Map map, System.Int32 seed, System.Boolean stepDebugger) [0x001ca] in <d2f9716cc2ac4cda9c2a174cc147bf37>:0 - PREFIX GeologicalLandforms.Main: Void GeologicalLandforms.Patches.Patch_Verse_MapGenerator:GenerateContentsIntoMap_Prefix(Map map, IEnumerable`1& genStepDefs) - POSTFIX GeologicalLandforms.Main: Void GeologicalLandforms.Patches.Patch_Verse_MapGenerator:GenerateContentsIntoMap_Postfix(Map map)
Last edited by Magnarion; 26 Jul @ 11:36am
Kothliim  [developer] 27 Jul @ 6:14pm 
Originally posted by Magnarion:
Hi,
I found an issue that if this mod is used together with 'Geological Landforms' the flora on some map tiles fails to generate (i.e. no trees, shrubs, etc. basically no vegetation at all).

Hugslib log: https://gist.github.com/HugsLibRecordKeeper/01a9c70018f58f9fcb3e732c964ce31b

The relevant part seems to be:

Error in GenStep: System.ArgumentException: An item with the same key has already been added. Key: RRP_TreeAcacia [Ref 5BD4C418] [0x00006] in <51fded79cd284d4d911c5949aff4cb21>:0 at System.Collections.Generic.Dictionary`2[TKey,TValue].TryInsert (TKey key, TValue value, System.Collections.Generic.InsertionBehavior behavior) [0x0015a] in <51fded79cd284d4d911c5949aff4cb21>:0 at System.Collections.Generic.Dictionary`2[TKey,TValue].Add (TKey key, TValue value) [0x00000] in <51fded79cd284d4d911c5949aff4cb21>:0 at RimWorld.WildPlantSpawner.CachePlantCommonalitiesIfShould () [0x00151] in <d2f9716cc2ac4cda9c2a174cc147bf37>:0 at RimWorld.WildPlantSpawner.GetCommonalityOfPlant (Verse.ThingDef plant) [0x00000] in <d2f9716cc2ac4cda9c2a174cc147bf37>:0 at RimWorld.WildPlantSpawner.get_AllWildPlants () [0x00038] in <d2f9716cc2ac4cda9c2a174cc147bf37>:0 at RimWorld.WildPlantSpawner.get_HaveAnyPlantsWhichIgnoreFertility () [0x00019] in <d2f9716cc2ac4cda9c2a174cc147bf37>:0 at RimWorld.WildPlantSpawner.GetBaseDesiredPlantsCountAt (Verse.IntVec3 c) [0x00023] in <d2f9716cc2ac4cda9c2a174cc147bf37>:0 at RimWorld.WildPlantSpawner.GetDesiredPlantsCountAt (Verse.IntVec3 forCell, System.Single plantDensityFactor) [0x0003e] in <d2f9716cc2ac4cda9c2a174cc147bf37>:0 at RimWorld.WildPlantSpawner.get_CurrentWholeMapNumDesiredPlants () [0x0002c] in <d2f9716cc2ac4cda9c2a174cc147bf37>:0 at RimWorld.GenStep_Plants.Generate (Verse.Map map, Verse.GenStepParams parms) [0x0000c] in <d2f9716cc2ac4cda9c2a174cc147bf37>:0 at Verse.MapGenerator.GenerateContentsIntoMap (System.Collections.Generic.IEnumerable`1[T] genStepDefs, Verse.Map map, System.Int32 seed, System.Boolean stepDebugger) [0x001ca] in <d2f9716cc2ac4cda9c2a174cc147bf37>:0 - PREFIX GeologicalLandforms.Main: Void GeologicalLandforms.Patches.Patch_Verse_MapGenerator:GenerateContentsIntoMap_Prefix(Map map, IEnumerable`1& genStepDefs) - POSTFIX GeologicalLandforms.Main: Void GeologicalLandforms.Patches.Patch_Verse_MapGenerator:GenerateContentsIntoMap_Postfix(Map map)

I'm getting real close to fixing this bug. It only appears to affect Oasis tiles, and only when Geological Landforms is also enabled. Hopefully I can track it down within the next day or two.
AJ 28 Jul @ 4:14pm 
Originally posted by Kothliim:
I'm getting real close to fixing this bug. It only appears to affect Oasis tiles, and only when Geological Landforms is also enabled. Hopefully I can track it down within the next day or two.

i got the "no vegetation" bug using this mod & Geological Landforms three times:

seed: mantis
coverage: 50%
world type: rimworld default
3.56°S 46.54°E
features: caldera (Geological Landforms)

seed: green
coverage: 30%
world type: rimworld default
19.48°N 13.17°W
features: caldera (GL)

seed: mesa
coverage: 50%
world type: earthlike planet
5.99°N 18.64°E
features: none

all three are temperate forest biome
Last edited by AJ; 28 Jul @ 4:22pm
Kothliim  [developer] 28 Jul @ 5:56pm 
Originally posted by AJ:
Originally posted by Kothliim:
I'm getting real close to fixing this bug. It only appears to affect Oasis tiles, and only when Geological Landforms is also enabled. Hopefully I can track it down within the next day or two.

i got the "no vegetation" bug using this mod & Geological Landforms three times:

seed: mantis
coverage: 50%
world type: rimworld default
3.56°S 46.54°E
features: caldera (Geological Landforms)

seed: green
coverage: 30%
world type: rimworld default
19.48°N 13.17°W
features: caldera (GL)

seed: mesa
coverage: 50%
world type: earthlike planet
5.99°N 18.64°E
features: none

all three are temperate forest biome

Thank you for the details! I'll recreate those conditions on my end, hopefully I can get some more clues/information on what's causing this bug.
Kothliim  [developer] 29 Jul @ 12:03pm 
Finally fixed it :D
Will put out an update now for testing!
biship 29 Jul @ 12:52pm 
Just updated a few mins ago. I am also running Geological Landforms & Biome Transitions.

Error while instantiating a mod of type Planets_Code.Controller: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> HarmonyLib.HarmonyException: Patching exception in method static System.Reflection.MethodBase Planets_Code.Patches.Patch_LandformSelection::TargetMethod() ---> System.Exception: Method static System.Reflection.MethodBase Planets_Code.Patches.Patch_LandformSelection::TargetMethod() returned an unexpected result: null
[Ref DB6182E7]
at HarmonyLib.PatchClassProcessor.RunMethod[S,T] (T defaultIfNotExisting, T defaultIfFailing, System.Func`2[T,TResult] failOnResult, System.Object[] parameters) [0x00130] in <8124cc12bdf242eab0a5f7e7edecf387>:0
--- End of inner exception stack trace ---
[Ref 578C6657]
at HarmonyLib.PatchClassProcessor.ReportException (System.Exception exception, System.Reflection.MethodBase original) [0x0013c] in <8124cc12bdf242eab0a5f7e7edecf387>:0
at HarmonyLib.PatchClassProcessor.Patch () [0x000a0] in <8124cc12bdf242eab0a5f7e7edecf387>:0
at HarmonyLib.Harmony.<PatchAll>b__10_0 (System.Type type) [0x00007] in <8124cc12bdf242eab0a5f7e7edecf387>:0
at HarmonyLib.CollectionExtensions.Do[T] (System.Collections.Generic.IEnumerable`1[T] sequence, System.Action`1[T] action) [0x00014] in <8124cc12bdf242eab0a5f7e7edecf387>:0
at HarmonyLib.Harmony.PatchAll (System.Reflection.Assembly assembly) [0x00006] in <8124cc12bdf242eab0a5f7e7edecf387>:0
<0x2b1b35f2c00 + 0x0009a> <unknown method>
(wrapper managed-to-native) System.Reflection.RuntimeConstructorInfo.InternalInvoke(System.Reflection.RuntimeConstructorInfo,object,object[],System.Exception&)
at System.Reflection.RuntimeConstructorInfo.InternalInvoke (System.Object obj, System.Object[] parameters, System.Boolean wrapExceptions) [0x00005] in <51fded79cd284d4d911c5949aff4cb21>:0
--- End of inner exception stack trace ---
[Ref 89965684]
at System.Reflection.RuntimeConstructorInfo.InternalInvoke (System.Object obj, System.Object[] parameters, System.Boolean wrapExceptions) [0x0001a] in <51fded79cd284d4d911c5949aff4cb21>:0
at System.Reflection.RuntimeConstructorInfo.DoInvoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00086] in <51fded79cd284d4d911c5949aff4cb21>:0
at System.Reflection.RuntimeConstructorInfo.Invoke (System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <51fded79cd284d4d911c5949aff4cb21>:0
at System.RuntimeType.CreateInstanceImpl (System.Reflection.BindingFlags bindingAttr, System.Reflection.Binder binder, System.Object[] args, System.Globalization.CultureInfo culture, System.Object[] activationAttributes, System.Threading.StackCrawlMark& stackMark) [0x0022b] in <51fded79cd284d4d911c5949aff4cb21>:0
at System.Activator.CreateInstance (System.Type type, System.Reflection.BindingFlags bindingAttr, System.Reflection.Binder binder, System.Object[] args, System.Globalization.CultureInfo culture, System.Object[] activationAttributes) [0x0009c] in <51fded79cd284d4d911c5949aff4cb21>:0
at System.Activator.CreateInstance (System.Type type, System.Object[] args) [0x00000] in <51fded79cd284d4d911c5949aff4cb21>:0
at Verse.LoadedModManager.CreateModClasses () [0x00085] in <5c316afc935f468999d0366e218e9cc4>:0
Kothliim  [developer] 29 Jul @ 12:58pm 
Originally posted by biship:
Just updated a few mins ago. I am also running Geological Landforms & Biome Transitions.

Error while instantiating a mod of type Planets_Code.Controller: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> HarmonyLib.HarmonyException: Patching exception in method static System.Reflection.MethodBase Planets_Code.Patches.Patch_LandformSelection::TargetMethod() ---> System.Exception: Method static System.Reflection.MethodBase Planets_Code.Patches.Patch_LandformSelection::TargetMethod() returned an unexpected result: null
[Ref DB6182E7]
at HarmonyLib.PatchClassProcessor.RunMethod[S,T] (T defaultIfNotExisting, T defaultIfFailing, System.Func`2[T,TResult] failOnResult, System.Object[] parameters) [0x00130] in <8124cc12bdf242eab0a5f7e7edecf387>:0
--- End of inner exception stack trace ---
[Ref 578C6657]
at HarmonyLib.PatchClassProcessor.ReportException (System.Exception exception, System.Reflection.MethodBase original) [0x0013c] in <8124cc12bdf242eab0a5f7e7edecf387>:0
at HarmonyLib.PatchClassProcessor.Patch () [0x000a0] in <8124cc12bdf242eab0a5f7e7edecf387>:0
at HarmonyLib.Harmony.<PatchAll>b__10_0 (System.Type type) [0x00007] in <8124cc12bdf242eab0a5f7e7edecf387>:0
at HarmonyLib.CollectionExtensions.Do[T] (System.Collections.Generic.IEnumerable`1[T] sequence, System.Action`1[T] action) [0x00014] in <8124cc12bdf242eab0a5f7e7edecf387>:0
at HarmonyLib.Harmony.PatchAll (System.Reflection.Assembly assembly) [0x00006] in <8124cc12bdf242eab0a5f7e7edecf387>:0
<0x2b1b35f2c00 + 0x0009a> <unknown method>
(wrapper managed-to-native) System.Reflection.RuntimeConstructorInfo.InternalInvoke(System.Reflection.RuntimeConstructorInfo,object,object[],System.Exception&)
at System.Reflection.RuntimeConstructorInfo.InternalInvoke (System.Object obj, System.Object[] parameters, System.Boolean wrapExceptions) [0x00005] in <51fded79cd284d4d911c5949aff4cb21>:0
--- End of inner exception stack trace ---
[Ref 89965684]
at System.Reflection.RuntimeConstructorInfo.InternalInvoke (System.Object obj, System.Object[] parameters, System.Boolean wrapExceptions) [0x0001a] in <51fded79cd284d4d911c5949aff4cb21>:0
at System.Reflection.RuntimeConstructorInfo.DoInvoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00086] in <51fded79cd284d4d911c5949aff4cb21>:0
at System.Reflection.RuntimeConstructorInfo.Invoke (System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <51fded79cd284d4d911c5949aff4cb21>:0
at System.RuntimeType.CreateInstanceImpl (System.Reflection.BindingFlags bindingAttr, System.Reflection.Binder binder, System.Object[] args, System.Globalization.CultureInfo culture, System.Object[] activationAttributes, System.Threading.StackCrawlMark& stackMark) [0x0022b] in <51fded79cd284d4d911c5949aff4cb21>:0
at System.Activator.CreateInstance (System.Type type, System.Reflection.BindingFlags bindingAttr, System.Reflection.Binder binder, System.Object[] args, System.Globalization.CultureInfo culture, System.Object[] activationAttributes) [0x0009c] in <51fded79cd284d4d911c5949aff4cb21>:0
at System.Activator.CreateInstance (System.Type type, System.Object[] args) [0x00000] in <51fded79cd284d4d911c5949aff4cb21>:0
at Verse.LoadedModManager.CreateModClasses () [0x00085] in <5c316afc935f468999d0366e218e9cc4>:0

Any chance you're loading Realistic Planets after Geological Landforms and/or Biome Transitions?
biship 29 Jul @ 1:03pm 
This is my order:
Realistic Planets
Geological Landforms
Biome Transitions
biship 29 Jul @ 1:12pm 
Your mod might be conflicting with Alpha Biomes.
Error in WorldGenStep: System.NullReferenceException: Object reference not set to an instance of an object
at Planets_Code.Patches.AlphaBiomes_BiomeWorker_Patch.Initialize()

I can't even quick start a dev world anymore.
I'll start disabling these to see which is the cause:
Realistic Planets
Geological Landforms
Biome Transitions
Alpha Biomes
Kothliim  [developer] 29 Jul @ 1:38pm 
I'm using all those mods without issue... my load order is:
Alpha Biomes
Realistic Planets
Geological Landforms
Biome Transitions

I'll see if I can figure out what's going on, but any additional information you can provide would definitely be helpful.
AJ 29 Jul @ 7:30pm 
Originally posted by Kothliim:
Finally fixed it :D
Will put out an update now for testing!
thank you 🤩. no problems with vegetation so far.

however i forgot to mention a different bug yesterday: the "Select random site" button works incorrectly. sorry
Kothliim  [developer] 30 Jul @ 4:18am 
Originally posted by AJ:
Originally posted by Kothliim:
Finally fixed it :D
Will put out an update now for testing!
thank you 🤩. no problems with vegetation so far.

however i forgot to mention a different bug yesterday: the "Select random site" button works incorrectly. sorry

Should be fixed in the latest version :)
< >
Showing 1-13 of 13 comments
Per page: 1530 50