Skip to content

chore: show error if texture loading failed - #375

Open
zhaoyuheng200 wants to merge 1 commit into
google-ai-edge:mainfrom
zhaoyuheng200:error
Open

chore: show error if texture loading failed#375
zhaoyuheng200 wants to merge 1 commit into
google-ai-edge:mainfrom
zhaoyuheng200:error

Conversation

@zhaoyuheng200

Copy link
Copy Markdown
Contributor

I'm encountering a weird scenario that fails on loading texture.
Add error output here for help debugging.

@google-cla

google-cla Bot commented Jun 23, 2025

Copy link
Copy Markdown

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

@zhaoyuheng200

Copy link
Copy Markdown
Contributor Author

Adding a bit more context to the PR.
I'm adding the model-explorer npm package as part of a website. the website is hosted on aws lambda.

When deployed the model-explorer in AWS Lambda with API Gateway in the front, it requires additional effort on both Lambda and APIGateway to complete a base64 encoding/decoding sequence on all binary media files.
When the encoding/decoding sequence fails, the assets http response shown on browser inspector network tab are still 200 but can't be loaded by browser ( or threejs in this instance).


This change would help surface this issue earlier in troubleshooting efforts.

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.

1 participant