BVEStation Forums
BVE => BVE/OpenBVE Support => Topic started by: nickdibiase on July 19, 2016, 09:54:49 pm
-
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.
-
Solved. Downloaded another version of OpenBVE and it works. Strange as this is the only route that is crashing.
-
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.