Author Topic: Unhandled Exception bug in Tutorial 3  (Read 2024 times)

Offline Jake Spectre

  • Newbie
  • *
  • Posts: 2
Unhandled Exception bug in Tutorial 3
« on: October 30, 2010, 04:10:39 pm »
When I was playing tutorial 3, I got to the point where you created a command station. After this was done, I got a message in an infinite loop saying You've captured an Advanced Research Station! - Unhandled Exception. It wouldn't let me continue the tutorial. I'm running version 4.022, on Windows 7 64-bit.

Offline keith.lamothe

  • Arcen Games Staff
  • Arcen Staff
  • Zenith Council Member Mark III
  • *****
  • Posts: 19,505
Re: Unhandled Exception bug in Tutorial 3
« Reply #1 on: October 30, 2010, 04:12:23 pm »
Welcome to the forums :)  Sorry to hear about the troubles, though.

Can you please check your game directory (and its RuntimeData subdirectory) for any error log files?  If you find any, please post them here, as without them we have very little chance of finding the error.
Have ideas or bug reports for one of our games? Mantis for Suggestions and Bug Reports. Thanks for helping to make our games better!

Offline Jake Spectre

  • Newbie
  • *
  • Posts: 2
Re: Unhandled Exception bug in Tutorial 3
« Reply #2 on: October 30, 2010, 07:25:34 pm »
Here it is. Thanks for the help.

Offline keith.lamothe

  • Arcen Games Staff
  • Arcen Staff
  • Zenith Council Member Mark III
  • *****
  • Posts: 19,505
Re: Unhandled Exception bug in Tutorial 3
« Reply #3 on: October 30, 2010, 07:27:18 pm »
Well, that's interesting.  It's trying to get an entry in a ShipType-indexed dictionary, and the dictionary doesn't know what it's talking about ;) 

Thanks, we'll take a look.
Have ideas or bug reports for one of our games? Mantis for Suggestions and Bug Reports. Thanks for helping to make our games better!

Offline keith.lamothe

  • Arcen Games Staff
  • Arcen Staff
  • Zenith Council Member Mark III
  • *****
  • Posts: 19,505
Re: Unhandled Exception bug in Tutorial 3
« Reply #4 on: October 30, 2010, 07:42:01 pm »
Chris, I just committed a fix that should at least prevent the crash, but I couldn't figure out why the underlying problem (it either not finding anything in this.LocalPlayer.UnlockedBonusShipTypes around line 974 for TutorialStep.cs, or finding one that doesn't exist in ShipTypeData.Dictionary ) was happening, or really how it could happen.

Anyway, you should probably take a look to make sure what I did won't make it worse.
Have ideas or bug reports for one of our games? Mantis for Suggestions and Bug Reports. Thanks for helping to make our games better!

Offline x4000

  • Chris McElligott Park, Arcen Founder and Lead Dev
  • Arcen Staff
  • Zenith Council Member Mark III
  • *****
  • Posts: 31,651
Re: Unhandled Exception bug in Tutorial 3
« Reply #5 on: November 01, 2010, 03:54:59 pm »
Okay, I've looked through this and it seems solid.  I suppose this could come about if the ARS was somehow destroyed before the planet was captured, something along those lines.  THAT shouldn't happen, but in the event that it does the tutorial won't be stalled, at least.
Have ideas or bug reports for one of our games?  Mantis for Suggestions and Bug Reports. Thanks for helping to make our games better!

Offline rafgeens

  • Newbie
  • *
  • Posts: 2
Re: Unhandled Exception bug in Tutorial 3
« Reply #6 on: November 10, 2010, 11:53:01 am »
I've encountered the same problem in 4.021, with the same dictionary exception in the logs. The advanced research station was still intact when I built the command station. I've attached a savegame where it starts looping when you load it.

Offline x4000

  • Chris McElligott Park, Arcen Founder and Lead Dev
  • Arcen Staff
  • Zenith Council Member Mark III
  • *****
  • Posts: 31,651
Re: Unhandled Exception bug in Tutorial 3
« Reply #7 on: November 10, 2010, 11:56:36 am »
Yes, this was fixed in a version after 4.022 -- you'll want to use the latest betas to avoid this if it happens to hit you (though it's a fairly rare bug from what we can tell).  Sorry about that,  but also welcome to the forums!
Have ideas or bug reports for one of our games?  Mantis for Suggestions and Bug Reports. Thanks for helping to make our games better!

Offline rafgeens

  • Newbie
  • *
  • Posts: 2
Re: Unhandled Exception bug in Tutorial 3
« Reply #8 on: November 10, 2010, 01:34:37 pm »
Alright, thanks :)

Offline x4000

  • Chris McElligott Park, Arcen Founder and Lead Dev
  • Arcen Staff
  • Zenith Council Member Mark III
  • *****
  • Posts: 31,651
Re: Unhandled Exception bug in Tutorial 3
« Reply #9 on: November 10, 2010, 02:08:44 pm »
My pleasure!
Have ideas or bug reports for one of our games?  Mantis for Suggestions and Bug Reports. Thanks for helping to make our games better!