ScalarVector1 / DragonLens

Modern, customizable, and community-driven debugging and cheat mod for TModLoader
24 stars 14 forks source link

Item Spawner Frame Rate Drop Issue #88

Closed JacksonWoodsknight closed 11 months ago

JacksonWoodsknight commented 11 months ago

So, whenever I open the Item Spawner menu. For whatever reason the game's frame rate suddenly drops down to two frames per second. But then whenever I close the Item Spawner menu. The frame rate suddenly goes back up to the normal rate. I don't know the solid answer for this, but I can tell that this is caused from how the menu loads every single item icon at once. But maybe you can chat with the people behind the Magic Storage mod and ask of how they got around that or how it works so you can maybe ask to use that bit of code and implement it in DragonLens's Item Spawner menu, or maybe learn from how that code works and find out what makes it work better. I ain't sure of which is the best, I'm just throwing the suggestion out there.

ScalarVector1 commented 11 months ago

this is false, item assets are preloaded asynchronously when the game starts. This is most likely due to a mod's item throwing an exception. You will need to find which mod and report this behavior to that mod's developers.