plane icon Welcome to Microsoft Flight Simulator’s SDK Q&A Platform!

Save the date ! On February the 9th, at 10:30am, we will be happy to meet you again for a live SDK Q&A ! You can already ask all your questions here on the forum.

You have questions regarding the SDK? DevMode Tools? SimConnect? You would like to submit an idea for future improvements, seek help or exchange knowledge? You’re in the right place.

Please take a moment to read the platform’s guidelines before you get started!


question

MV-JimStewart avatar image
MV-JimStewart asked MV-JimStewart answered

WASM module compiled in debug configuration - Issue

We've hit an development issue since SU6 where if a module is compiled as debug in VS, and the project is rebuilt, it seems that all if/else statements in the wasm code are ignored. If the sim is restarted, then issue goes away until the project is rebuilt again.

Compiling the module as release does not cause this issue.


Known? Is this due to not having an updated SDK for SU6?

bugwasm
10 |10000

Up to 5 attachments (including images) can be used with a maximum of 4.8 MiB each and 23.8 MiB total.

EPellissier avatar image
EPellissier answered

Hi Jim,

This is neither a known bug or something the SDK update can fix (i.e. if confirmed it will require a sim EXE update) - we'll investigate and report here.
Are you getting the sim to compile "normally" or in "Fast WASM mode"? (not that it should make any difference with the specific problem you are reporting but I'd like to make sure we're testing stuff under the same circumstances as you are).

Apologies for the trouble.

Best regards,

Eric / Asobo

10 |10000

Up to 5 attachments (including images) can be used with a maximum of 4.8 MiB each and 23.8 MiB total.

MV-JimStewart avatar image
MV-JimStewart answered

Hi Eric, this was observed when using the normal mode, as opposed to the 'Fast WASM Mode'. We are currently installing and testing this issue with the 15.0 SDK update.

10 |10000

Up to 5 attachments (including images) can be used with a maximum of 4.8 MiB each and 23.8 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 5 attachments (including images) can be used with a maximum of 19.1 MiB each and 23.8 MiB total.