-
Notifications
You must be signed in to change notification settings - Fork 3.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Constantly creating and cancelling requests for 3D Tiles with requestRenderMode #8074
Comments
Sounds similar to #7786 which @loshjawrence already fixed once. requestRenderMode is important and this sounds like a major performance killer so we should fix this ASAP. |
Preferably before the next release, but I would like to know more before tagging it that way. |
I'll have time tomorrow to look at this |
Looks like the tileset's show boolean isn't updated from the more global primitives.show |
Potential fix #8081 |
I don't think #8081 properly solves the issue.
you should have a check of
but I don't know if it hurts any optimization. |
Thanks @dennisadams. |
This should now be fixed with #8081. |
Sandcastle. This is a bit tricky to reproduce but I can reliably reproduce it:
After a bit of movement, you should start to see a seemingly endless stream of requests for b3dm tiles that keep getting cancelled and re-requested. This goes on for thousands of requests, for at least a full minute, even though it take seconds to actually load the given view if the tileset were not hidden.
This only happens with
requestRenderMode: true
. Seems like a bit of a corner case in the request cancelling system? @loshjawrence do you have any idea off the top of your head, or where in the code someone might want to look to debug this?The text was updated successfully, but these errors were encountered: