Muushy / Sprocket-Feedback

Report bugs or suggest features for Sprocket.
4 stars 0 forks source link

Large decal collections cause noticeable lag when viewing the decals tab #424

Open SprocketTools opened 9 months ago

SprocketTools commented 9 months ago

Describe the bug The new decal preview bar seems to have changed how decals are loaded in. I have noticed that it tends to cause lag as all the decals are loaded in. For context, I am testing with 550 decals totaling ~100MB of storage space.

Version 0.2 CBT #2

To Reproduce Steps to reproduce the behavior:

  1. Fill decals folder with pictures
  2. Load in game and view the decals tab
Muushy commented 5 months ago

Was there not a colossal lag spike in V0.127? 0.2 loads decals over multiple frames to reduce this big spike.

DarioXN commented 5 months ago

Was there not a colossal lag spike in V0.127? 0.2 loads decals over multiple frames to reduce this big spike.

I personally have not had the huge lag spike but I do know some people who's game would crash when opening the decals tab, so this change is likely necessary.

Maybe adding one of those spinning loading icons over the decal area while it's doing it would make it more obvious as to why it's stuttering.

ColsonThePCMechanic commented 5 months ago

Was there not a colossal lag spike in V0.127?

0.2 loads decals over multiple frames to reduce this big spike.

There was not. The "lag spike" was instead just a much longer loading time when first entering a scenario.