Security Craft

Security Craft

41M Downloads

Server freezes and then crashes after using camera monitor

Aile42 opened this issue · 7 comments

commented

Issue description

If it can help on the client side I've installed rubidium, entity culling and rubidium extra too

Steps to reproduce

1 Place down a camera
2 click it with the monitor
3 open the monitor interface and click on the configured camera
4 server stops responding and then crashes

Minecraft version

1.20.1

Forge version

47.2.20

SecurityCraft version

v1.9.8

Other relevant versions

No response

If a (crash)log is relevant for this issue, link it here: (It's almost always relevant)

Full crash report: https://drive.google.com/file/d/1Wox4lQSjft4RLs2UCVJuvBEPNzqJVY6S/view?usp=sharing

commented

I didn't mention that this happens only when playing on a server; on singleplayer everything works

commented

I can't reproduce this with only SecurityCraft installed. Does this also happen if you remove some/all of the other mods you have installed?
Also, since SecurityCraft forceloads all chunks that the player needs to see when viewing a camera, the server can stall for a short moment while loading them. The crash you posted happened because the server stalled for longer than a minute. What's your server view distance set to?

commented

The render distance is set on 10 chunks both view and simulation distance; i can try to start the server every time removing a mod at the time but is a really long process; gimme 1 hour.

commented

this is what the console does when i open the camera with the monitor
[15:35:08] [Server thread/WARN] [minecraft/ChunkSerializer]: Found reference to unknown structure 'watching:mossy_pyramid' in chunk [-200, 156], discarding
[15:35:08] [Server thread/ERROR] [minecraft/ChunkSerializer]: Unknown structure start: watching:mossy_pyramid
[15:35:08] [Server thread/WARN] [minecraft/ChunkSerializer]: Found reference to unknown structure 'watching:mossy_pyramid' in chunk [-199, 156], discarding
[15:35:08] [Server thread/WARN] [minecraft/ChunkSerializer]: Found reference to unknown structure 'watching:mossy_pyramid' in chunk [-206, 155], discarding
[15:35:08] [Server thread/ERROR] [minecraft/ChunkSerializer]: Unknown structure start: watching:mossy_pyramid
[15:35:08] [Server thread/WARN] [minecraft/ChunkSerializer]: Found reference to unknown structure 'watching:mossy_pyramid' in chunk [-205, 155], discarding
[15:35:08] [Server thread/WARN] [minecraft/ChunkSerializer]: Found reference to unknown structure 'watching:mossy_pyramid' in chunk [-200, 155], discarding
[15:35:08] [Server thread/WARN] [minecraft/ChunkSerializer]: Found reference to unknown structure 'watching:mossy_pyramid' in chunk [-199, 155], discarding

commented

A quicker way would be removing half the mods, and checking for the issue. If the issue doesn't happen, swap the halves. If it does, halve again. Thank you for checking!
Regarding the log snippet, I believe that is caused by a structure of a now-removed mod, which was already spawned in the world. I don't think that should cause this issue.

commented

Ok i found the issue, or if i have to be correct you found the issue; when i said that the render distance was 10 i downloaded the file from the wrong server (i have more folders on the same machine) so, when i downloaded the right server properties file the render distance was at fucking 64. I change it and now it works flawlessly; you are awesome, in less that 12 hours you answered the ticket and gave me almost immediately the right solution; if i could give a rating to this service it would be 6/5.
You guys are awesome, thank you very much.

commented

Glad I was able to help!