[#beta-bugs] Occasional freezes in the new worldgen screen apparently triggered by calls to `...

Issue #11462 invalid
Freehold Games Bot Account created an issue

Marked for crossposting by: kernelmethod

Message (jump):

<kernelmethod> Occasional freezes in the new worldgen screen apparently triggered by calls to ShowOptionListAsync in modded-in embark modules.

I'm occasionally (10-20% of the time?) causing the game to lock up in the new worldgen screen during the "initialize game environment" step. The freeze seems to be triggered by calls to ShowOptionListAsync in embark modules that I've modded into the game in some of my mods; I've attached the source for a rough example mod here with which I've been able to reproduce the freeze.

I haven't been able to find a way to trigger the freeze in a non-modded context so it might be wontfix; however, this behavior definitely wasn't an issue in 206.X and 205.X. I also haven't been able to trigger it on 207.15 while using the old UI.

Steps to reproduce:
1. Create a test mod with the attached Chargen.cs and embarkmodules.xml (I've packed it all together with a manifest in ExampleMod.tar.gz).
2. Go through character creation up to the "player tile" screen.
3. Hit enter on the "tile" option and choose any selection (foo, bar, or baz).
4. Proceed; during worldgen the game should freeze at the first step (may take a few tries).

Comments (7)

  1. kernelmethod

    Just had the freeze happen twice without triggering ShowOptionListAsync (though the example mod was still installed), so the ShowOptionListAsync thing may be a red herring. Not sure exactly what the trigger is; it might somehow be tied to injecting modded embark modules at all?

  2. Log in to comment