View Issue Details

IDProjectCategoryView StatusLast Update
0000534Medieval EngineersBugpublic2024-12-16 17:53
Reporterequinox Assigned Toequinox  
PrioritynormalSeverityminorReproducibilityhave not tried
Status resolvedResolutionopen 
Product Version0.7.4.3BB0F4 
Target Version0.7.4.xh (unreleased)Fixed in Version0.7.4.xh (unreleased) 
Summary0000534: Game hangs when downloading workshop items when less than 5 worker threads are assigned
Description

When the CPU has less than 5 logical cores the game will only assign 1 thread to the logic worker group.
There is a bug where the logic worker group gets deadlocked when loading mods with a single thread.

Workaround:

  1. Open the game to the Main Menu

  2. Go to Options -> Game -> Worker Threads

  3. If you're having the mod downloading issue I would expect this value to be 4 or lower. If it is not 4 or lower then please let me know and don't keep following these instructions.

  4. If the worker thread slider goes up to 5 (or more)
    a. Set the slider to 5
    b. Press okay and restart the game
    c. Try to load a modded world.
    d. If you still get stuck on loading mods or checking for mod updates, let me know
    e. Stop following these instructions.

  5. Otherwise, if the worker thread slider doesn't go up to 5....
    a. Set the worker thread slider to something different than the current value.
    b. Exit out of the game
    c. Press Win+R, write %AppData%\MedievalEngineers\, then hit enter
    d. Open MedievalEngineers.cfg using Notepad (or your text editor of choice)
    e. Find the part that looks like <item> <Key xsi:type="xsd:string">WorkerThreads</Key> <Value xsi:type="xsd:string">NUMBER</Value> </item>
    f. Edit the NUMBER to be 5
    g. Open the game and try to load a modded world.
    h. If you still get stuck on loading mods or checking for mod updates, let me know.
    i. If you open the game options again after making these changes it will likely revert to a non-working value and you'll have to follow these steps again.

TagsNo tags attached.

Relationships

has duplicate 0000538 closedequinox Can not place any blocks/items on CE after building a blueprint  
related to 0000419 assignedequinox Rare deadlock when ExecuteOrWait is used  

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2024-12-12 15:11 equinox New Issue
2024-12-12 15:11 equinox Assigned To => equinox
2024-12-12 15:11 equinox Status new => assigned
2024-12-12 19:57 equinox Summary Game hangs when downloading workshop items on some machines => Game hangs when downloading workshop items when less than 5 worker threads are assigned
2024-12-12 19:57 equinox Description Updated
2024-12-12 20:02 equinox Description Updated
2024-12-13 19:38 equinox Relationship added related to 0000419
2024-12-14 01:52 equinox Status assigned => resolved
2024-12-14 01:52 equinox Fixed in Version => 0.7.4.xh (unreleased)
2024-12-16 17:53 equinox Relationship added has duplicate 0000538