Tile not rendering which closer to camera

i have used custom tileset which contains terrain and a raster overlay.
When moving the camera, terrain tiles near the camera become invisible/disappear, while distant tiles render normally. When raising the camera higher, those previously invisible tiles near the camera become visible again.

i have found the reason, because the tileset defination in layer.json is not exactly same to the tile files, layer.json has define level 1 to 18, but the tile files just only have level 1~15, so while camera colosed to terrain, the cesium should render more detail level tile, but can not download it.

cesium may be can show warning message will be better for developer while it can not download
terran tile.

Hi @sendreams, welcome to the community!

Have you checked the Console tab? There should be a message in the log when a tile fails to download.

i really have been checked the console tab, but i don’t find any useful message. It took a lot of time to find the root cause of this problem.

I just checked this in the latest version of Cesium for Unity. It seems that when a 3D Tiles content file referenced from a tileset.json fails to load, the user will see an error. However, if a .terrain file from layer.json fails to load, the error is silently ignored. I wrote an issue against cesium-native for this problem:

Thanks for reporting it!