-
Notifications
You must be signed in to change notification settings - Fork 210
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
Model not loading since upgraded from 4.0.* #6763
Comments
You need to copy the public assets from @itwin/core-frontend. #6591 |
Thank you @pmconne, but I didn't fully understand. Also what's the reason of copying them? ---------------- Edit -------------------
However I still don't understand why this is a necessity. |
The worker script was introduced in 4.2.0. Presumably the viewer package sets IModelApp.publicPath to "viewer/itwin". |
Thank you @pmconne for your help & explanation ! |
Hi,
I upgraded my https://github.com/iTwin packages to latest version (4.6.0 as of today), from @itwin/web-viewer-react@4.0.3 and most of the rest 4.0.2.
With the same frontend code, the viewer no longer loads the imodel.
The sign-in, as well as the display of all widgets are working. Custom 3D sprites are loaded, only the imodel is missing.
With Firefox i'm getting this error :
With Chrome this error :
Below is my implementation :
Any help will be appreciated !
Thank you
Jiayi
The text was updated successfully, but these errors were encountered: