I've been having issues with animation lag in playtesting. It seems to occur mostly in animation heavy cutscenes and battles.
I select a command and the game just freezes sometimes up to a good 15 to 20 seconds in extreme cases before executing the animation. This usually happens at the beginning of playtests. Once a few minutes have passed the issue sorts itself out.
If I try to end playtesting during these lags the game screen disappears like it is supposed to but the music keeps playing for about 30 seconds and I am unable to do anything.
I can't tell if this is due to my programming or my computer itself.
Any suggestions or advice to stop this? Has this happened to anyone else?
EDIT: Another pattern I've noticed is that if it is the first time a certain animation has been played in the game or if it has been a while since the last time said animation was played, it is almost guaranteed to have a delay.
I select a command and the game just freezes sometimes up to a good 15 to 20 seconds in extreme cases before executing the animation. This usually happens at the beginning of playtests. Once a few minutes have passed the issue sorts itself out.
If I try to end playtesting during these lags the game screen disappears like it is supposed to but the music keeps playing for about 30 seconds and I am unable to do anything.
I can't tell if this is due to my programming or my computer itself.
Any suggestions or advice to stop this? Has this happened to anyone else?
EDIT: Another pattern I've noticed is that if it is the first time a certain animation has been played in the game or if it has been a while since the last time said animation was played, it is almost guaranteed to have a delay.