[1.18.1] Fabric API 0.45.0+1.18 causing black window
TheButterbrotMan opened this issue ยท 5 comments
The new Fabric API update is causing a black window in my modpack, when i change back to Fabric API 0.44.0+1.18 all works like intended.
https://pastebin.com/MQWxYnJg
https://www.curseforge.com/minecraft/modpacks/deathdusk
[13:56:59] [Netty Local Client IO #0/ERROR]: Encountered exception while handling in channel with name "fabric:registry/sync"
java.lang.RuntimeException: Tried to read NBT tag that was too big; tried to allocate: 2097156bytes where max allowed: 2097152
at Not Enough Crashes deobfuscated stack trace.(1.18.1+build.9) ~[?:?]
at net.minecraft.nbt.NbtTagSizeTracker.add(NbtTagSizeTracker:21) ~[?:?]
This is probably related to this fix: #1923
i.e. synchronizing the block entities to the client has blown the limit on the packet size
This invocation which is in your error stacktrace. Just uses the default hard coded packet size.
I don't see a way to configure a larger buffer or a way to tell it to split the buffer into multiple smaller ones.
There is this mod:
https://www.curseforge.com/minecraft/mc-mods/xl-packets-fabric
But I can't find the source for it so I don't know if it fixes your exact problem (the error message is slightly different).
It fixes a more general minecraft "bug": https://bugs.mojang.com/browse/MC-185901
It looks like this solved my problem, thank you! I will do test it a little bit, to confirm that it works.