ValveSoftware / Dota2-Gameplay

Public Bug Tracker for Dota2
1.45k stars 77 forks source link

FPS drops when hovering over items with range indicators #19329

Open quickcharge3 opened 3 weeks ago

quickcharge3 commented 3 weeks ago

Description

I'm getting massive fps drops when hovering over items with range indicators.

Went from averaging around 120fps to around 40fps for a few ms, it stabilizes quickly but it's very jarring, especially in a fight.

DxDiag.txt

Example Match ID (and possibly Timestamp)

No response

Screenshots

No response

quickcharge3 commented 3 days ago

after a bit of investigation, I'm pretty sure that this has to do with the tooltip overlay and some issue with non-supported characters / strings going off the screen rather than the range indicator.

tested with Enchantress:

when I select the Immortal Faith guide and hover her W Enchant, FPS drop massively. The Dota+ guide works fine.

In the IF guide, there's an issue with some unsupported character, leading to a massive amount of ";amp" strings being inserted into the tooltip. These continue off screen / further than the tooltip overlay (see screenshot). When I remove these OR when I insert linebreaks to make sure they don't continue off-screen, the fps are fine again.

image

no changes to immortal faith guide, fps drop to around 20 when quickly hovering / not hovering over spell over and over again

image

linebreaks added, fps are fine:

image