Reasons for Exception 22 with ATC SimObjects?

obinder
Posts: 144
Joined: Sun Jun 08, 2014 9:43 am

Reasons for Exception 22 with ATC SimObjects?

Postby obinder » Sun Jun 07, 2020 7:46 am

Hello @ll,

one of my addons is creating ATC controlled aircraft, using flight plans of various degrees of complexity. I am getting a large number of exceptions "22" when using "AICreateEnrouteATCAircraft" and "AICreateParkedATCAircraft".

- It is not the aircraft model. I can create the same model with the same flight plan just a few minutes later using another tool
- It is not the flight plan - I can assign that plan to other AI aircraft and it will work
- It is not the parking spaces. The same model with a different flight plan is created on the same airport just fine

I have been searching for possible causes on and off for 2 years now, but I still have no idea why the simulator would just refuse to create a perfectly good model with a valid flight plan.

If anyone could offer more insight as to what the simulator is trying to tell me with that generic "22", that would be great!

Best regards
Oliver Binder
Lorby-SI

Return to “SimConnect Interface Questions”

Who is online

Users browsing this forum: Google [Bot] and 15 guests