Skip to content

[Bug] World generation crash/error  #752

Description

@Dwolfwoood

When creating a world, there comes a time when it gives an error and does not allow creating any world. If you try a second time, the game closes when trying to create again.

[17:58:10.260] [.NET TP Worker/ERROR] [tML]: Se ha producido un fallo durante la generación del mundo
System.IndexOutOfRangeException: Index was outside the bounds of the array.
at DMD<System.Boolean Terraria.WorldGen:PlaceTile(System.Int32, System.Int32, System.Int32, System.Boolean, System.Boolean, System.Int32, System.Int32)>(Int32 i, Int32 j, Int32 Type, Boolean mute, Boolean forced, Int32 plr, Int32 style)
at Hook<System.Boolean StarlightRiver.Content.CustomHooks.ProtectionGlobalItem::DontManuallyPlaceInZone(Terraria.On_WorldGen+orig_PlaceTile,System.Int32,System.Int32,System.Int32,System.Boolean,System.Boolean,System.Int32,System.Int32)>(Int32 , Int32 , Int32 , Boolean , Boolean , Int32 , Int32 )
at SyncProxy<System.Boolean Terraria.WorldGen:PlaceTile(System.Int32, System.Int32, System.Int32, System.Boolean, System.Boolean, System.Int32, System.Int32)>(Int32 , Int32 , Int32 , Boolean , Boolean , Int32 , Int32 )
at StarlightRiver.Core.StarlightWorld.GenPillar(Int32 x, Int32 y)
at StarlightRiver.Core.StarlightWorld.GenRuins()
at StarlightRiver.Core.StarlightWorld.VitricGen(GenerationProgress progress, GameConfiguration configuration)
at WorldGenPreviewer.WorldGenPreviewerModSystem.On_WorldGenerator_GenerateWorld(orig_GenerateWorld orig, WorldGenerator self, GenerationProgress progress)
at Hook<System.Void WorldGenPreviewer.WorldGenPreviewerModSystem::On_WorldGenerator_GenerateWorld(Terraria.WorldBuilding.On_WorldGenerator+orig_GenerateWorld,Terraria.WorldBuilding.WorldGenerator,Terraria.WorldBuilding.GenerationProgress)>(WorldGenerator , GenerationProgress )
at SyncProxy<System.Void Terraria.WorldBuilding.WorldGenerator:GenerateWorld(Terraria.WorldBuilding.GenerationProgress)>(WorldGenerator , GenerationProgress )
at Terraria.WorldGen.GenerateWorld_RunTasksAndFinish(Int32 seed, Stopwatch generationStopwatch, GenerationProgress customProgressObject)
at Terraria.WorldGen.GenerateWorld(Int32 seed, GenerationProgress customProgressObject)
at DMD<System.Void Terraria.WorldGen:do_worldGenCallBack(System.Object)>(Object threadContext)
at SyncProxy<System.Void Terraria.WorldGen:do_worldGenCallBack(System.Object)>(Object )
at Terraria.WorldGen.worldGenCallback(Object threadContext)
tm
tm2

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugSomething isn't workingMedium PriorityIssues which may impact gameplay temporarily or only under certain conditions

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions