Fabric API

Fabric API

152M Downloads

Oversized data attachments cause server crash when synced

jacobsjo opened this issue ยท 0 comments

commented

When a data attachment is set to sync with clients and has a encoded size > 32502 bytes, the server crashes when tying to send the attachment.

---- Minecraft Crash Report ----
// Why did you do that?
Time: 2025-05-31 14:26:26
Description: Exception chunk generation/loading
java.lang.IllegalArgumentException: Data for attachment 'worldgendevtools:feature_positions' was too big (32768 bytes, over maximum 32502)

(crash report from downstream bug report: jacobsjo/worldgen-devtools#16 ; I'll update it when I reproduce this myself)

How to handle these oversized data attachments is a different question, but crashing the entire server is clearly not the desired outcome.