Object reference not set to an instance of an object.
at ZombieBlocks.MeleeAnimatedEquipable.DrawFirstPerson(Matrix view, Matrix projection, Matrix globalView, Matrix globalProjection, SpriteBatch
Edit
Object reference not set to an instance of an object.
at ZombieBlocks.MeleeAnimatedEquipable.DrawFirstPerson(Matrix view, Matrix projection, Matrix globalView, Matrix globalProjection, SpriteBatch spriteBatch, LocalPlayerSession player, GameTime gameTime, DrawPass effectPass) in C:\Users\teamt\Documents\Deadburg\Deadburg_PC\ZombieBlocks\ZombieBlocks\Items\Equipables\MeleeAnimatedEquipable.cs:line 1811
at ZombieBlocks.LocalPlayerSession.DrawFirstPerson(Matrix view, Matrix projection, SpriteBatch spriteBatch, GameTime gameTime, DrawPass effectPass) in C:\Users\teamt\Documents\Deadburg\Deadburg_PC\ZombieBlocks\ZombieBlocks\Players\LocalPlayerSession.cs:line 1568
at ZombieBlocks.NetworkedGameplayScreen.DrawFirstPersonElements(GameTime gameTime, Int32 playerIndex, LocalPlayerSession player) in C:\Users\teamt\Documents\Deadburg\Deadburg_PC\ZombieBlocks\ZombieBlocks\Screens\NetworkedGameplayScreen.cs:line 23829
at ZombieBlocks.NetworkedGameplayScreen.Draw(GameTime gameTime) in C:\Users\teamt\Documents\Deadburg\Deadburg_PC\ZombieBlocks\ZombieBlocks\Screens\NetworkedGameplayScreen.cs:line 22804
at GameStateManagement.ScreenManager.Draw(GameTime gameTime) in C:\Users\teamt\Documents\Deadburg\Deadburg_PC\ZombieBlocks\ZombieBlocks\GameStateManagement\ScreenManager.cs:line 688
at Microsoft.Xna.Framework.Game.Draw(GameTime gameTime)
at ZombieBlocks.ZombieGame.Draw(GameTime gameTime) in C:\Users\teamt\Documents\Deadburg\Deadburg_PC\ZombieBlocks\ZombieBlocks\ZombieGame.cs:line 263
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.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) in C:\Users\teamt\Documents\Deadburg\Deadburg_PC\ZombieBlocks\ZombieBlocks\Program.cs:line 54
OS Version
Microsoft Windows NT 6.2.9200.0
CPU
Intel(R) Core(TM) i7-6700HQ CPU @ 2.60GHz
GPU
Intel(R) HD Graphics 530