optifine icon indicating copy to clipboard operation
optifine copied to clipboard

[1.20 Bug] Custom end sky breaks everything after a while

Open SeaOfPixels opened this issue 1 year ago • 5 comments

Description of Issue

When playing in the end with a custom end sky, after a while the game goes into a completely broken state where tons of visuals are messed up (invisible inventory, no menu backdrop shadow, transparent items and menus, etc).

Everything is transparent: 2023-07-09_05 42 05

Broken inventory: 2023-07-09_05 47 52

Example of disabling custom sky stopping the bug: https://github.com/sp614x/optifine/assets/62183036/4e2bc1f0-94d8-487c-8c61-ed71c478e41c

OptiFine Version

OptiFine_1.20.1_HD_U_I5, OptiFine 1.20.1_HD_U_I6_pre6, OptiFine 1.20.4_HD_U_I7_pre2

SeaOfPixels avatar Jul 09 '23 12:07 SeaOfPixels

Can you provide the resource pack used and the related game settings used at the time?

Jiingy avatar Jul 16 '23 21:07 Jiingy

New Default+ v1.68 [MC1.20-1.20.1], OptiFine_1.20.1_HD_U_I5, and my provided OptiFine settings from https://powerups4u.wixsite.com/seaofpixels/optifine-settings.

SeaOfPixels avatar Jul 17 '23 19:07 SeaOfPixels

I was unable to replicate this behavior myself, everything seems fine to me, even after waiting a bit. I did notice though that you are on integrated graphics, that could maybe be causing the visual issues?

More people testing this would be appreciated. Especially integrated graphics vs. non-integrated. 2023-07-17_17 33 16

Jiingy avatar Jul 17 '23 22:07 Jiingy

Custom sky textures could be quite big and use a lot of VRAM. Combined with the slow VRAM leak from the terrain geometry (#7475), your GPU may be getting out of memory.

sp614x avatar Jul 17 '23 23:07 sp614x

I've also ran into an issue where when it rains the end sky is not rendered at all.

Steps to reproduce:

  • Use pack with custom sky
  • Create a new world with cheats enabled
  • Run /weather rain
  • Go to the end /setblock ~ ~ ~ end_portal
  • Save and quit, then load back the save

roro1506HD avatar Jul 18 '23 10:07 roro1506HD