Looking at a large amount of fences will cause your FPS to drop and GPU usage to stay high.
Steps to Reproduce:
Open the provided world
Look in a direction where the fences are not in view
Look at the fences are in view
Observed Behavior:
When you looking into the direction of the fences, your FPS will be lowered and your GPU usage will rise.
Expected Behavior:
Your FPS does not drop and GPU usage stays low.
Linked issues
is duplicated by 1
Attachments
Comments 22
Cannot reproduce. Spawned a structure made of 15000 fences, run on my PC and laptop without problem. Do you use any mods (looks like you use something for realistic shadows)? If so, problem is in mod, not in vanilla Minecraft.
I can assure you that my computer is powerful enough. Both YouTubers Vechs and GenerikB have done videos in the past of how fences cause lag. The images attached were rendered out of the game using chunky, they were just used as example structures.
Duplicate of MC-5169.
@[Mod] Tails: You sure? That issue is related to signs and the text on them, this issue is related to fences.
Besides causing absurd client-side lag, the memory itself is unaffected. So, I cannot reproduce in 1.17.1.
@unknown How are you trying to reproduce this? Did you open MC-26765's world? Can you try the new provided world?
I appreciate you giving a better test environment. Note I am using java 22.0.1 instead of 21.0.3:
in plain minecraft I get slightly less fps drop(40 to 60 which is around a 50% and in yours you shared around 85%)
with a datapack adding custom noise function without all my customizations I get ~25(20 to 30) fps drop
with a datapack adding custom noise function and with all my customizations I get ~0(0 to 5) fps drop
Let me know if any more info would be helpful.
Solution: get a more powerful computer! This isn't a bug with Minecraft, rather a technical limitation, so please resolve as invalid.