Roughly Enough Items Fabric/Forge/NeoForge (REI)

Roughly Enough Items Fabric/Forge/NeoForge (REI)

38M Downloads

[Bug] Game freezes for several seconds when opening inventory for the first time

szernex opened this issue ยท 2 comments

commented

What happened?

The game freezes for several seconds when you open the inventory for the first time per session with a bunch of mods installed. Subsequent opening of the inventory is fine, but the first time always takes up to 10 seconds on my machine where the game appears frozen which makes for an unpleasant experience.

What mod loaders are you seeing the problem on?

Fabric

What do you think this bug is of?

  • Visual
  • Recipe Lookup
  • Cheat Mode
  • Plugin Integration / JEI Plugin Compatibility
  • Others

Relevant log output

Relevant logs are attached.

Anything else?

I am aware that I'm using a lot of mods which add a lot of items, but I remember REI not completely freezing the game when opening the inventory in the past, it would just run in the background until all items are loaded. This issue happens regardless of which Thread setting is being used (REI thread or main thread).

latest.log
rei.log

By submitting this issue, I have included the necessary logs by pasting the contents into the correct location or attaching the file as an upload.

  • Yes, and I did not use any paste services other than GitHub Gists.

By submitting this issue, I have confirmed my REI and REI's dependencies are up to date.

  • Yes
commented

This is caused by the caching entry rendering, it takes time to prerender every item in the game. Turn it off if unwanted.

commented

I already tried turning it off and it makes no difference. With my current configuration of mods on my machine it takes over 8 seconds to first open my inventory, regardless of having Cached Rendering enabled or not.

latest.log
rei.log