cesium-unity icon indicating copy to clipboard operation
cesium-unity copied to clipboard

Cache read/write exceptions

Open zzj9426 opened this issue 1 year ago • 3 comments

When loading a new 3D tiles, the log content of the database is locked, and it is initially speculated that the SQLite database is continuously locked because a thread has not been released, resulting in subsequent data cannot be written normally 屏幕截图 2024-09-12 190418 屏幕截图 2024-09-12 190435 屏幕截图 2024-09-12 190457 屏幕截图 2024-09-12 190513 屏幕截图 2024-09-12 190620 屏幕截图 2024-09-12 190659 屏幕截图 2024-09-12 190724 屏幕截图 2024-09-12 190749

zzj9426 avatar Sep 13 '24 06:09 zzj9426

@zzj9426 that's usually caused by running two copies of a game at the same time. It can also sometimes be caused by running the Editor and a game at the same time. When you see those messages, load performance may be reduced because the request cache is not operating, but it is otherwise harmless.

kring avatar Sep 13 '24 06:09 kring

这通常是由于同时运行两个游戏副本引起的。有时也可能是由于同时运行 Editor 和游戏引起的。当您看到这些消息时,加载性能可能会降低,因为请求缓存未运行,但在其他方面是无害的。

Doesn't this affect the normal cache writes?What does it mean to run two copies of the game at the same time?

zzj9426 avatar Sep 13 '24 07:09 zzj9426

Doesn't this affect the normal cache writes?

Yes. When the database is locked, writes are not possible.

What does it mean to run two copies of the game at the same time?

You have a copy of the built game executable stored in some directory. Then you launch that executable a second time without closing the first one. A common scenario is storing the game on a shared network drive and running it from two different machines simultaneously.

kring avatar Sep 13 '24 08:09 kring

I'm closing this issue since I'm not seeing anything actionable for us here. But please reopen if this is a mistake. Thanks!

j9liu avatar May 23 '25 20:05 j9liu