Freeze on final level when entering the forge

Avatar
  • opdateret
  • Not Fixable

As in title. I had no problems raiding the area to the west with the matriarchs (crypt? necropolis?) but when I head east to take out the forge, the game locks up as soon as my army attempts to enter. It doesn't even get as far as breaking the doors down; as soon as they start bashing it immediately freezes and doesn't recover. Output log attached.


output_log.txt

Game Version:
Steam Public
Platform:
Windows

Hvordan vurderer du den kundeservice, du har modtaget?

Tilfredshedsangivelse af Shaolin Funk 6 år siden

Tilføj en kommentar om kvaliteten af den support du modtog (frivilligt):

Avatar
Stefan Furcht

Yea it's a pity. I have one guess.
We have the game running here on SSD, maybe it's loading any asset which is too big.
How fast is your HDD?

Avatar
Shaolin Funk

I actually didn't notice any performance drop when trying to path to the bombards (beyond the general low framerate from having so many units on screen anyway), it was only when entering the enemy's area that it froze.


It's a shame you weren't able to replicate it. That suggests it only occurs on certain system configurations - those are the worst bugs to track down!

Avatar
Stefan Furcht
  • Accepted

I tried the same but couldn't trigger a freeze this way. I got a slight hick up on cancelling the rally flag though.

But it could well be that the pure amount of minions and the attempt to reach the bombards surrounded with lava (which is not walkable by majority of your minions) caused a path finding spike and a short freeze.
I think this is one for the list of general optimizations we need to look at.
But since we are trying to get the current release free of any major issues I push this ticket back to the next performance optimization pass (before Patch 1.6).

Avatar
Stefan Furcht
  • Påbegyndt
Avatar
Stefan Furcht
  • Accepted
Avatar
Stefan Furcht

We will take a deeper look tomorrow.
Thanks for the saves, logs and detailed description how to reproduce.
This can make finding the root cause way easier for us.
Cheers

Avatar
Shaolin Funk

OK I tried again and was able to reproduce it! And this time I've kept the save file so you can try it too. It seems to be related to having a large army and - strangely - destroying the bombards outside the entrance.


Steps to reproduce:


  1. Move the rally point to take out the 6 bombards - mining the sand opposite them makes this easier.
  2. Move the rally point behind the gates as shown in the screenshot.
  3. As soon as your units start bashing the gates, the game freezes.

If you skip step 1 and rush straight in, there's no problem. It only triggers if you kill the cannons first. That seems really strange and I suspect it's a red herring - probably it's because doing this causes your units to bunch up so that when you attack the gates so they all hit at once. Without knowing how your code is structured, my best guess is that a large number of creatures attacking a gate at the same time causes some kind of race condition or deadlock. It's possible that this only occurs with portcullises as I wasn't able to trigger this bug with either the wooden doors in the east or the wide metal doors in the center, however it's more likely that in both of those cases the attackers just weren't bunched up enough.


Actually forget the previous paragraph - while I was reading back what I wrote I had an idea to do an experiment, so I tried having my Archon take out the bombards while the rest of my army waited at the rally point, then had them rush in. The bug triggered even though they weren't bunched up, so it does look like it has a problem with the missing bombards. The last few lines of the output log seem to support that. I then tried a different experiment - I had only my beasts attack, taking out the bombards and then breaking down the gate and entering the forge. It was fine up to that point. Then I had the rest of my army run in and it froze. So it has nothing to do with attacking the gates, it happens when a large number of units try to enter the area after the bombards have been destroyed.


It's really weird that two seemingly unrelated conditions are required to trigger the bug. If it were one or the other I could guess at the cause, but for it to only happen when the bombards are destroyed and a large army enters the area - I have no idea. Good luck with this one.


output_log.txt

13 equilibrium_20161218214029

13 equilibrium_20161218214029.meta

Avatar
Stefan Furcht

Hrm I would really like to know what went wrong but it's hard if we do not know how to trigger the issue.
I will let this report open for a while, please add further information when you get something like this again.
If not we may Decline the report after some time tagged as "Can not reproduce".
Cheers

Avatar
Shaolin Funk

Well I replayed the level and wasn't able to reproduce the bug. My army is much smaller this time as I decided to only convert the level 10 enemies and use the rest for spirits to level up my own creatures (love that mechanic btw!) and later as vampire food.

Avatar
Stefan Furcht
  • Pending Customer

Let us know how it goes :)