Skip to content

fix: asset bundle failing to load #5713

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

Draft
wants to merge 2 commits into
base: dev
Choose a base branch
from

Conversation

dalkia
Copy link
Contributor

@dalkia dalkia commented Sep 15, 2023

What does this PR change?

Propagates the failure for the deferred asset bundle loading.

A scenario was reported where the asset bundle was fetched and downloaded correctly, but it failed to load. Adding a try allows the propagation of the failure.

How to test the changes?

Our Code Review Standards

https://github.com/decentraland/unity-renderer/blob/master/docs/code-review-standards.md

Copilot summary

🤖 Generated by Copilot at 564e333

Improved error handling for asset bundle loading in AssetBundlesLoader.cs. This avoids crashes when rendering scenes with corrupted or missing asset bundles.

Signed-off-by: Juan Ignacio Molteni <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants