WASM MSFS_PlannedRoute.h FsVisualPattern wrong

Version:
SDK 1.1.2 (MSFS2024 1.2.8)

Frequency:
Consistently

Severity:
Blocker

Bug description:

The deployed MSFS_PlannedRoute.h defines a wrong or outdated struct for FsVisualPattern
When using it the replied content of FsPlannedRoute will not match.
Using the struct described in the SDK Documentation will return data as expected.

/* From ORIGINAL SDK 1.1.2 file WRONG
struct FsVisualPattern
{
int pattern;
bool forcePatternSide;
};
typedef struct FsVisualPattern;
*/

// Copy from SDK Documentation
typedef struct FsVisualPattern CORRECT
{
int pattern;
bool isLeftTraffic;
float distance;
float altitude;
} FsVisualPattern;

Repro steps:

Perform in Standalone WASM module
FsPlannedRoute* plannedRoute = fsPlannedRouteGetEfbRoute();
and review returned content.

Attachments:
N/A, but can be provided upon request

FYI: This remains the same issue in SDK 1.2.0

1 Like

Hello,

We have logged this issue on our end and are looking to get that addressed one of the upcoming updates.

Thanks!
Matt

1 Like

Just checked it with SDK 1.2.2 and it contains the correct struct for the VisualPattern

Thanks

1 Like

This topic has been automatically closed after 60 days of inactivity since it was marked as fixed.

If there is important new information about this same report, you can use the “Request reopen” button below to ask the moderation team to review it again.
For other issues or broader discussion, please open a new topic in the appropriate category.