Lag spikes when placing/breaking blocks after using /fill
n643064 opened this issue ยท 1 comments
System Informatinon
- Minecraft Version: 1.18.1
- Canvas Version: 1.0.2282
- Operating System: Arch linux, Linux 5.16.1-arch1-1
- Graphics Card: NVIDIA GeForce GTX 1650
Other mods and versions installed
- Fabric Loader 0.13.0
- Fabric API 0.46.1
How you triggered the behavior
- join world (happens on both singleplayer and multiplayer)
- use /fill to replace ~1000 blocks
- place or break blocks within the modified chunks
What you expected would happen
- placing or breaking blocks wouldn't affect fps (like when using vanilla or sodium/iris)
What actually happened
- lag spikes when placing or breaking blocks
Logs and screenshots
latest.log
Confirmation
Can confirm. Lag spikes start happening on breaking or placing blocks after /fill
ing a large amount of blocks. Just to be sure, loading new chunks (via /tp
) and then breaking or placing blocks doesn't produce lag spikes.
Condition resolves after quitting/reloading world without quitting Minecraft. Condition doesn't resolve after reloading chunks (F3+A
)
Log produces similar output to OP. Lag spike detector doesn't trigger before using the /fill
command.
[15:11:37] [Render thread/INFO]: Lag spike at terrain_setup - 23,828,000ns, threshold is 16,666,666ns
[15:11:38] [Render thread/INFO]: Lag spike at terrain_setup - 30,804,300ns, threshold is 16,666,666ns
[15:11:38] [Render thread/INFO]: Lag spike at terrain_setup - 18,346,700ns, threshold is 16,666,666ns
[15:11:38] [Render thread/INFO]: Lag spike at terrain_setup - 20,944,200ns, threshold is 16,666,666ns
[15:11:38] [Render thread/INFO]: Lag spike at terrain_setup - 18,419,600ns, threshold is 16,666,666ns
[15:11:38] [Render thread/INFO]: Lag spike at terrain_setup - 22,317,200ns, threshold is 16,666,666ns
...