xpilot-project / xpilot

Open-source, cross-platform X-Plane pilot client for VATSIM.
https://xpilot-project.org
GNU General Public License v3.0
121 stars 35 forks source link

X-Plane 12 crashes attempting to release TCAS control or disable xPilot when AI aircraft are enabled #213

Open ryanov opened 4 months ago

ryanov commented 4 months ago

In X-Plane 12 (since at least 12.0.9), if you have AI aircraft defined and use Plugins->xPilot->Release TCAS Control or Plugins->Plugin Admin->Disable xPilot 3.0.1 (or 2.0.0 beta when I was running it, since ~beta50) X-Plane will crash. It will hang forever. Sound continues, but the data stops updating and you can't interact with the sim.

The workaround is to remove all of the AI aircraft, do what you want to do, and re-enable them. I run into this because I would prefer to have the immersion of other aircraft when flying offline, but xPilot blocks the other aircraft when it has TCAS control.

Laminar Research has confirmed this bug via testing and said that it appears to be a bug in xPilot.

Dear Ryan,

I was able to reproduce the issue. However, it seems like the problem is within the xPilot plugin. In an ideal world a plugin would not be able to crash X-Plane. Unfortunately, we cannot control everything.

Please raise a ticket with the xPilot developer. If they need any further information from us, we are more than happy to help.

Kind regards, Marco

Marco Auer