I have been knee deep in a project the past couple of weeks and am looking forward to finally bringing a vessel to orbiter after two decades of playing it. I have a little bit of Orbiter development experience coming from an earlier push I made to understand it about two years ago, but for the most part I've been relying on general programming knowledge to carry me through this and not specific knowledge of C++ or Orbiter, so I may be missing something fairly obvious.
The main problem:
Whenever I compile my vessel and launch orbiter, there is a chance any scenario containing my vessel will crash to desktop on load. This is a silent crash, with the last thing in the orbiter log being the vessel DLL beginning loading. If the vessel does crash, it will usually crash anywhere between 5 and 15 more times before eventually loading. Once it's loaded successfully once, it seems to work continually until I recompile the DLL, at which point I roll the dice on crashes again. Sometimes rebuilding with no changes seems to help, but I'm pretty sure it's a fluke since I've also had it recover without doing any additional builds of the DLL.
Another symptom I'm not completely sure is related but seems to be:
After the vessel has crashed several times, when it does successfully load, sometimes random triangles are torn in the msh. Eg. A triangle somewhere on the left of my virtual cockpit will try to connect to a vertex on the right side or the ceiling. A vessel in this condition will usually eventually crash but there is no telling when. This is also a silent crash. Regardless of whether it crashes, a restart of Orbiter usually fixes the problem, though in rare cases it simply changes which triangles are torn. Again, once this works once, it seems to work forever until a new build is made. Unfortunately I do not have any screenshots of the phenomenon on hand and the symptom appears very rarely, but I will post a screenshot here when I next see it happen. The triangle gore looks a little bit like exceeding the 65k rule, but while the whole vessel is at 75k, no single group is over about 40k. Also the severity of the gore is different every time it happens, and always relatively minor (3-6 triangles).
I'm at a bit of a loss here. This happens on both of my machines, and also happened once for someone on the discord whom I shared the DLL with. It doesn't make any sense to me that a compiled DLL could fail upwards of 15 times, suddenly start working, and then continue to work forever. And the torn-triangle vertex gore is something I have never seen in Orbiter before.
I'm running into this with Orbiter 2016 running the dx9 client on Windows 11. Anyone have an inkling of what I might be dealing with? I don't think it's my installation, given other vessels always work, including other projects of mine. The blender msh solution I'm using is this one: https://github.com/BMCDad/orbiter-blender, in case the msh is somehow the guilty party. Other spacecraft I've done this way don't seem to have the problem, but I also haven't done them to nearly the detail and extent.
The main problem:
Whenever I compile my vessel and launch orbiter, there is a chance any scenario containing my vessel will crash to desktop on load. This is a silent crash, with the last thing in the orbiter log being the vessel DLL beginning loading. If the vessel does crash, it will usually crash anywhere between 5 and 15 more times before eventually loading. Once it's loaded successfully once, it seems to work continually until I recompile the DLL, at which point I roll the dice on crashes again. Sometimes rebuilding with no changes seems to help, but I'm pretty sure it's a fluke since I've also had it recover without doing any additional builds of the DLL.
Another symptom I'm not completely sure is related but seems to be:
After the vessel has crashed several times, when it does successfully load, sometimes random triangles are torn in the msh. Eg. A triangle somewhere on the left of my virtual cockpit will try to connect to a vertex on the right side or the ceiling. A vessel in this condition will usually eventually crash but there is no telling when. This is also a silent crash. Regardless of whether it crashes, a restart of Orbiter usually fixes the problem, though in rare cases it simply changes which triangles are torn. Again, once this works once, it seems to work forever until a new build is made. Unfortunately I do not have any screenshots of the phenomenon on hand and the symptom appears very rarely, but I will post a screenshot here when I next see it happen. The triangle gore looks a little bit like exceeding the 65k rule, but while the whole vessel is at 75k, no single group is over about 40k. Also the severity of the gore is different every time it happens, and always relatively minor (3-6 triangles).
I'm at a bit of a loss here. This happens on both of my machines, and also happened once for someone on the discord whom I shared the DLL with. It doesn't make any sense to me that a compiled DLL could fail upwards of 15 times, suddenly start working, and then continue to work forever. And the torn-triangle vertex gore is something I have never seen in Orbiter before.
I'm running into this with Orbiter 2016 running the dx9 client on Windows 11. Anyone have an inkling of what I might be dealing with? I don't think it's my installation, given other vessels always work, including other projects of mine. The blender msh solution I'm using is this one: https://github.com/BMCDad/orbiter-blender, in case the msh is somehow the guilty party. Other spacecraft I've done this way don't seem to have the problem, but I also haven't done them to nearly the detail and extent.
Last edited:




