BVEStation

Author Topic: "1" Route; OpenBVE crash "object reference not set to an instance of an object"  (Read 4778 times)

Offline nickdibiase

  • New Recruit
  • *
  • Posts: 2
  • Gender: Male
  • BVEStation Member
    • View Profile
Have many routes that operate with no problems. This route, "1", crashes OpenBve with "object reference not set to an instance of an object". Simply cannot come up with a reason for this. Crashes with any train type.

Thanks for any help.

Offline nickdibiase

  • New Recruit
  • *
  • Posts: 2
  • Gender: Male
  • BVEStation Member
    • View Profile
Solved. Downloaded another version of OpenBVE and it works. Strange as this is the only route that is crashing.

Offline YankeesPwnMets

  • Head Admin
  • Dispatcher
  • ******
  • Posts: 683
  • Gender: Male
  • Lexington Av Express
    • View Profile
openBVE is coded in an a language known as C Sharp or C#, which is what is called an object oriented language. When the program, refers to an "object," it refers to an object within the source code of openBVE, not an openBVE object (yes, this is a confusing explanation). The error was caused with the source code somehow conflicting with the route. You probably had a version of openBVE modified by someone who didn't do enough error checking.