I have a external Simconnect Client app that uses
simconnect.FlightSave and simconnect.FlightLoad
These API works fine in MSFS2020.
In MSFS2024 both APIs seems to work, but…
When a simconnect.FlightLoad is sent MSFS2024 first sets the airplane to the correct location and altitude etc. in the UI window
but then sets the airplane to start at the ground not in the air. Clicking the READY to FLY sets the airplane back to the initial location and altitude.
I am surprised this is actually working for you in MSFS2020. I find it hit-and-miss (i.e sometimes work but more often not, especially with complex aircraft) in MSFS2020. And even in MSFS2020, the SimConnect_FlightSave function is still documented as
NOTE : The current status of this function is NO ERROR, NO RESPONSE.
This could be related to the [Departure] and [Arrival] tags in the .FLT file. When I removed them, the problem went away.
Edit: After some more testing, it seems that setting a flightplan also causes the spawn bug. When the plane start in the air near the airport, it gets teleported to the runway.