Crash by new Game

Won't fix Mod issue
mictp52-cmd [github] · 1 year ago

Issue description

Crash by new Game

Reproduction steps

Crash by new Game

Game version and build number

v0.7.8a b486

Operating system

Windows

Attachments

The game could not be initialized. Please send us a report with details.

System.Collections.Generic.KeyNotFoundException: Key 2 was not found.
at Mafi.Collections.Dict`2[TKey,TValue].get_Item (TKey key) [0x0002e]
at COIExtended.Core.RandomWorldGen.NewMapGenerator.GetSuitableLocations (System.Int32 minDistanceFromHome, System.Int32 maxDistanceFromHome) [0x0009d]
at COIExtended.Core.RandomWorldGen.NewMapGenerator.FindPlaceToPutEntityPair (Mafi.Core.Entities.EntityProto+ID entityId, Mafi.Core.Prototypes.Proto+ID techId, System.Int32 minDistanceFromHome, System.Int32 maxDistanceFromHome) [0x00001]
at COIExtended.Core.RandomWorldGen.NewMapGenerator.generateLocationsForFreshMap (System.Int32[] tierLevels, COIExtended.Core.RandomWorldGen.MapGeneratorConfig config, System.Reflection.MethodInfo setGraphicsMethod) [0x00001]
at COIExtended.Core.RandomWorldGen.NewMapGenerator.PlaceEntitiesAndTechnologies (System.Int32[] tierLevels) [0x0002b]
at COIExtended.Core.RandomWorldGen.NewMapGenerator.CreateWorldMap () [0x00078]
at Mafi.Core.World.WorldMapManager+<newGameCreated>d__49.MoveNext () [0x00065]
at Mafi.Core.GameLoop.GameLoopEvents+<InvokeNewGameCreated>d__63.MoveNext () [0x0009f]
at Mafi.Core.GameLoop.GameRunner+<Initialize>d__118.MoveNext () [0x00118]
at Mafi.Core.Game.GameBuilder+<initializeGame>d__6.MoveNext () [0x00127]
at Mafi.Core.Game.GameBuilder+<BuildNewGameTimeSliced>d__2.MoveNext () [0x0040a]
at Mafi.Unity.GamePlayScene+<buildNewGame>d__24.MoveNext () [0x00085]
at Mafi.Unity.GamePlayScene+<Initialize>d__22.MoveNext () [0x000a5]
at Mafi.Unity.Main+<unloadAndStartNewScene>d__89.MoveNext () [0x0011b]
at Mafi.Unity.Main.stepSceneInitialization () [0x000dd]

Originally posted in German
### Issue description Crash by new Game ### Reproduction steps Crash by new Game ### Game version and build number v0.7.8a b486 ### Operating system Windows ### Attachments Das Spiel konnte nicht initialisiert werden. Bitte senden Sie uns einen Bericht mit Details. System.Collections.Generic.KeyNotFoundException: Key 2 was not found. at Mafi.Collections.Dict`2[TKey,TValue].get_Item (TKey key) [0x0002e] at COIExtended.Core.RandomWorldGen.NewMapGenerator.GetSuitableLocations (System.Int32 minDistanceFromHome, System.Int32 maxDistanceFromHome) [0x0009d] at COIExtended.Core.RandomWorldGen.NewMapGenerator.FindPlaceToPutEntityPair (Mafi.Core.Entities.EntityProto+ID entityId, Mafi.Core.Prototypes.Proto+ID techId, System.Int32 minDistanceFromHome, System.Int32 maxDistanceFromHome) [0x00001] at COIExtended.Core.RandomWorldGen.NewMapGenerator.generateLocationsForFreshMap (System.Int32[] tierLevels, COIExtended.Core.RandomWorldGen.MapGeneratorConfig config, System.Reflection.MethodInfo setGraphicsMethod) [0x00001] at COIExtended.Core.RandomWorldGen.NewMapGenerator.PlaceEntitiesAndTechnologies (System.Int32[] tierLevels) [0x0002b] at COIExtended.Core.RandomWorldGen.NewMapGenerator.CreateWorldMap () [0x00078] at Mafi.Core.World.WorldMapManager+<newGameCreated>d__49.MoveNext () [0x00065] at Mafi.Core.GameLoop.GameLoopEvents+<InvokeNewGameCreated>d__63.MoveNext () [0x0009f] at Mafi.Core.GameLoop.GameRunner+<Initialize>d__118.MoveNext () [0x00118] at Mafi.Core.Game.GameBuilder+<initializeGame>d__6.MoveNext () [0x00127] at Mafi.Core.Game.GameBuilder+<BuildNewGameTimeSliced>d__2.MoveNext () [0x0040a] at Mafi.Unity.GamePlayScene+<buildNewGame>d__24.MoveNext () [0x00085] at Mafi.Unity.GamePlayScene+<Initialize>d__22.MoveNext () [0x000a5] at Mafi.Unity.Main+<unloadAndStartNewScene>d__89.MoveNext () [0x0011b] at Mafi.Unity.Main.stepSceneInitialization () [0x000dd]
poltime poltime · 1 year ago

Update or disable mod(s).

Captain Filip Captain Filip · 1 year ago

This is a mod issue, the game itlsef does not have NewMapGenerator class, please reach out to the modder.

Closed as 🗑️ Won't fix

7 Showing 1–3 of 3