AI Aircraft Not Landing or Not taxing from Parking in FS2024

Version: 1.2.11.0

Frequency: Consistently

Severity: High

Context:
I created a custom airport and want to make it live.
So, I tried adding AI aircraft using SimConnect.

Bug description:
First, I attempted to use SimConnect_AICreateEnrouteATCAircraft, but I received the following messages:

  • Code 7, which I think corresponds to SIMCONNECT_EXCEPTION_NAME_UNRECOGNIZED.
  • Code 23, which I believe is SIMCONNECT_EXCEPTION_LOAD_FLIGHTPLAN_FAILED.

I didn’t see the aircraft, and of course, the flight plan did not work.

Since that didn’t work, I tried a different approach using SimConnect_AICreateNonATCAircraft, which placed the aircraft in the correct location.
Then, I used SimConnect_AISetAircraftFlightPlan, but I got Code 7 again.

I attempted to load the flight plan like this:

std::string flightPlanPath = std::filesystem::current_path().string() + “\plan\SVR1Plan.pln”;
char *flightPlanCStr = strdup(flightPlanPath.c_str());
SimConnect_AISetAircraftFlightPlan(hSimConnect, AI_ObjectID, flightPlanCStr, 0);

I can see the aircraft, but it is not moving at all.
How to fix this , and how to create a flight plan for my custom airport
Note: My flight plane create in sim fs2024

So, I found the problem—it was my flight plan and the aircraft’s ability to be flown by AI.
I tried using a Direct/VFR route in Flight Simulator 2024, but now I’m facing a new issue:

  • The aircraft is not landing.
  • They can start from parking, but once placed in a parking spot, they disappear.

how can i find which aircraft support AI in fs2024?
How can i make the airplane landing? and takeoff?

Thanks

So now i success to make the airplane not disappear at parking , I make the runway at least 501 meters. but now it is not taxing.

So still i have problem:

  • The aircraft not landing
  • The plane not taxing to the runway

how can i find which aircraft support AI in fs2024?
How can i make the airplane landing? and takeoff?

Thanks