Database is locked

Hi, sometimes when i launch my project i have this things that appears :


Do you know what does it mean ?

I haven’t seen this message before. Do you have multiple windows open that are using Cesium for Unity? That’s my only guess.

If the issue persists, I would locate the cache file in your app data and delete it. For example, on one of our machines this URL is C:/Users/Username/AppData/Local/Temp/Cesium/cesium-unity-samples/cesium-request-cache.sqlite. Deleting the file should essentially refresh the cache.

1 Like

Thanks, i will try that.

Is there a way to automatically delete this file? Im having an issue with cache file becoming gigabytes large and have to keep deleting it over and over

In theory, the cesium plugin itself should be pruning the cache when it gets over a certain number of entries, and deleting the file shouldn’t be necessary.

That said, we do have an open issue related to memory leaks and an unreasonable sqlite cache size. You may be running into this…