I am using Cesium For Unity v1.10.0 to load local 3D tilesets using the From Url tile source on the Cesium 3D Tileset component.
The issue I am seeing is that when I zoom in close to the terrain, some sections of the map disappear. This appears to be happening because of the maximum screen space error setting, which is hiding the tiles which are too low level of detail. However, in some cases for this local tileset there is no higher detail option and so nothing is shown.
Is there a way that we can prevent it from culling the tiles which violate the level of detail requirements until a new tile is loaded to replace it?
Here are the settings for the component… I have tried changing the maximum screen space error and if I set it very high (i.e. 1000+), it will prevent the tiles from disappearing, but it also makes the quality very bad even in areas where we do have higher detail available.
For example, you can see a missing space here. There is data in the tileset for this region, at a slightly lower level of detail than it is trying to render, and so it is not displayed.
Is there a way that we can prevent it from culling the tiles which violate the level of detail requirements until a new tile is loaded to replace it?
What you describe is the standard behavior. It sounds like there could be something structurally wrong with your particular tileset, or perhaps it’s triggering a bug in Cesium for Unity (but not one that we’ve seen before if so). Can you tell us more about how the tileset was created? If you can share a tileset with us that demonstrates the problem, that’s even better.
Hello @Kevin_Ring, thanks for getting back to me so quickly.
I am checking on my end to see if I can learn more about how they were created. Unfortunately, I am not able to share the tile set. However, I would be interested to try another tile set that you would expect to work.
Do you have any sample tiles that I can load locally for this purpose? Otherwise, I will try to create one that can be shared.
You can take a look at any of the tilesets available in the Cesium for Unity Samples project, or available on the Cesium panel’s Quick Add section, for demonstration of how things are meant to work.
Tilesets that you can access locally are harder to come by. There are some demo / toy tilesets in the CesiumJS repo that might fit the bill:
You can also upload your own 3D model to Cesium ion, let it tile it for you, and then download the tileset for offline use: