While going through the QuickStart guide, I tried opening the provided HTML file directly from my computer. The dashboard and buildings loaded correctly, but the terrain did not appear. It only showed up when I ran the file using VS Code as a server (using Live Preview).
Is this a known limitation, or am I missing something?
Can you let us know which quickstart guide you are referring to (was there a URL link)? Cesium has a number of products and we want to make sure we get you the right information for the product you are working with.
Thanks for that additional info. I’m going to move this thread to the CesiumJS group since it is related to that product. That will help get the right people looking at it.
Thanks for your post. And apologies for the delayed response as you were bounced between forum categories.
You need to run a local development server (ie. localhost) to load the index.html file because CesiumJS loads external resources (like tiles, JSON, and WASM files) using HTTP requests, which are blocked by modern browsers when using the file:// protocol.
You can start a local dev server with the following steps