Page 1 of 1

[1.1.88] Game hang @ loading sound 95%

Posted: Wed Aug 02, 2023 10:40 pm
by heyqule
Hi

I'm still see game hang on my 1.1.88 windows zip build, which I use for mod development.

I still see loading sound 95% hang.
The menu where biter attack miners has a guarantee freeze.
Oddly enough, when I'm in my test game (in game), it doesn't freeze. I have try run it for 10mins with 2000UPS. It looks fine.
It often freeze when I use "Quit Game" button.

I tried the stream-from-disk change in config.ini. It still hangs.

I currently have appox 500MB of unzip mod assets. Not sure if that contributes to the issue. If you want my mod dump, I can provide via Gdrive.

I thought about posting in this ticket. But it's already moved to resolved.
Reference: 107792

Re: [1.1.88] Game hang @ loading sound 95%

Posted: Wed Aug 02, 2023 10:50 pm
by heyqule
Another thing I noticed is that when the game is able to get pass the "loading sound 95%" hang. It always starts with the biter raids miners scene.

Re: [1.1.88] Game hang @ loading sound 95%

Posted: Thu Aug 03, 2023 1:50 am
by heyqule
Hm. I moved the mods to the new build without any other previous files seem fixed itself. :fingercross:

NVM... It freeze as I posted this.

Re: [1.1.88] Game hang @ loading sound 95%

Posted: Thu Aug 03, 2023 9:10 am
by Donion
heyqule wrote: Wed Aug 02, 2023 10:40 pm I tried the stream-from-disk change in config.ini. It still hangs.

I thought about posting in this ticket. But it's already moved to resolved.
Reference: 107792
Since changing that setting doesn't change anything, this is a different issue anyway,
heyqule wrote: Wed Aug 02, 2023 10:40 pm I currently have appox 500MB of unzip mod assets. Not sure if that contributes to the issue. If you want my mod dump, I can provide via Gdrive.
Please do, I will try to reproduce the issue then.
Do you experience hangs when not using any mods?

Re: [1.1.88] Game hang @ loading sound 95%

Posted: Thu Aug 03, 2023 2:22 pm
by heyqule
https://drive.google.com/drive/u/0/fold ... lYybJJBIY3

Download the mod zip and unpack it in the zip folder.

In a clean build, it may load OK for a few times. Once it starts to happen, it loads into the menu and then freeze. If not, you can try load up an EnemyRaceManage/General Debug scenario, speed it up and run it for a few minute and then "quit game". After that, loading sound 95% kicks in.

My steam build with 1.1.87 with many of these published mods hasn't experienced the freeze.

1.1.88 (window zip) without mods load fine. I reloaded it a few times on purposed after changing a few setting to match the dev build.

Re: [1.1.88] Game hang @ loading sound 95%

Posted: Thu Aug 03, 2023 3:05 pm
by heyqule
Here is how I reproduced the "Quit Game" freeze on a clean build.

Please grab my mod-settings.dat from Gdrive as well. It has some changes in the startup settings.

Game test
- Start "EnemeyRaceManager/General Debug" scenario
- Set the map type to "ERM DEBUG"
- Start the game
- Start the 2 artilleries, set game speed to 1000 and let it run for 2+ minutes.
- Use "quit game"

Re: [1.1.88] Game hang @ loading sound 95%

Posted: Thu Aug 03, 2023 3:18 pm
by Rseding91
Thanks for the report and the mod(s). We were able to reproduce it and the issue is now fixed for the next release.

Re: [1.1.88] Game hang @ loading sound 95%

Posted: Thu Aug 03, 2023 3:20 pm
by heyqule
lol. It seems related to Clion's Redirect Input. The same build seems runs fine without it.

That option works fine on 1.1.80 build tho.

Re: [1.1.88] Game hang @ loading sound 95%

Posted: Thu Aug 03, 2023 3:28 pm
by Rseding91
The issue is related to the simulation save file being run (which random seed it ends up with) and how many prototypes have defined autoplace controls. Because there are 1400~ prototypes with autoplace controls the game tries to find "spaced apart" locations for all 1400 of them in the starting area and ends up failing to do so as the number grows. At least until 1.1.89 where it's fixed.

Re: [1.1.88] Game hang @ loading sound 95%

Posted: Thu Aug 03, 2023 3:43 pm
by heyqule
That's interesting. :D

Re: [1.1.88] Game hang @ loading sound 95%

Posted: Thu Aug 03, 2023 3:46 pm
by heyqule
If the expansion has some mechanic to change max health and damage mulitplier for entities during runtime, that would be able to reduce the prototype counts from my mods. :D