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