since the april patch was released, I have been experiencing several short freezes every game. it’s usually a split second but it is quite annoying, as you can surely imagine.
I have turned off all of my mods and I have lowered my graphics settings a bit but neither had any noticable effect.
does anyone have an idea of what might cause this or how I can find out what causes it? the game isn’t crashing, so I assume there is nothing like a crash log or anything comparable
I play through steam, on Windows 10 Pro Version 22H2 and the game version is version 101.103.10863.0 (#141935) 17957298
I’ve had the same issue, have just been too busy to fill out a bug report. Probably good idea to do an official bug report in that forum section if you get a chance
I don’t know what’s causing it, specifically, aside from the new patch. I have more than enough RAM, vid card, and processor speeds.
I’m on Win11, Steam, nVidia RTX. And I’ve only played SP skirmish games vs. AI since the new patch.
It’s a quick stutter/hiccup/hitch in the framerate at random times per game here. I notice usually one stutter/hitch every handful of minutes
EDIT: Might be able to clump our issues under the following bug report thread, even though it’s not exactly the same for me. They report lengthy freezes, while mine is just a tiny pause for 0.25 seconds or something.
yea it’s exactly as you descibe for me. very short stuttert/frame drop, certainly less thana second when it happens. but it’s incredibly annoying and whn it happens in a bad moment it can mess up stuff. I ll look into the bug report
also, people sometimes overestimate the time an issue takes. people feel like it was 2-5 seconds even if it was realistically below a second. so, I’m pretty sure it is indeed the same issue. and if you look at the replies under it, some people even posted clips and it looks EXACTLY like what i’ve been struggling with
Well, AI wise, I think I have an idea as to what may be causing them. If not, then it’s something else.
But, they started using “go to” or as the AI calls it “up-jump-*” While it’s understandable as to why they did this (there is no direct “for loop” in AI files directly.), this in my theory, is what is causing a loop within a loop. Causing the freezes. (Because, the AI already has a loop technically within itself. It has to loop over the file repeatedly if there are any rules without disable-self.) Normally loops within loops is fine but, the more you loop in other loops, the worse it can get. Considering that we are running a game here with tons of tasks going on here, it could cause some issues.
edit: It’s also possible (if not careful.) to cause infinite loops too.
Now, I can’t prove this but, I can give a perfect example. (A possible theory.)
If you play diplomacy/last one standing with ai (8 players), the current AI attacks in player number after everyone becomes enemy. This causes every single unit to target that player at once in order. So, Player 1 is attacked first until defeated and moves on to the next player. (Player 2 and so on.) During this process, there is significant lag/freeze. (at least 7 times. sometimes more.) I am guessing they are using the jump rule here. (or targeting via DUC.) I don’t actually know atm but, I am just assuming. (I will look later on.)
edit: If you have tried my “x,y mod”, you will understand exactly what I am talking about here. Since I am creating multiple objects at once, it lag/freezes. It cannot be helped sadly. It has to be done this way.
edit: You can “reduce” the looping tasks though and have mini freeze/lags but, i don’t know what is worse honestly. Many short ones (less efficient) or one long one (more efficient)…