1.21.1 / Neoforge 21.1.197 / Game crashed when load a save flie
THYuyukoZLAK opened this issue ยท 3 comments
The game crashes when attempting to load an existing save file. (without this mod)
Time: 2025-08-16 13:48:45
Description: mouseClicked event handler
net.minecraft.nbt.NbtAccounterException: Tried to read NBT tag that was too big; tried to allocate: 2097143 + 12 bytes where max allowed: 2097152
at TRANSFORMER/[email protected]/net.minecraft.nbt.NbtAccounter.accountBytes(NbtAccounter.java:31) ~[client-1.21.1-20240808.144430-srg.jar%23344!/:?] {re:mixin,pl:connector_pre_launch:A,re:classloading,pl:mixin:APP:packetfixer.v1_20_5.neoforge.mixins.json:v1_20_5_neoforge.NbtAccounterMixin from mod packetfixer,pl:mixin:APP:create.mixins.json:accessor.NbtAccounterAccessor from mod create,pl:mixin:A,pl:connector_pre_launch:A}
at TRANSFORMER/[email protected]/net.minecraft.nbt.FloatTag$1.readAccounted(FloatTag.java:31) ~[client-1.21.1-20240808.144430-srg.jar%23344!/:?] {re:classloading,pl:connector_pre_launch:A}
at TRANSFORMER/[email protected]/net.minecraft.nbt.FloatTag$1.load(FloatTag.java:22) ~[client-1.21.1-20240808.144430-srg.jar%23344!/:?] {re:classloading,pl:connector_pre_launch:A}
at TRANSFORMER/[email protected]/net.minecraft.nbt.FloatTag$1.load(FloatTag.java:19) ~[client-1.21.1-20240808.144430-srg.jar%23344!/:?] {re:classloading,pl:connector_pre_launch:A}
at TRANSFORMER/[email protected]/net.minecraft.nbt.ListTag$1.loadList(ListTag.java:40) ~[client-1.21.1-20240808.144430-srg.jar%23344!/:?] {re:classloading,pl:connector_pre_launch:A}
at TRANSFORMER/[email protected]/net.minecraft.nbt.ListTag$1.load(ListTag.java:20) ~[client-1.21.1-20240808.144430-srg.jar%23344!/:?] {re:classloading,pl:connector_pre_launch:A}
at TRANSFORMER/[email protected]/net.minecraft.nbt.ListTag$1.load(ListTag.java:14) ~[client-1.21.1-20240808.144430-srg.jar%23344!/:?] {re:classloading,pl:connector_pre_launch:A}
at TRANSFORMER/[email protected]/net.minecraft.nbt.CompoundTag.readNamedTagData(CompoundTag.java:524) ~[client-1.21.1-20240808.144430-srg.jar%23344!/:?] {re:computing_frames,pl:accesstransformer:B,pl:connector_pre_launch:A,re:mixin,pl:accesstransformer:B,pl:connector_pre_launch:A,re:classloading,pl:accesstransformer:B,pl:mixin:APP:accessories-common.mixins.json:temp_fixes.NbtCompoundMixin from mod accessories,pl:mixin:APP:kubejs.mixins.json:CompoundTagMixin from mod kubejs,pl:mixin:APP:owo.mixins.json:NbtCompoundMixin from mod owo,pl:mixin:A,pl:connector_pre_launch:A}
...
Full crash report: https://hastebin.com/share/igajatowos.bash
I installed PacketFixer 3.1.4 but it seems didn't work. Crash happens with the same problem.
Also I edited the configure file:
#Packet Fixer config file.
#Default values (minecraft default): nbtMaxSize 2097152, packetSize 1048576, decoderSize 8388608 and varInt21Size 3.
#Max values are 2147483647 for packetSize/decoderSize/varInt21 and 9223372036854775807 for nbtMaxSize.
#Sat Aug 16 00:53:47 CST 2025
allSizesUnlimited=false
chunkPacketData=2097152
decoderSize=8388608
forceUnlimitedNbtEnabled=false
nbtMaxSize=40000000
packetSize=20000000
stringSize=32767
timeout=90
varInt=5
varInt21=3
varLong=10
@THYuyukoZLAK Try setting forceUnlimitedNbtEnabled and allSizesUnlimited to true in client and server sides