# 3DTiles requests

**URL:** <https://community.cesium.com/t/3dtiles-requests/8553>\
**Category:** CesiumJS\
**Created:** [August 14, 2019, 12:00pm UTC](https://community.cesium.com/t/3dtiles-requests/8553 "2019-08-14T12:00:15Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Linas\_Paskauskas](https://sea2.discourse-cdn.com/cesium/user_avatar/community.cesium.com/linas_paskauskas/32/3012_2.png) [@Linas\_Paskauskas](https://community.cesium.com/u/Linas_Paskauskas)\
**Post date:** [August 14, 2019, 12:00pm UTC](https://community.cesium.com/t/3dtiles-requests/8553/1 "2019-08-14T12:00:15Z")

</div>

Hi guys,

I have spotted an interesting behavior of 3Dtiles requests.

I have a simple 3D Tiles set in a web application. When I open a project which has a layer with a 3Dtiles set which is not activated **viewer.scene.primitives: show = false** I can see in the dev. tools that it continuously sends requests to the tileset and 99% of them have the status “canceled”. However, when I change **viewer.scene.primitive: show = true**

it loads tiles which it should and stops. However, if I again deactivating tileset it starts again load canceled request.

 ![tiles canceled.jpg](https://global.discourse-cdn.com/cesium/original/1X/0449fae324bc929dbf804cf0cad864c72bbbda79.jpeg)

Do you have any suggestion why it acts like this?

And why cesium is canceling some of the requests?

I don’t know is this behavior was and in previous versions of cesium or it some new version bug.

Thank you for your help.

**Google Chrome**

**CesiumJS 1.60**

---

<div class="post-metadata">

**Author:** ![omar](https://sea2.discourse-cdn.com/cesium/user_avatar/community.cesium.com/omar/32/1999_2.png) [@omar](https://community.cesium.com/u/omar)\
**Post date:** [August 14, 2019, 1:05pm UTC](https://community.cesium.com/t/3dtiles-requests/8553/2 "2019-08-14T13:05:22Z")

</div>

Thanks for reporting this Linas. It does sound like a bug with the system that cancels requests when 3D Tiles are not in view. Although I’m having trouble recreating this.

Are you able to recreate this using any of the tilesets from ion on Sandcastle? Here’s a [Sandcastle example](https://cesiumjs.org/Cesium/Apps/Sandcastle/index.html#c=dZLBjtMwEIZfxcqlCSpOgV2EIFvBLgdWQqLaVpx6ce1pYuF4IttJlUX77kziBMIifLE883+e3zPOc7bDCzi2M8IGpsDr0rIaFRjWOOy0AsVOPbsFGwz0bN/7ALU/2k441mkY0Btm4cLuCG1r/n2MpSs5Hu/QBqEtuFX2ITJeggVCIsvHI6ViMmgDHgKlxzhvnK510B14LpRKj5bRWhSL25vPh8ilP6NiWK0z72fZPdoH8Ng6CfzssP7kSXyv0nfXb6+yiDzRno0+Jg/cgVD9jtTaAw8V2PTcWhk02nSSZGyqN73lEbE+4JxdL41+ocu0LXc6yOpB2BLSDb9es5cb/no9v5qfsLWDat9U4IA7QlrPXrArvskGb08ZRzLiLuTojxlwDt1vKxKtRwPcYDllRjB2eNHyZWt9hRdq+VkYP4xiL6ySwtO4h6YfsCwN3LYhUK3VnqSrdZTSNnuQFcgfoJ435H+VJnl0lqyTwofewDayH3XdoAvDAFPOc/ptjREBfH5qCQpcej88p8hnqFC6Y1rdHJNnf+6YMGmE95Q5t8bs9SMck22Rk/4vzOA4nG8dOCP6QVK92n6NQc55kdPxXyogmpNwixt/AQ)I put together, which starts out with primitives hidden, and you can toggle it with the button in the top left. The only time I see a cancelled request is only when zooming in and hiding it while it’s still loading tiles.

---

<div class="post-metadata">

**Author:** ![Linas\_Paskauskas](https://sea2.discourse-cdn.com/cesium/user_avatar/community.cesium.com/linas_paskauskas/32/3012_2.png) [@Linas\_Paskauskas](https://community.cesium.com/u/Linas_Paskauskas)\
**Post date:** [August 15, 2019, 7:48am UTC](https://community.cesium.com/t/3dtiles-requests/8553/3 "2019-08-15T07:48:16Z")

</div>

Hi Omar,

Thank you for your replay.

I have recreated it in the sandcastle with the New York 3Dtileset. Here is the link: [Sandcastle example](https://cesiumjs.org/Cesium/Apps/Sandcastle/index.html#c=dVLLbtswEPwVwhdLhUo5bYICiWO0cQ810KKGbfSkCy2uJaIU1+VDrhL437t6JW6K8kJwZ4Y7HG6asjWewLK1FsYzCU4VhlUoQbOjxVpJkGzfsAcwXkPDto3zULnM1MKyWkErvWcGTmxJ0lDxH10tmubdcYnGC2XAThP2lBnWLgu/Aji/ASPBfqNOt8zbAMkAV+K3qkLVwztVwbIUpiDSyhyUUb5hmTnHd70Dl4MBMtA74d2RoB70SoMDT3BX50erKuVVDY4LKaO+34X1fnv/edfrotEwrWD17UhbodmAw2Bz4AeL1SdH5JWMbj5cX8W95Ex73PkYPHALQjZrYisH3JdgokMwuVdoooESjwENb3lErHY4osml0S90mTLFWvm83LThRDN+k7C3M/4uGV/N9xhMy9oeS7DALUmCY2/YNZ/FrbdzzJGM2BM5ejED1qJ9tpKjcaiBaywG5G4InxK+iPwyWlfiiSI/CO3ar9gKI3PhaHja0HdYFBoegvfUa7olKg1GR6Vt9JCXkP8E+TqQ/3Ua6L2zSTKZO99oWPTaj6o6ovXtB0acpzS7Ry08uHQfSOR57lz7nHk6iuZS1UzJ+2zyaoKzCcu1cI6QQ9B6qx4hmyzmKfH/kmnsPud7DVaLpqWUV4uvfZFzPk/p+K/KI+q9sBc3/gE)

What I have done only added the following lines in your code:

**requestRenderMode: true,**

**maximumRenderTimeChange: Infinity**

You can see this behavior best in the city center where is more tiles.

BR

Linas
