
Lag with tools
Airisii opened this issue ยท 3 comments
Versions
- Silent Gear: 3.6.6
- Silent's Gems: N/A
- Silent Lib: 8.0.0
- Forge: 47.3.11 - 1.20.1
- Modpack: N/A
- Optifine Installed: No
Expected Behavior
Not to lag when holding a silent gear tool. Stable fps.
Actual Behavior
Lagging when holding a silent tool. Major fps drop.
Links/Images
https://spark.lucko.me/B7PmTCkr0S
Steps to Reproduce the Problem
- Hold a silent gear tool
- Lag
- Unselect tool - no lag
I have the same issue but on 1.19.2 and I don't have to hold the tool, it just has to be visible, in the inventory, on the ground, in hotbar... It doesn't matter... It tanks the fps so much to the point of going from ~600fps to very unstable 80fps
I'm currently experiencing this bug as well on 1.19.2. I'm on Stacia 2 modpack though judging from the issue report, its probably just Silent Gear tools causing this bug.
I haven't looked at the source code fully and I'm not that familiar with mod development, but I'm going to take a guess that whatever method its using to make the texture of the tool, that method is repeating for every frame instead of being ran once and cached somewhere.
If I'm right about it, this might explain why the FPS drops so much when at least five Silent Gear tools are visible either in your world or inventory.