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

We prepared 3 new YouTube tutorials about Audio! They are available here.
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

virtuali avatar image
virtuali asked virtuali answered

BUG - Mission Editor

The mission editor seems to be able to create an XML mission file correctly, meaning added nodes are saved in the XML, but it's not possible to reload it back, the node editor is always blank, always starting from a blank file.

mission
10 |10000

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

Mr_LiamT avatar image
Mr_LiamT answered

You need to set up the assetgroup correctly.

You need to place the .xml in a folder with the same name:

PackageSources\Missions\mission-name\mission-name.xml

For the AssetGroup, set the name to the same name as the .xml and point the AssetDir to the new folder.

10 |10000

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

virtuali avatar image
virtuali answered

Thank you, it worked.

I guess the problem is the project wizard, which is not enforcing that naming convention when adding an asset of the Mission kind, making you assume you could name the .xml mission source as you like.

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.