Skip to content
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

enable support for retrying loading of container assets #4188

Merged

Conversation

vfernandestoptal
Copy link
Contributor

While tracking down an issue with my project, I noticed that playcanvas was not automatically retrying loading of GLB files when there was a network failure, like it does for other assets like texture files for instance.

This PR updates the ContainerHandler class to support updating maxRetries and forward it to any configured parsers, including the GlbParser, to which it delegates the loading of the asset by default.

I confirm I have read the contributing guidelines and signed the Contributor License Agreement.

@slimbuck
Copy link
Member

slimbuck commented Apr 8, 2022

thanks for this @vfernandestoptal it's awesome!

@vfernandestoptal
Copy link
Contributor Author

hey, any update on when this might get merged and released?

Copy link
Member

@slimbuck slimbuck left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks so much for this PR!

@slimbuck slimbuck merged commit aa01ee4 into playcanvas:main Apr 20, 2022
@vfernandestoptal vfernandestoptal deleted the enable-retries-for-container-assets branch April 24, 2022 12:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants