AICreateSimulatedObject using an aircraft will freeze or CTD the sim every time in SU2

Version: 1.4.12.0

Frequency: Consistently

Severity: High
Marketplace package name: N/A

Context: Injecting object using AICreateSimulatedObject via SimConnect

Similar MSFS 2020 issue: N/A

Bug description:

Repro steps: Simply trying to use AICreateSimulatedObject or AICreateSimulatedObject_EX1 with an aircraft (including FSLTL, AIG, FSTraffic, etc library models) crashes instantly and consistently in the SU2 betas. This continues to function completely as expected in SU1

For reference: Creating the same object using AICreateNonATC, Enroute, Parked, etc will work perfectly fine, it’s explicitly only via AICreateSimulatedObject that the freeze/CTD will occur.

Attachments: N/A

Private attachments: N/A

1 Like

Hello @Marajin360,

I tested with the SDK sample AIObjectsAndWaypoints and could not reproduce the issue.
Could you specify exactly which aircraft you tried to spawn?

Also, please provide use with a dmp file.
See Section 2 & 3 here.

Regards,
Boris

Have you tested to inject other types of SimObjects? We use the same function for Humans and GroundVehicles and have no issues.

Hi guys. Thanks for looking at this. Unfortunately super super busy this last day or two but I will work up a more explicit example/sample for you as soon as I get a moment @Boris

@Kaiii3 Yep, it seems to explicitly be aircraft… the more I think about it, it may explicitly be the FSLTL models. I will try to test more specifically and see if your AIG models actually trigger the same issue later.

will run a few tests on my end to see if I can replicate and if so pack a test package for ASOBO.

unable to replicate, I have tested with some of our AIG models and some default stuff.

Really appreciate your time and attention on this one. I’ve been running some tests (I will do some repeated testing to verify). Tried the following:
AIGAIM_easyJet Airbus A320-200SL - John Barton = No crash
AIGAIM_Ryanair Boeing 737 MAX 200 - Vote for Europe = No Crash
AIGAIM_Emirates Airbus A380-800 - EA Wifi = No Crash
AIGAIM_Etihad Airways Boeing 777-300ER - OC = Sim froze

Edit: I tried specifically injecting that 773 again and experienced no freeze… however when I injected it a 2nd time at a different location and the sim froze instantly, so it seems highly repeatable but not100% guaranteed that it will trigger the sim to freeze on a single injection.

Interestingly it also seems to not honour the on_ground flag for these, they are sunk into the ground like the root 0,0 is being placed on the ground rather than aligning the wheels.

Via AICreateNonATCAircraft (all other variables kept the same) they all work flawlessly…

Images via AICreateSimulated Object:

image

vs via AICreateNonATCAircraft:

I will try to cross verify this against SU1 and 2020 also to see if the sinking into the ground issue is universal or specifically SU2.

Edit: Confirmed in 2020 using AICreateSimulatedObject with the AIG models they spawn correctly aligned (same airport and scenery used also) with no freezes, will repeat in 2024 SU1 also:

Confirmed in SU1:

All aircraft are AIG (except the user aircraft bottom left) and painted in using AICreateSimulatedObject. No sunk through the terrain, no freeze