optifine icon indicating copy to clipboard operation
optifine copied to clipboard

[Bug] Entities turn completely dark

Open Elcamian opened this issue 11 months ago • 20 comments

Description of Issue

Ever since 1.21.3, and still on the latest 1.21.4 optifine preview, for some reason entities constantly flash between being normal or completely dark (like the chicken or the item frames on the screenshots), I have no idea why this happens, but I know its an optifine bug because this doesn't happen if I play on vanilla, I tried turning CEM off but that doesn't do anything.

Steps to Reproduce

Booting up the game with optifine and joining any world or server, it happens on both singleplayer and multiplayer.

OptiFine Version

1.21.4_HD_U_J3_pre5

Installation Method

Through the official website, downloaded the installer and executed it.

Prior Testing

It doesn't happen in vanilla, only with optifine enabled

Additional Information

This affects only entities like mobs, paitings or item frames, not block entities like chests

2024-12-24_17 24 55 2024-12-24_17 25 51 2024-12-24_17 25 55

Elcamian avatar Dec 25 '24 02:12 Elcamian

More screenshots of this happening plus some new findings. Mobs that are holding/ wearing tools and armor, straight up go invisible, except the objects they are holding, I also found out that chests are indeed affected as well, I left an f3 screenshots if its of any help. 2024-12-24_20 46 57 2024-12-24_20 48 02 2024-12-24_20 37 15

Elcamian avatar Dec 25 '24 08:12 Elcamian

Did more testing and it seems like turning off mipmap somewhat reduces the flashes from happening, but they do still happen, just more rarely, I also found out that on third person I also go invisible, so its just all entities, and block entities

2024-12-27_00 30 20 2024-12-27_00 33 58 2024-12-27_00 34 09 2024-12-27_00 39 39

Elcamian avatar Dec 27 '24 07:12 Elcamian

if custom sky is enabled, it goes completely invisible

Xyral1 avatar Dec 28 '24 08:12 Xyral1

Bug still happens on pre6, gonna keep updating this as more previews come out 2024-12-28_18 30 01 2024-12-28_18 30 38 2024-12-28_18 30 46 2024-12-28_18 33 23 2024-12-28_18 33 47 2024-12-28_18 33 50

Elcamian avatar Dec 29 '24 05:12 Elcamian

It just keeps getting worse and worse 2024-12-29_23 42 55 2024-12-30_00 11 16

Elcamian avatar Dec 31 '24 03:12 Elcamian

I'm honestly losing my mind, somehow it got worse on the latest preview, and now when I press f1 entities blink constanly and the sky gets weird when I look in certain directions 2025-01-05_17 31 54 2025-01-05_17 32 22 2025-01-05_17 32 38 2025-01-05_17 32 43 2025-01-05_17 37 29 2025-01-05_17 37 41

Elcamian avatar Jan 05 '25 23:01 Elcamian

Resource pack, error log? Disabling Render Regions, Fast Render and Dynamic Lights?

sp614x avatar Jan 06 '25 14:01 sp614x

I only have in use a resource pack that removes 1.16+ music, first screenshot shows all of the resource packs I have, I tried only disabling render regions and fast render, that somehow fixed it for the most part, except on one scenario, whenever I press f1 and remove the gui, it happens again, entities start to flicker 2025-01-07_01 29 30 2025-01-07_01 48 36 2025-01-07_01 49 18 2025-01-07_01 50 19 2025-01-07_01 50 41

Elcamian avatar Jan 07 '25 09:01 Elcamian

Also I forgot to add that I can't provide any error logs because this literally just happens while playing normally

Elcamian avatar Jan 07 '25 17:01 Elcamian

The error log is in logs/latest.log, it has a lot of information.

sp614x avatar Jan 07 '25 22:01 sp614x

I would love to check that, but now my game doesn't even open on pre9, it has been like this for 2 hours 2025-01-07_17 07 32

Elcamian avatar Jan 07 '25 23:01 Elcamian

This is the log for this latest.log

Elcamian avatar Jan 07 '25 23:01 Elcamian

Just checked pre8 and that one works, f1 bug is still present but it at least opens up, here's the log for it btw latest.log

Elcamian avatar Jan 08 '25 00:01 Elcamian

My game now opens on pre11, but the f1 bug still happens, gonna provide screenshots and logs as always latest.log 2025-01-10_20 13 56 2025-01-10_20 15 07 2025-01-10_20 14 48

Elcamian avatar Jan 11 '25 03:01 Elcamian

I'm honestly in shambles, this still happens on pre13, same thing as always, I also found out that this also happens on spectator mode, but not in the other gamemodes with the gui visible, I still have faith that this will be patched at some point

latest.log

Image Image

Elcamian avatar Feb 04 '25 08:02 Elcamian

Updating the graphics driver may help. The 27.20.100.8729 driver is from 2020: https://www.catalog.update.microsoft.com/Search.aspx?q=27.20.100.8729

sp614x avatar Feb 04 '25 10:02 sp614x

I tried everything, I watched 2 tutorials, and even tried downloading drivers manually, but it never let me update them, this is my cpu if it is of any help

Image

Elcamian avatar Feb 04 '25 23:02 Elcamian

Ok idk how but there has been some progress, now both types of item frames don't flash on pre16, its only me (and other players), and paintings, i'll try checking other entities to see if they don't flash as well, but I feel this might be the beginning of the end.

Image

Elcamian avatar Feb 09 '25 06:02 Elcamian

So the stable release finally arrived, but things haven't changed since last preview, made some testing and found armor stands are still affected, as well as other entities, its interesting that in the last two screenshots the paintings are not affected, only the armor stand is, and its the stand itself that flashes, not the armor it has equipped.

Image Image Image Image Image

Elcamian avatar Feb 10 '25 07:02 Elcamian

Back to square 1 in j4 pre2, item frames are affected again, but I noticed something, it now only happens on certain places, with certain entities, in certain angles, with the gui hidden and on spectator mode as well, so that's new, and kinda of a half fix, still don't get why it happens, because I even managed to update my drivers and it still happens just the same

Image Image

Elcamian avatar Feb 26 '25 03:02 Elcamian

Bug has been fixed in 1.21.7, thank you sp614x

Image

Elcamian avatar Jul 04 '25 07:07 Elcamian