I use the google 3d tiles and when I run my app in the editor or build the tiles are loaded normally. But after a while I get spammed with log mesages like this:
[error] [TilesetContentManager.cpp:1049] An unexpected error occurs when loading tile: Request for https://tile.googleapis.com/v1/3dtiles/datasets/CgA/files/....
failed: Unable to complete SSL connection
And then the tiles are no longer updated.
Restartiing playmode does not fix the problem.
I need to close the unity editor and restart it. Builds I have to restart.
Then the tiles are loading normal again, for a while.
But this error always returns!
This are the components settings, mostly standard…
Sometimes the error message differs:
[error] [TilesetContentManager.cpp:1049] An unexpected error occurs when loading tile: Request for https://tile.googleapis.com/v1/3dtiles/datasets/CgA/files/...
failed: Cannot resolve destination host
@krumelmonster that sounds on the surface like a problem with your system or network. Perhaps you can narrow it down by trying a different device on the same network, or using a different network entirely?
I tried two diffrent networks so far, same result.
And if my network would be the issue, why does restarting the editor fix it?
My guess is, that that with one connection, there is a tile download limit or something like that. And google/cesuim rejects further requests.
In the editor I also are not connected zu cesium anymore. But trying to connect also throws an error (I wirite it here when it occurs the next time)
How long does it take for this to start happening? I believe the Google token will time out eventually (on the order of hours), but you should see 401 errors when that happens, not “Unable to complete SSL connection” and “Cannot resolve destination host”. There’s no tile limit that I’m aware of, and in any case Google generally returns 429 errors when rate limit problems occur. Your errors definitely sound more like a broken network connection. Restarting may solve the problem simply by creating a brand new connection to the Google server. Next time it happens, you could try clicking Refresh Tileset (in the Editor) or calling the RefreshTileset method (in a game) and see if that makes it start working again, too.
In the editor I also are not connected zu cesium anymore. But trying to connect also throws an error (I wirite it here when it occurs the next time)
Sorry I don’t understand what you mean here.
When the bug happens, the connection to cesium is also gone. When I click on “Connect to Cesium Ion” I get the error:
"Exception: Request for https://api.cesium.com/appData
failed: Cannot resolve destination host "
in the editor console.