Samples not lining up

(Using Audacity 3.4.2)
Trying to gain accurate sample points for modifying a videogame. Previous versions got the samples perfectly, no errors whatsoever, however recently there’s a notable delay between what’s shown in the selection and what is actually in-game (upwards of 50000 samples behind, exactly 51367 in my test)
How do I fix this “latency”, for lack of a better term?