Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags

Starship Command 2

The massively single-player, starship simulator (Sequel!) · By evgLabs

Crashes (Update: Fixed)

A topic by Hoganborg created Apr 02, 2020 Views: 284 Replies: 3
Viewing posts 1 to 2
(2 edits)

(Update: this was fixed. It was a ship in my fleet missing components.)

Loving the game, but I am getting some crashes all related to "Object reference not set to an instance of an object". Any idea what causes this? 

Sunday, 9 February 2020

Crash on layout: shipCombat

Crash reason: Object reference not set to an instance of an object.

Crash report: System.NullReferenceException: Object reference not set to an instance of an object.
   at Starship_Command_2.Layouts.ShipCombat.Draw()
   at Starship_Command_2.Game1.Draw(GameTime gameTime)
   at Microsoft.Xna.Framework.Game.DoDraw(GameTime gameTime)
   at Microsoft.Xna.Framework.Game.Tick()
   at MonoGame.Framework.WinFormsGameWindow.RunLoop()
   at Microsoft.Xna.Framework.Game.Run(GameRunBehavior runBehavior)
   at Starship_Command_2.Program.Main()

Crash on layout: shipCombat

Crash reason: Object reference not set to an instance of an object.

Crash report: System.NullReferenceException: Object reference not set to an instance of an object.
   at Starship_Command_2.Layouts.ShipCombat.Draw()
   at Starship_Command_2.Game1.Draw(GameTime gameTime)
   at Microsoft.Xna.Framework.Game.DoDraw(GameTime gameTime)
   at Microsoft.Xna.Framework.Game.Tick()
   at MonoGame.Framework.WinFormsGameWindow.RunLoop()
   at Microsoft.Xna.Framework.Game.Run(GameRunBehavior runBehavior)
   at Starship_Command_2.Program.Main()

Crash on layout: mainScreen

Crash reason: Object reference not set to an instance of an object.

Crash report: System.NullReferenceException: Object reference not set to an instance of an object.
   at Starship_Command_2.Controllers.GUIController.Update()
   at Starship_Command_2.Game1.Update(GameTime gameTime)
   at Microsoft.Xna.Framework.Game.DoUpdate(GameTime gameTime)
   at Microsoft.Xna.Framework.Game.Tick()
   at MonoGame.Framework.WinFormsGameWindow.RunLoop()
   at Microsoft.Xna.Framework.Game.Run(GameRunBehavior runBehavior)
   at Starship_Command_2.Program.Main()

Crash on layout: sectorScreen

Crash reason: Object reference not set to an instance of an object.

Crash report: System.NullReferenceException: Object reference not set to an instance of an object.
   at Starship_Command_2.Controllers.GUIController.Update()
   at Starship_Command_2.Game1.Update(GameTime gameTime)
   at Microsoft.Xna.Framework.Game.DoUpdate(GameTime gameTime)
   at Microsoft.Xna.Framework.Game.Tick()
   at MonoGame.Framework.WinFormsGameWindow.RunLoop()
   at Microsoft.Xna.Framework.Game.Run(GameRunBehavior runBehavior)
   at Starship_Command_2.Program.Main()

Crash on layout: shipCombat

Crash reason: Object reference not set to an instance of an object.

Crash report: System.NullReferenceException: Object reference not set to an instance of an object.
   at Starship_Command_2.Controllers.Ship.UpdateCaptain(Single dT)
   at Starship_Command_2.Controllers.Ship.Process(Single deltaTime, Single updateRate)
   at Starship_Command_2.Layouts.ShipCombat.Update(Single dT)
   at Starship_Command_2.Game1.Update(GameTime gameTime)
   at Microsoft.Xna.Framework.Game.DoUpdate(GameTime gameTime)
   at Microsoft.Xna.Framework.Game.Tick()
   at MonoGame.Framework.WinFormsGameWindow.RunLoop()
   at Microsoft.Xna.Framework.Game.Run(GameRunBehavior runBehavior)
   at Starship_Command_2.Program.Main()

Crash on layout: shipCombat

Crash reason: Object reference not set to an instance of an object.

Crash report: System.NullReferenceException: Object reference not set to an instance of an object.
   at Starship_Command_2.Layouts.ShipCombat.Draw()
   at Starship_Command_2.Game1.Draw(GameTime gameTime)
   at Microsoft.Xna.Framework.Game.DoDraw(GameTime gameTime)
   at Microsoft.Xna.Framework.Game.Tick()
   at MonoGame.Framework.WinFormsGameWindow.RunLoop()
   at Microsoft.Xna.Framework.Game.Run(GameRunBehavior runBehavior)
   at Starship_Command_2.Program.Main()

Ahh! sorry for the delay! I've been busy and fell through.

I'm not sure what would cause this. Have you modified any files? And is this all from the same galaxy?

(2 edits)

No problem, I not modified any files (to my knowledge). It is all from the same galaxy. It seems to happen at random intervals. Is there any way to send you (or upload) my galaxy file? 

I created a new captain in the same galaxy with a different empire. I played the new captain for a bit with no crashes. Switched back to the original captain and got a crash. So it seems to be something related to that captain. 

Yeah, that sounds like something related to the specific captain.

We can try zipping up the .json files inside of PATH_TO_GAME\Data\Mods\Standard\save
(You don't need to include any subfolders)

You can then try emailing that to evglabs@gmail.com