SIMCONNECT_SIMOBJECT_TYPE major change not documented

SDK Version: 1.0.0

Frequency: Consistently

Severity: High

Marketplace package name: /

Context: SIMCONNECT_SIMOBJECT_TYPE

Similar MSFS 2020 issue: /

Bug description: With the new managed SimConnect DLL file the structure of the SIMCONNECT_SIMOBJECT_TYPE enum was changed compared to the 2020 DLL. At the moment you can see this change only when opening the file in Visual Studio because the Documenation still shows the old format.


In the new DLL the HOT_AIR_BALLON was added. Adding this between existing elements makes the new DLL not backwards compatible with the old Simulator, such a major change should be part of the Doumentation. When checking the documentation for the Type it still shows the old enum:

Repro steps:

Attachments:

Private attachments: Send a PM to @PrivateContent with the link to this topic and the link to download your content

5 Likes

Also not mentioned at all here https://docs.flightsimulator.com/msfs2024/html/6_Programming_APIs/SimConnect/SimConnect_SDK.htm#upgrade_simconn where it talks about changes between version.

But seriously, who does this kind of thing to an API? Why stick a new value there, because it also starts with ā€œHā€? Ridiculous. Itā€™s practically deliberate sabotage, quite frankly. Or an internā€™s mistake.

Have you found a way around this?
I donā€™t have the exact same issue, but with another breaking change in the SDK.

Do I really have to dynamically load the different .dll now depending on which sim is being used?

thats why I do for now until ASOBO might change it back to what it was

1 Like

Hi everyone,

Apologies for this, we didntā€™ spot this insertion in the enum prior to shippingā€¦
We are currently assessing the damage and will probably revert to the original enum in the mid-December patch.

Iā€™ll keep you posted.

Best regards,

Eric / Asobo

3 Likes

thanks Eric for the feedback :slight_smile: hopefully there will be not to much damage and you can revert back. The dynamic loading of the DLL works for now as a workaround.

1 Like

Note, I donā€™t believe itā€™s necessary to revert this, just to make the hot air balloon at the end of the enum so itā€™s basically value 6, the problem is more that adding it mid enum breaks compatibility with anything built with the 2020 SDK that uses the last couple values (e.g. ground is now 6 instead of 5, so ends up being a request for boats instead.)

And of course make the documentation reflect that change for 2024 =)

Apologies for this, thatā€™s what I meant :slight_smile:

Best regards,

Eric / Asobo

2 Likes

Which other breaking change did you find? Is there another topic about it already? If not, please do post one.

Well, you can somewhat inefficiently just request ā€˜allā€™ objects and filter the results for what you actually wanted. This will work fine in both sims (and is what I did, but I only need that data at singular set points, YMMV).

The errant insertion of the hot air balloon in that enum only skewed boat and ground equipment as indexes reallyā€¦ and the only one you canā€™t just choose a different index for if itā€™s FS24 (and you use the 20 SDK/dll) is thus ground equipmentā€¦

but you suggested your issue is with something else, so I canā€™t judge without knowing what (similar) issue youā€™re encountering.

Iā€™ve just created a topic about it:

The change has been mentioned in the MSFS2024 SDK docs. I just hoped the '24 SDK would be downwards compatible with MSFS2020.