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

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.

In the upcoming flighting, we've changed the behaviour of the content.xml file. If your addon uses this file, please read this article!

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


question

ftsxfreelw avatar image
ftsxfreelw asked ftsxfreelw commented

Crash with SDK 0.18.0 with deletion of shapefiles


Since the SDK update to 0.18.0 I had two MSFS crashes which unfortunately reset the vector files in the project directory. All polygon data is erased. The .xml, .shp, .shx, .dbf files remain, but blank !
scenerysu9
1 comment
10 |10000

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

Hello @ftsxfreelw ,
Can you describe us precisely the reproduction steps and can you send us a full dump file please ? See section 2 & 3 here

Thanks,

Regards,
Boris


0 Likes 0 ·
FlyingRaccoon avatar image
FlyingRaccoon answered ftsxfreelw commented

@ftsxfreelw @Argaeus
We were able to reproduce the crash on SU8. It was happening when saving the shapefile while the polygon "one-click placing" option was active.
It's been fixed with SU9 already so you should no longer face the issue in the beta or when final SU9 is released.

Thank you for reporting the issue.

Regards,
Sylvain

1 comment
10 |10000

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

Very good, thank you.

0 Likes 0 ·
ftsxfreelw avatar image
ftsxfreelw answered FlyingRaccoon commented

Hello Boris and thank you for your responsiveness.
So, when I create vegetation polygons, either by deleting or adding, after a certain amount of time, msfs crashes and while I was saving the work regularly, all the shape files end up at zero, with nothing in them. I specify that I am not in Beta SU9 but I had the proposal to download the SDK 0.18.0, normal I imagine? I downgraded to 0.17.0 and there is no crash and even if there is a crash, no reset of the .shp files.
I attached two .dmp files made under 0.18.0. The 9692 with a well filled Community directory and the 10112 only with my creations.

https://drive.google.com/file/d/14CDdTvhVmv99vo0yRBPn-LsVg6vz3dw6/view?usp=sharing

https://drive.google.com/file/d/1vP8SVfp31I7uEuGomM1-RQc6CO4vspQZ/view?usp=sharing

Thanks,

Regards,
Laurent

1 comment
10 |10000

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

Hello @ftsxfreelw


The crash occurs when trying to save an empty polygon.
The game is checking for this and is supposed to show an error prompt when you have a polygon with less than 3 points.
For some reason, this is not happening in your case and we don't know why.

Do you have a version of your package sources that triggers the crash every time and that you could send us?
@Argaeus Same for you, if you have a configuration of your package that triggers the crash, send it to us and we'll check what's happening.

Check this post to see how you can send us your package:
How to report a bug or crash - MSFS DevSupport (flightsimulator.com)

Regards,
Sylvain

0 Likes 0 ·
Argaeus avatar image
Argaeus answered

Lately, every time I "grouped" the plain polygons in the SDK, the sim crashed. There is certainly something wrong with grouping polygons but I wouldn't know what. I had to remove the shape files myself to even start the project after the last incidence and not grouping them any more.

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.