Skip to content
This repository was archived by the owner on Jun 1, 2026. It is now read-only.

fix: asset bundle failing to load#5713

Draft
dalkia wants to merge 2 commits into
devfrom
fix/throw-failure-when-asset-bundle-not-loaded
Draft

fix: asset bundle failing to load#5713
dalkia wants to merge 2 commits into
devfrom
fix/throw-failure-when-asset-bundle-not-loaded

Conversation

@dalkia

@dalkia dalkia commented Sep 15, 2023

Copy link
Copy Markdown
Contributor

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 <juanignaciomolteni@gmail.com>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants