Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cache read/write exceptions #505

Open
zzj9426 opened this issue Sep 13, 2024 · 3 comments
Open

Cache read/write exceptions #505

zzj9426 opened this issue Sep 13, 2024 · 3 comments

Comments

@zzj9426
Copy link

zzj9426 commented Sep 13, 2024

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

@kring
Copy link
Member

kring commented Sep 13, 2024

@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.

@zzj9426
Copy link
Author

zzj9426 commented Sep 13, 2024

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

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

@kring
Copy link
Member

kring commented Sep 13, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants