| Takttiger 
 
   Posts:  1
 Joined:  9/28/2021
 Status: offline
   | Hey guys, 
 I started playing Distant Worlds again, am using Bacon+RetreatUE+Das Chrome and some custom modifications in facilities and research.txt, additionally I have patched the .exe file with NTCores 4GB patch to use more RAM.
 
 I have had a repeating crash in 3 different games some 50 years in game on medium maps, all this error log (its partly translated from german sorry for that):
 
 
 An error has occurred. Distant Worlds will now exit.
 
 Details of the error are below:
 
 Error Code: GxHab
 
 System.ARgumentException: target array not long enough. Check destIndex, length and lower limit of array.
 
 at System.Array.Copy(Array sourceArray, Int32 sourceIndex, Array destination Array, Int32 destinationIndex, Int32 length, Boolean reliable)
 
 at System.Collections.Generic.List`1.CopyTo(To array, Int32 arrayIndex)
 
 at System.Collections.Generic.List`1.InsertRAnge(Int32 index, IEnumerable`1 items)
 
 at DistantWorlds.Types.SyncList`1.AddRange(IEnumerable`1 items)
 
 at DistantWorlds.Types.Empire.CountResourceSupplyLocations(Byte resourceId, Boolean includeIndependentColonies)
 
 at BaconDistantWorlds.BaconHabitat.CalculateResourcePriceEnvironmentalFactors(Habitat planet, Int32 resourceID)
 
 at BaconDistantWorlds.BaconHabitat.UpdatePlanetResourcePrices(Habitat planet)
 
 at BaconDistantWorlds.BaconHabitat.HugeProcessingSspanActions(Habitat planet)
 
 at DistantWorlds.Types.Habitat.DoTasks(DateTime time)
 
 at DistantWorlds.Main.method_86(DateTime dateTime_7, Int64 long_1, BuiltObjectList builtObjectList_1, Boolean bool_28)
 
 at DistantWorlds.Main.ProgramLoop()
 
 
 I am wondering if it is connected to the Asteroid Habitats the AI is establishing, which are added by the BaconMod. Will try disabling them, but in the meantime I wanted to ask here, if somebody has experienced this error in the past.
 
 
 |