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.


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


question

dougjudy avatar image
dougjudy asked Boris_ answered

Polygons, aprons, painted lines no longer work with suddenly low FPS

Hi,

In the comments is a link to my project. My polygons to edit the height of trees, and aprons for runways, grass, etc no longer works. Additionally, since then, i am suddenly am pegged at around 15fps when usually its in the 40s. Been working on this project for a few months and never had this issue. The texture is applied but it no longer shows any material. Similarly for the polygons, it is there but no longer controls the height of trees i edited, and it does nothing if it try editing it. All materials used were from the Asobo materiallib.

Some steps I can retrace that led to this (I want to be careful with how i say it but i really cant confirm what time this problem actually started happening today, but it fine until today. Draw shapes is active in the devmode menu.

1) From this morning did some work with models, everything was fine

2) Updated to WU11

3) Was working on some models for a couple hours with my project and sim open

4) Exported model and built package to test and see how it looks in sim

5) Instead of showing the names of the models in my modellib, it showed their GUIDs i believe with no object showing up.

6) Deleted the last model I just made and rebuilt, same issue with GUIDs with all the other models

7) Deleted all the models and textures from modellib folder, and its only then I noticed all my aprons and polygons did nothing. (The GUID problem was fixed after deleting all models and textures and importing a new one)

Any help is appreciated. Thanks


zo1.gif

EDIT

The strange thing is if i close the project and project editor, the aprons and painted lines etc with the exception of trees pop up correctly. Reopen the project, and as soon as i press load in editor it goes away again.

z02.gif

scenerydevmodemodeling
zo1.gif (1.3 MiB)
z02.gif (1.0 MiB)
10 |10000

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

Boris_ avatar image
Boris_ answered dougjudy edited

Hello @dougjudy ,
I tested your package on SU10 and I was not able to reproduce this behavior.
Are you sure your community folder is empty and you don't have any scenery on this location ?
You can use "Rebuild All" in the project editor to make a clean build of your project before loading the BGL
1664527116307.png


Also you can try to delete your rolling cache

As for the fps issue, I was still at 59-60 but since you gave us a light version of your modellib, that may be the cause, I'm not sure.

Regards,
Boris


1664527116307.png (13.4 KiB)
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.

dougjudy avatar image dougjudy commented ·

Thanks for the response. Im really at a lost here. Can you confirm when u loaded in the project you see all the apron materials correctly. This is mine what it looks like when loaded in .

z05.gif


I tried all your suggestions, including reinstalling the sdk but it still didn't work. After trying again loading the project many times, then the project loaded it correctly with all the aprons and usual fps. Closed it and tried loading it again, no aprons with materials and poor fps. Tried 10 times again aprons not loading it. Try again after it loaded in. There seems to be no pattern. Ill say it manages to load in the aprons and polygons with textures once every 20 attempts to load the project.

However whenever closing the project, and the editor, and back in the main sim, I see all the edited aprons as it should be despite the project being closed. Similarly, if i export the project and test it out with the package it in community folder, it works correctly. It just that no polygons and aprons work in the viewport although i see the lines. It seems to only affect this project, my others work fine

z06.gif

0 Likes 0 ·
z05.gif (936.1 KiB)
dougjudy avatar image
dougjudy answered dougjudy edited

For the extremely slim chance anyone happens to have a similar issue to this, the reason it was happening is because of the messed up object import where it was showing the guid instead of the object name. After deleting (what i thought) was all the objects this issue occurred. Turns out i had a projected mesh object hiding that i didnt notice, (it was labeled "unknown" as I deleted its gltf and textures) that somehow causes the aprons, and lines not to show and low fps. After deleting it, its back to normal again

10 |10000

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

MKMatt avatar image
MKMatt answered

I confirm the issue. I'm unable to create aprons or see them. There are issues with Projected Mesh as well as runways (see video).


10 |10000

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

Verticalsim avatar image
Verticalsim answered

Getting the same issue as well, don't have any "unknowns" in my obj list.

10 |10000

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

Boris_ avatar image
Boris_ answered

Hello @Verticalsim @MKMatt ,


Are you using DX11/DX12 ?

Do you have this behavior 100% of the time? Are all your projects are impacted by this ?


Regards,
Boris

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.