# 放置一段时间之后无法再加载精细瓦片的问题

**URL:** <https://community.cesium.com/t/topic/41391>\
**Category:** Cesium for Unreal\
**Created:** [June 16, 2025, 2:50am UTC](https://community.cesium.com/t/topic/41391 "2025-06-16T02:50:54Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Baustein\_H](https://sea2.discourse-cdn.com/cesium/user_avatar/community.cesium.com/baustein_h/32/29976_2.png) [@Baustein\_H](https://community.cesium.com/u/Baustein_H)\
**Post date:** [June 16, 2025, 2:50am UTC](https://community.cesium.com/t/topic/41391/1 "2025-06-16T02:50:54Z")

</div>

在项目打开了大概一两个小时之后，镜头拉到一个离地面很近而且是之前没有加载过的地方，这时精细的瓦片就不会再加载了，不管是编辑器或者是打包之后都有这个问题

如果把项目关掉再打开，这时候精细瓦片又可以加载了，所以我想有没有可能是token过期了，但是我试过在编辑器的cesium界面指定我自己在cesium ion上创建的token，也还是不行，而且log里也没有LogCesium的报错

ue版本为5.3，cesium地图是Bing Maps Aerial，cesium插件试过2.4和2.16都有这个问题

---

<div class="post-metadata">

**Author:** ![Kevin\_Ring](https://sea2.discourse-cdn.com/cesium/user_avatar/community.cesium.com/kevin_ring/32/2003_2.png) [@Kevin\_Ring](https://community.cesium.com/u/Kevin_Ring)\
**Post date:** [June 16, 2025, 3:56am UTC](https://community.cesium.com/t/topic/41391/2 "2025-06-16T03:56:22Z")

</div>

English translation:

> After the project is opened for about one or two hours, the camera moves to a place very close to the ground and has not been loaded before. At this time, the fine tiles will no longer load. This problem exists whether in the editor or after packaging.
> 
> If the project is closed and reopened, the fine tiles can be loaded again, so I wonder if the token may have expired, but I have tried to specify the token I created on Cesium ion in the Cesium interface of the editor, but it still doesn’t work, and there is no LogCesium error in the log
> 
> UE version is 5.3, Cesium map is Bing Maps Aerial, Cesium plug-in 2.4 and 2.16 have this problem

Hi @Baustein_H, welcome to the community!

Are you using Google Photorealistic 3D Tiles? If so, that’s unfortunately a known problem, documented here:

> <https://github.com/CesiumGS/cesium-native/issues/749>
>
> The Google Photorealistic 3D Tiles documentation page (https://developers.google….com/maps/documentation/tile/3d-tiles) says:
> 
> \> The render can make at least three hours of tile requests from a single root tileset request. After reaching this limit, you must make another root tileset request.
> 
> cesium-native should handle this possibility.
> 
> Currently, when we see a 403 for a tile in a tileset from Cesium ion, we will re-request the Cesium ion \`asset/endpoint\` service and adopt the new key that it returns. But this won't help with the Google tileset, because the \`asset/endpoint\` doesn't contain a key of that type. Instead, the key is embedded in the root tileset.json URL, and we have to request \_that\_ in order to get a new session.
> 
> Furthermore, it's possible to load the Google tiles directly from Google rather than going through Cesium ion, and in that case no attempt will be made to refresh the session at all.
> 
> So we should investigate our options for handling the need to refresh Google sessions. Ideally, the solution would be generally applicable to tilesets from other providers, too, and wouldn't need to encode any Google-specific logic. One option, for example, is to do a full tileset refresh (unload everything and start over) whenever we see a 403 and its either not a Cesium ion tileset, or the normal Cesium ion token refresh procedure doesn't work. But there are probably better options.

The workaround is to periodically call `RefreshTileset` on the Cesium3DTileset Actor.

---

<div class="post-metadata">

**Author:** ![Baustein\_H](https://sea2.discourse-cdn.com/cesium/user_avatar/community.cesium.com/baustein_h/32/29976_2.png) [@Baustein\_H](https://community.cesium.com/u/Baustein_H)\
**Post date:** [June 16, 2025, 9:08am UTC](https://community.cesium.com/t/topic/41391/3 "2025-06-16T09:08:24Z")

</div>

感谢您的回复，地图用的是“Bing Maps Aerial”，就是My Assets里ID为2的那个

定期调用 `RefreshTileset`是试过的，另外我也试过定期重新设置Cesium3DTileset的`Cesium Ion Server`，以及定期调用引擎的`Open Level`函数重新进入当前关卡，都有这个问题

---

<div class="post-metadata">

**Author:** ![Kevin\_Ring](https://sea2.discourse-cdn.com/cesium/user_avatar/community.cesium.com/kevin_ring/32/2003_2.png) [@Kevin\_Ring](https://community.cesium.com/u/Kevin_Ring)\
**Post date:** [June 20, 2025, 8:48am UTC](https://community.cesium.com/t/topic/41391/4 "2025-06-20T08:48:22Z")

</div>

English translation:

> Thanks for your reply. The map I use is “Bing Maps Aerial”, which is the one with ID 2 in My Assets.
> 
> I have tried calling RefreshTileset regularly. I have also tried resetting the Cesium Ion Server of Cesium3DTileset regularly, and calling the Open Level function of the engine regularly to re-enter the current level. All of them have the same problem.

Ok, I confirmed that token refresh isn’t working for Bing Maps, and wrote an issue for it:

> <https://github.com/CesiumGS/cesium-unreal/issues/1698>
>
> After a period of time, Cesium ion tokens expire and need to be refreshed. This …mechanism appears to be working fine. After leaving leaving the Editor running for a couple of hours and then moving the camera to force some new tiles to load, I see this in the log:
> 
> \`\`\`
> LogCesium: Display: \[2025-06-20 18:36:09.468\] \[info\] \[CesiumIonTilesetLoader.cpp:524\] Refreshing Cesium ion token for url https://api.cesium.com/v1/assets/1/endpoint?access\_token=\[redacted\].
> LogCesium: Display: \[2025-06-20 18:36:10.020\] \[info\] \[CesiumIonTilesetLoader.cpp:562\] Successfuly refreshed Cesium ion token for url https://api.cesium.com/v1/assets/1/endpoint?access\_token=\[redacted\].
> \`\`\`
> 
> And then Cesium World Terrain tiles continue to load as expected.
> 
> However, the Bing Maps Aerial overlay doesn't load. So we get scenes like this, with high res terrain and low res imagery:
> 
> !\[Image\](https://github.com/user-attachments/assets/eb366742-16ca-490c-b729-be0c4dbeb914)

Thanks for reporting it!
