ValveSoftware / Source-1-Games

Source 1 based games such as TF2 and Counter-Strike: Source
648 stars 75 forks source link

[TF2] Gold/ice ragdolls regularly (randomly) uncaching during regular gameplay #4848

Open rabscootle opened 1 year ago

rabscootle commented 1 year ago

There's currently a bug with gold and ice player ragdolls (ie. Golden Frying Pan, Spycicle) where the base texture of ice_player or gold_player will stop drawing on the models as expected, leaving them white or another color. The envmap from the vmt does not seem to be affected by this, though, and will continue to display on the model.

image Left image is model pre-glitch, custom texture is used for better visibility. Right image is bug after it triggers.

Once bug is triggered, ragdolls calling for affected texture will render incorrectly until player opens a new instance of the client. image

Repro is a bit inconsistent, but usually involves killing a few players with one of the affected items and waiting for the models to begin rendering incorrectly. Bug will almost always trigger during a regular gameplay session.

kisak-valve commented 1 year ago

Partial duplicate of #2579.

Whurrhurr commented 1 year ago

it's not just gold statues and ice statues that are affected by this, ubercharged players, and players wearing voodoo-cursed souls may have their yellow eyes bug out and render as solid white, or sometimes solid black, and i'm beginning to think that the "solid white gold statues" bug is related to the "solid white zombie eye texture" bug. and sometimes a different bug happens with gold statues where their cubemap texture bugs out and becomes "purple". the brown on the heavy is the texture that gold statues use. milk ape heavy

(picture of the "solid white zombie eye texture" bug, note that spy's voodoo-cursed soul uses a solid black eye texture normally instead of yellow like the other 6 classes do)

zombiespy eyebug

rabscootle commented 1 year ago

Debugged issue a bit further, seems the client stops using the vmt's base texture once bug triggers. image image

Whurrhurr commented 1 year ago

showing off eyeball_spectral in mat_texture_list 1 after the bug occurs it is a mystery (texture was shown using "Show ALL Textures" option in mat_texture_list, otherwise you would never find it because by default the list only shows loaded textures)