Inventory Reader List Variable Causing Progressive Lag Until Crash
N1ghthauq opened this issue ยท 1 comments
Issue type:
- ๐ Bug
Short description:
Using an inventory reader on a chest, grabbing the list variable and in any way observing the variable causes progressively worse server and client lag. Tanking FPS until game crash and causing server TPS to spike 1000% above average.
Steps to reproduce the problem:
- Place chest
- Attach inventory reader to chest
- Attach logic cable to back of inventory reader
- Attach display panel to logic cable
- Create a list variable from within inventory reader
- Insert variable into display panel
- Wait... Patiently...
- Game stutters, server stutters, game crashes.
Note: removing the variable card from the display panel resolves the issue and has no lasting impact afterwards.
I suspect even hovering the mouse over the list variable card in the inventory of the player has some negative performance impact as well, just not as noticeable as the display panel.
Expected behaviour:
Inventory list without slow painful crash
Versions:
- This mod: 1.23.17
- Minecraft: 1.21.1
- Mod loader version: NeoForge 21.1.80
Log file:
Trying to paste the latest.log file crashes pastebin... it is 89 MB :)
Edited the logs to get it into pastebin:
https://pastebin.com/yiL3V8nZ
I will attach a spark profile I grabbed demonstrating the functions that take up the most tick time.
There was not a better way to display the information. You can extract the file and upload it to https://spark.lucko.me/
Look at the profile by mod, and expand the integrated / CyclopsCore tree.
This profile was taken early on in the bugs lifecycle but is enough to display the functions that are causing issues.
Integrated Lag.zip
Image of what I am referencing with the spark profile
https://imgur.com/a/LAQBfAI