-
Notifications
You must be signed in to change notification settings - Fork 160
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
Include loaders for binary files like glb and wasm #10
Comments
I believe this is the same/related issue I was running into: I am currently updating this project to use Webpack 4 and Cesium 1.46 to reproduce and diagnose the issue. Does that forum post identify a solution? |
I can no longer reproduce my issue with the latest versions of No matter if
My application seems to run fine even with this warning. It is not using Draco, except unless the Ion provided terrain is using Draco. Upgrading as I did required that I provide webpack with more heap space ( |
@nmschulte Would you mind sharing your Thank you! |
@tkazik I can share a portion if you know what you're interested in. |
Hallo, I downloaded the cesium-webpack-example and I have the following error: cesium.js:14947 GET http://localhost:8080/ThirdParty/draco_decoder.wasm 404 (Not Found)
Can you please share the part with the wasm loader? |
@Cronopaul, I mitigated/resolved my issue by using a newer version of Webpack; Switching from Webpack v4.2.0 to Webpack v4.12.0 led to my comment here: #10 (comment) To be clear, there is no |
Thanks for your reply. I'm using Webpack v4.30.0. |
Brought up on the forum here: https://groups.google.com/forum/#!topic/cesium-dev/t463ShjMtEI
The new Draco wasm file needs to be loaded using a wasm loader.
Additionally, glb files and other binary files need to be loaded using an appropriate binary loader as well. Since it's so common to load these into a Cesium app, they should be included here.
The text was updated successfully, but these errors were encountered: