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

fix: for broken scene and avatar media links with newLoader #6204

Closed
wants to merge 12 commits into from

Conversation

nikk15
Copy link
Contributor

@nikk15 nikk15 commented Aug 9, 2023

Previously, we were not hitting the block of code that fetches the correct url for these assets, and placing scenes or avatars with the newLoader resulted in broken links.

For now, you may test here: https://nikk15.dev.myhubs.net/k95eyHn/elegant-grounded-convention/?newLoader=

Previous:
Screenshot_2023-08-09_at_16 18 25
Screenshot_2023-08-09_at_16 20 10

@nikk15 nikk15 changed the title Undefined url bug fix: for broken scene and avatar media links with newLoader Aug 9, 2023
image={imageDef}
/>
);
return renderAsEntity(world, <entity name="Image" image={imageDef} />);
Copy link
Contributor

Choose a reason for hiding this comment

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

Quick question to confirm: Is this change just for formatting?

@takahirox
Copy link
Contributor

Thanks for working on it!

If possible, would you mind explaining how the problem happened (what is the root cause?) and how the problem is fixed with the change for easier review?

src/utils/media-utils.js Outdated Show resolved Hide resolved
@takahirox takahirox added new-loader P1 Address as quickly as possible labels Aug 10, 2023
@takahirox takahirox added this to the New Loader Release milestone Aug 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new-loader P1 Address as quickly as possible
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants