Bug when using railguns on old subs in newest version

Rosita
Class-D
Posts: 1
Joined: Thu Nov 16, 2017 1:03 am

Bug when using railguns on old subs in newest version

Postby Rosita » Fri Dec 01, 2017 11:27 am

On some subs made prior to the newest update, when entering a railgun seat and getting ready to fire, instead of the new UI Displaying, a crash will occur.

I am looking for a workaround involving simply re-placing the railgun controllers in the sub file and will get back to this thread with my findings. Here is the crash report.

Spoiler
Exception: Object reference not set to an instance of an object.
Target site: System.Collections.Generic.List`1[Barotrauma.Items.Components.Projectile] GetLoadedProjectiles(Boolean, Boolean)
Stack trace:
at Barotrauma.Items.Components.Turret.GetLoadedProjectiles(Boolean returnFirst, Boolean returnNull) in E:\Barotrauma\Barotrauma\BarotraumaShared\Source\Items\Components\Turret.cs:line 350
at Barotrauma.Items.Components.Turret.DrawHUD(SpriteBatch spriteBatch, Character character) in E:\Barotrauma\Barotrauma\BarotraumaClient\Source\Items\Components\Turret.cs:line 85
at Barotrauma.Items.Components.Controller.DrawHUD(SpriteBatch spriteBatch, Character character) in E:\Barotrauma\Barotrauma\BarotraumaClient\Source\Items\Components\Machines\Controller.cs:line 12
at Barotrauma.Item.DrawHUD(SpriteBatch spriteBatch, Camera cam, Character character) in E:\Barotrauma\Barotrauma\BarotraumaClient\Source\Items\Item.cs:line 254
at Barotrauma.GameScreen.Draw(Double deltaTime, GraphicsDevice graphics, SpriteBatch spriteBatch) in E:\Barotrauma\Barotrauma\BarotraumaClient\Source\Screens\GameScreen.cs:line 68
at Barotrauma.GameMain.Draw(GameTime gameTime) in E:\Barotrauma\Barotrauma\BarotraumaClient\Source\GameMain.cs:line 422
at Microsoft.Xna.Framework.Game.DoDraw(GameTime gameTime)
at Microsoft.Xna.Framework.Game.Tick()
at MonoGame.Framework.WinFormsGameWindow.RunLoop()
at MonoGame.Framework.WinFormsGamePlatform.RunLoop()
at Microsoft.Xna.Framework.Game.Run(GameRunBehavior runBehavior)
at Barotrauma.Program.Main() in E:\Barotrauma\Barotrauma\BarotraumaClient\Source\Program.cs:line 41

Return to “Bug reports”

Who is online

Users browsing this forum: No registered users and 2 guests