# Why is this incomplete loading happening?

**URL:** <https://community.cesium.com/t/why-is-this-incomplete-loading-happening/27721>\
**Category:** CesiumJS\
**Created:** [October 31, 2023, 5:50am UTC](https://community.cesium.com/t/why-is-this-incomplete-loading-happening/27721 "2023-10-31T05:50:26Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![xcd](https://sea2.discourse-cdn.com/cesium/user_avatar/community.cesium.com/xcd/32/14037_2.png) [@xcd](https://community.cesium.com/u/xcd)\
**Post date:** [October 31, 2023, 5:50am UTC](https://community.cesium.com/t/why-is-this-incomplete-loading-happening/27721/1 "2023-10-31T05:50:26Z")

</div>

I process the local lunar terrain and load it onto the ball in cesiumjs, the terrain loads successfully, but the result will look like a photo, how can I fix it?

 ![image](https://global.discourse-cdn.com/cesium/original/3X/4/a/4a02c452427961003a779d9dad6b4abaa6bbecc6.jpeg)  
 ![image](https://global.discourse-cdn.com/cesium/original/3X/1/0/10c9704ac3d69fec0ad94c30b08afe71dc0b8a4f.jpeg)

---

<div class="post-metadata">

**Author:** ![Gabby\_Getz](https://sea2.discourse-cdn.com/cesium/user_avatar/community.cesium.com/gabby_getz/32/7838_2.png) [@Gabby\_Getz](https://community.cesium.com/u/Gabby_Getz)\
**Post date:** [November 3, 2023, 1:31pm UTC](https://community.cesium.com/t/why-is-this-incomplete-loading-happening/27721/2 "2023-11-03T13:31:48Z")

</div>

Hi there,

Is it possible to provide a code example which replicates this behavior?

Thanks,  
Gabby

---

<div class="post-metadata">

**Author:** ![xcd](https://sea2.discourse-cdn.com/cesium/user_avatar/community.cesium.com/xcd/32/14037_2.png) [@xcd](https://community.cesium.com/u/xcd)\
**Post date:** [November 6, 2023, 1:00pm UTC](https://community.cesium.com/t/why-is-this-incomplete-loading-happening/27721/3 "2023-11-06T13:00:26Z")

</div>

![image](https://global.discourse-cdn.com/cesium/original/3X/0/f/0f1ce5ad31b7c0ee7866b53cba31929d3f0988c5.png)  
Maybe it’s a bit of a problem to define the sphere, I removed part of the code to define the moon, and the problem was solved, but I don’t know why this is happening?

---

<div class="post-metadata">

**Author:** ![xcd](https://sea2.discourse-cdn.com/cesium/user_avatar/community.cesium.com/xcd/32/14037_2.png) [@xcd](https://community.cesium.com/u/xcd)\
**Post date:** [November 6, 2023, 1:01pm UTC](https://community.cesium.com/t/why-is-this-incomplete-loading-happening/27721/4 "2023-11-06T13:01:35Z")

</div>

![image](https://global.discourse-cdn.com/cesium/original/3X/0/f/0f1ce5ad31b7c0ee7866b53cba31929d3f0988c5.png)  
Maybe it’s a bit of a problem to define the sphere, I removed part of the code to define the moon, and the problem was solved, but I don’t know why this is happening?

---

<div class="post-metadata">

**Author:** ![Gabby\_Getz](https://sea2.discourse-cdn.com/cesium/user_avatar/community.cesium.com/gabby_getz/32/7838_2.png) [@Gabby\_Getz](https://community.cesium.com/u/Gabby_Getz)\
**Post date:** [November 6, 2023, 2:24pm UTC](https://community.cesium.com/t/why-is-this-incomplete-loading-happening/27721/5 "2023-11-06T14:24:18Z")

</div>

Thanks!

The terrain APIs were [updated in 1.107](https://github.com/CesiumGS/cesium/blob/main/CHANGES.md#1107---2023-07-03). It should now be using:

```auto
const terrainProvider = await Cesium.CesiumTerrainProvider.fromUrl(url, options);

```
