Destination array was not long enough. Check destIndex and length, and the array's lower bounds.
at System.Array.Copy(Array sourceArray, Int32 sourceIndex, Array destinationArray, Int32 destination
Edit
Destination array was not long enough. Check destIndex and length, and the array's lower bounds.
at System.Array.Copy(Array sourceArray, Int32 sourceIndex, Array destinationArray, Int32 destinationIndex, Int32 length, Boolean reliable)
at ZombieBlocks.CustomNetworkPacket.AppendPacket(CustomNetworkPacket packet)
at ZombieBlocks.NetworkedGameplayScreen.SendData(CustomNetworkPacket packetWriter, CustomSendDataOptions options, CustomNetworkGamer recipient)
at ZombieBlocks.NetworkedGameplayScreen.SendHostPackets(GameTime gameTime)
at ZombieBlocks.NetworkedGameplayScreen.SendPeriodicPacket(GameTime gameTime)
at ZombieBlocks.NetworkedGameplayScreen.UpdateNetworking(GameTime gameTime)
at ZombieBlocks.NetworkedGameplayScreen.Update(GameTime gameTime, Boolean otherScreenHasFocus, Boolean coveredByOtherScreen)
at GameStateManagement.ScreenManager.Update(GameTime gameTime)
at Microsoft.Xna.Framework.Game.Update(GameTime gameTime)
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.WindowsGameHost.ApplicationIdle(Object sender, EventArgs e)
at System.Windows.Forms.Application.ThreadContext.System.Windows.Forms.UnsafeNativeMethods.IMsoComponent.FDoIdle(Int32 grfidlef)
at System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr dwComponentID, Int32 reason, Int32 pvLoopData)
at System.Windows.Forms.Application.ThreadContext.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 ZombieBlocks.Program.Main(String[] args)
OS Version
Microsoft Windows NT 6.2.9200.0
CPU
Intel(R) Core(TM) i5-6200U CPU @ 2.30GHz
GPU
Intel(R) HD Graphics 520