Just got a random crash last night and I can't figure out the cause
System.IndexOutOfRangeException: Index was outside the bounds of the array.
at SpiritMod.Tiles.Furniture.Reach.ReachChest1.MapChestName(String name, Int32 i, int 32 j) in c:\Users\colton\Documents\My Games\Terraria\ModLoader\Mod Sources\SpiritMod\Tiles\Furniture\Reach\ReachChest1.csline 58
at Terraria.ModLoader.MapLegend.FromTile(MapTile mapTile, Int32 x, Int32 y)
at Terraria.Main.DrawMap()
at Terraria Main.do_Draw(GameTime gameTime)
at Terraria.Main.DoDraw(GameTime gameTime)
at Terraria.Main.Draw(GameTime gameTime)
at Microsoft.Xna.Framework.Game.DrawFrame()
at Microsoft.Xna.Framework.Game.Tick()
at Microsoft.Xna.Framework.Game.HostIdle(Object sender, EventArgs e)
at Microsoft.Xna.Framework.GameHost.OnIdle()
at Microsoft.Xna.Framework.WindowsGameHost.RunOneFrame()
at Microsoft.Xna.Framework.ApplicationIdle(Object sender, EventArgs e)
at
System.Windows.Forms.Application.ThreatContext.System.Windows.Forms.UnsafeNativeMethods.IMsoComponent.FDoIdle(Int32 grfidlef)
at
System.Windows.Forms.Application.ComponentManager.System.Windows.Form.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtrdwComponentID, Int32 reason, Int32 pvLoopData)
at
System.Windows.Forms.Application.ThreatContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
at System.Windows.Forms.Application.Run(Form.mainForm)
at Microsoft.Xna.Framework.WindowsGameHost.Run()
at Microsoft.Xna.Framework.Game.RunGame(Boolean useBlockingRun)
at Terraria.Program.LaunchGame(Sting[] args, Boolean monoArgs)
And here's an
image of the crash report in case I wrote something wrong.