Replies: 1 comment 6 replies
-
Looks like it's working in the latest version, can you check? |
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
First post here, thanks for this great package!
I can't seem to handle errors from loading models using useLoader.
I have ErrorBoundary wrapped around the loader, but it is not picking up the error.
Here is a fork of one of the sample sandbox to illustrate this. Change the filename '/scene.glb' to something invalid like '/sceneBAD.glb'. We are left looking at the Suspense's fallback message. We can see the error in the Console tab, but it's not propagated up to the ErrorBoundary.
What am I missing? What is the correct way to handle loading errors so that the user is aware of it.
Beta Was this translation helpful? Give feedback.
All reactions