Roughly Enough Items Fabric/Forge/NeoForge (REI)

Roughly Enough Items Fabric/Forge/NeoForge (REI)

40M Downloads

[Bug] REI Crashes with Ad Astra and other mods - Window 8320x8320 size out of bounds (max. size: 8192)

ItsIgnacioPortal opened this issue ยท 3 comments

commented

What happened?

When I open my inventory, REI starts loading, and that causes the game to crash.

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

https://gist.github.com/ItsIgnacioPortal/3e436c8a8ed1c51a7d452b3ec1c21544

Anything else?

Note that the issue doesn't happen if Ad Astra and REI are alone. It is likely that another mod is part of the culprit too.

Many of the mods are from the Fabulously Optimized modpack.

I've zipped my mods folder for easier testing of this bug: https://mega.nz/file/99hVGaAT#yhO0J97lU3AjG54-EOk9MS5rxIS77lgS7ZdMzRqOIb4

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

The stacktrace is at line 4836 in the gist.

Also, there's this line just before the game fully crashes:
[03:52:35] [Render thread/INFO]: [REI] Preparing cached texture with size 8320x8320 for 130x130 entries

And REI crashes on here:
TextureTarget target = new TextureTarget(width, height, true, false);

From what I can tell in the stacktrace, TextureTarget has a limit of 8192x8192, and because REI is trying to create a larger one, it just throws.

commented

The stacktrace is at line 4836 in the gist.

Also, there's this line just before the game fully crashes:
[03:52:35] [Render thread/INFO]: [REI] Preparing cached texture with size 8320x8320 for 130x130 entries

And REI crashes on here:
TextureTarget target = new TextureTarget(width, height, true, false);

From what I can tell in the stacktrace, TextureTarget has a limit of 8192x8192, and because REI is trying to create a larger one, it just throws.

Yeah I saw that but I don't know what to do about it. If I knew mod developing I'd add some sort of print statements so I could know what exactly it's trying to render that is so big.

commented

Duplicate of #1148