Author Topic: Crash while looting Ironhead Gunners  (Read 1648 times)

Wing

  • Probably not a Spambot
  • *
  • Posts: 29
  • Karma: +2/-0
    • View Profile
Crash while looting Ironhead Gunners
« on: September 11, 2014, 11:46:28 pm »
I had killed 2 gunners at a campsite somewhre in a cave around rail crossing and started to loot the second gunner when I noticed the remains of the 1st gunner was still there even when I had looted everything by alt clicking individual items. I open the remains of the 1st gunner to confirm it was empty then open the 2nd gunner and it crashed.

System.NullReferenceException: Object reference not set to an instance of an object.
   at baz.a(String A_0, Boolean A_1)
   at eb.wa(arm A_0)
   at aof.a(Object A_0, EventArgs A_1)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at bld.d()
   at a9d.a(ah2 A_0)
   at a9d.ad1(aj4 A_0)
   at bld.c()
   at w1.a(n A_0, Boolean A_1)
   at w1.a(bka A_0, bp5 A_1, Boolean A_2)
   at byv.jl(a8e A_0)
   at bph.ahe(u5 A_0)
   at j5.a(Object A_0, ang A_1)
   at mf.fa(Object A_0, l1 A_1)
   at a7t.fa(Object A_0, l1 A_1)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at bdr.b(ace A_0, akq A_1, bsv A_2)
   at bdr.aei(ace A_0)
   at a7t.aei(ace A_0)
   at bmh.aei(ace A_0)
   at bdr.aei(ace A_0)
   at ai6.aei(ace A_0)
   at p2.fv(ace A_0)
   at c5.a(ace A_0)
   at ux.Update(GameTime gameTime)
   at ew.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 ayq.a(String[] A_0)

Wing

  • Probably not a Spambot
  • *
  • Posts: 29
  • Karma: +2/-0
    • View Profile
Re: Crash while looting Ironhead Gunners
« Reply #1 on: September 12, 2014, 08:38:52 pm »
Some additional information: I was going through the tool tips of the items looking at the weight to value ratio, comparing them to each other before finally selecting them. The pattern may have something to do with triggering the bug although I can't remember how it went exactly.

Styg

  • Administrator
  • Godman
  • *****
  • Posts: 2406
  • Karma: +513/-31
    • View Profile
Re: Crash while looting Ironhead Gunners
« Reply #2 on: September 17, 2014, 07:01:54 am »
Ok, found it. It happens when you loot everything from a despawnable container, but open it again while its despawning (by clicking on it again while it's still open for example) and then when you try to close it game crashes when it attempts to play the closing sound.

Will be fixed for the next version.