Dwarf Fortress Bug Tracker - Dwarf Fortress
View Issue Details
0001371Dwarf FortressAdventure Mode -- Travelpublic2010-04-20 11:372018-06-03 19:05
0001371: "Nemesis Unit Load Failed" (from elves?)
When my adventurer tries to enter an elven settlement, the game crashes with error message "Nemesis Unit Load Failed".
I have a save of this, but nowhere to upload it. In this save, just transport the adventurer to the nearby Forest Retreat with fast travel, and then try to enter the site.

http://dffd.wimbli.com/file.php?id=5737 [^] 34.03 Khym Chanur, below
http://dffd.wimbli.com/file.php?id=6511 [^] from peetaur, below
http://dffd.wimbli.com/file.php?id=9312 [^] 40.03 from KtosoX, below
http://dffd.wimbli.com/file.php?id=9563 [^] 40.09 from zlobtheking, below
http://dffd.bay12games.com/file.php?id=10901 [^] 40.24 from Witty, below
http://dffd.bay12games.com/file.php?id=11625 [^] 42.04 from grayfox 0009453
http://dffd.bay12games.com/file.php?id=11628 [^] from grayfox, below
http://dffd.bay12games.com/file.php?id=12059 [^] 43.02 from Shonai Dweller, below
http://dffd.bay12games.com/file.php?id=12969 [^] 43.05 from 4dplanner 0010251
No tags attached.
duplicate of 0009985resolved Toady One FATAL ERROR - Nemesis Unit Load Failed 
has duplicate 0001719closed Footkerchief Nemesis Unit Load Failure 
has duplicate 0002070closed Footkerchief Nemesis Unit Load Failed error 
has duplicate 0002547resolved Footkerchief Nemsis load unit failed: crash 
has duplicate 0005342resolved Footkerchief Game crashes 
has duplicate 0005420resolved Logical2u Unexplained crash to desktop 
has duplicate 0005486resolved Footkerchief Nemesis Unit Load Failed 
has duplicate 0006232resolved Dwarfu nemesis unit load failed 
has duplicate 0006369resolved Footkerchief When entering town, crashes every time 
has duplicate 0008489resolved Footkerchief Crash with message "Nemesis Load System Failed" 
has duplicate 0009453resolved Knight Otu Nemesis Unit Load Fail 
has duplicate 0010251resolved Dwarfu Crash on nearing retired fortress 
has duplicate 0010644resolved Loci Nemesis load error in dwarf settlement 
has duplicate 0010649resolved Loci Nemesis Unit load failed after df version change 
related to 0002422new Footkerchief Crash on reclaim: Extra Item Occupancy 
related to 0006463assigned Footkerchief Crash on save, does not save 
related to 0008228new  Player fort crashes on visit, Nemesis fatal error 
Issue History
2010-04-20 11:37zombiejusticeNew Issue
2010-04-20 12:16FootkerchiefNote Added: 0004368
2010-04-20 14:17zombiejusticeNote Added: 0004382
2010-04-20 14:38FootkerchiefNote Added: 0004384
2010-05-03 17:36Logical2uRelationship addedrelated to 0001719
2010-05-25 13:10FootkerchiefRelationship replacedhas duplicate 0001719
2010-05-25 13:11FootkerchiefRelationship addedhas duplicate 0002070
2010-07-02 20:31FootkerchiefRelationship addedhas duplicate 0002547
2010-07-03 03:22MurphyNote Added: 0009565
2010-07-03 03:37MurphyNote Edited: 0009565bug_revision_view_page.php?bugnote_id=0009565#r3688
2010-07-03 05:04FootkerchiefRelationship addedrelated to 0002422
2010-07-03 05:05FootkerchiefNote Added: 0009569
2010-07-03 20:45MurphyNote Added: 0009603
2010-07-03 21:27MurphyNote Edited: 0009603bug_revision_view_page.php?bugnote_id=0009603#r3706
2010-07-15 03:10MurphyNote Added: 0010328
2010-11-23 12:01DarthCloakedDwarfNote Added: 0014181
2010-12-12 18:32kwielandNote Added: 0014557
2012-02-20 15:54FootkerchiefRelationship addedhas duplicate 0005342
2012-02-24 05:08Logical2uRelationship addedhas duplicate 0005420
2012-02-26 07:24FootkerchiefRelationship addedrelated to 0005393
2012-02-26 07:24FootkerchiefRelationship deletedrelated to 0005393
2012-02-27 17:45FootkerchiefRelationship addedhas duplicate 0005486
2012-02-28 22:31Khym ChanurNote Added: 0020893
2012-02-28 22:31Khym ChanurIssue Monitored: Khym Chanur
2012-03-11 19:29NomletsNote Added: 0021391
2012-03-11 20:04FootkerchiefSummary"Nemesis Unit Load Failed" => "Nemesis Unit Load Failed" (from elves?)
2012-03-11 20:05FootkerchiefNote Added: 0021393
2012-03-22 21:46XxoriginxXNote Added: 0021671
2012-03-22 22:15XxoriginxXNote Added: 0021672
2012-04-20 15:41se5aNote Added: 0022320
2012-04-20 16:24se5aIssue Monitored: se5a
2012-05-06 21:16abramulNote Added: 0022445
2012-05-10 11:41se5aNote Added: 0022461
2012-05-11 05:48QuietustNote Added: 0022463
2012-05-11 05:49QuietustNote Edited: 0022463bug_revision_view_page.php?bugnote_id=0022463#r8380
2012-06-10 12:50DetrosNote Added: 0022944
2012-06-16 13:16peetaurNote Added: 0023028
2012-06-17 11:04peetaurNote Added: 0023036
2012-10-24 04:40DwarfuRelationship addedhas duplicate 0006232
2013-09-22 17:16FootkerchiefRelationship addedhas duplicate 0006369
2014-01-12 11:46MeisBarryNote Added: 0024267
2014-07-14 11:35FootkerchiefRelationship addedrelated to 0006463
2014-08-06 07:39KtosoXNote Added: 0028445
2014-08-16 22:16edmusNote Added: 0029157
2014-08-30 09:51zlobthekingNote Added: 0029802
2014-08-30 17:374maskwolfIssue Monitored: 4maskwolf
2014-09-04 05:07FootkerchiefRelationship addedrelated to 0008228
2014-10-28 22:33FootkerchiefRelationship addedhas duplicate 0008489
2015-06-02 18:44WittyNote Added: 0032756
2016-01-07 14:55Knight OtuRelationship addedhas duplicate 0009453
2016-01-07 14:55Knight OtuIssue Monitored: grayfox
2016-01-07 14:55Knight OtuNote Added: 0034351
2016-01-07 15:28DetrosNote Added: 0034353
2016-01-07 18:06grayfoxNote Added: 0034354
2016-01-07 19:07grayfoxNote Edited: 0034354bug_revision_view_page.php?bugnote_id=0034354#r13839
2016-01-07 22:08grayfoxNote Edited: 0034354bug_revision_view_page.php?bugnote_id=0034354#r13840
2016-01-07 22:09grayfoxNote Edited: 0034354bug_revision_view_page.php?bugnote_id=0034354#r13841
2016-01-07 22:10grayfoxNote Edited: 0034354bug_revision_view_page.php?bugnote_id=0034354#r13842
2016-01-07 22:12grayfoxNote Edited: 0034354bug_revision_view_page.php?bugnote_id=0034354#r13843
2016-01-08 08:17grayfoxNote Added: 0034357
2016-01-08 08:32grayfoxNote Edited: 0034357bug_revision_view_page.php?bugnote_id=0034357#r13845
2016-01-08 08:44grayfoxNote Edited: 0034357bug_revision_view_page.php?bugnote_id=0034357#r13848
2016-01-08 08:46DetrosNote Added: 0034360
2016-01-08 08:55grayfoxNote Edited: 0034357bug_revision_view_page.php?bugnote_id=0034357#r13850
2016-01-08 09:02grayfoxNote Added: 0034361
2016-01-08 09:13grayfoxNote Edited: 0034361bug_revision_view_page.php?bugnote_id=0034361#r13852
2016-01-08 09:23grayfoxNote Added: 0034363
2016-01-08 09:43grayfoxNote Edited: 0034363bug_revision_view_page.php?bugnote_id=0034363#r13854
2016-01-09 00:58HededeIssue Monitored: Hedede
2016-05-22 00:01Shonai_DwellerNote Added: 0035266
2016-05-22 01:57Shonai_DwellerNote Edited: 0035266bug_revision_view_page.php?bugnote_id=0035266#r14232
2016-05-26 16:25Shonai_DwellerNote Edited: 0035266bug_revision_view_page.php?bugnote_id=0035266#r14240
2017-02-05 18:00braiamIssue Monitored: braiam
2017-08-03 05:29park66665Issue Monitored: park66665
2017-11-29 13:11DwarfuRelationship addedhas duplicate 0010251
2017-11-29 13:19DwarfuAdditional Information Updatedbug_revision_view_page.php?rev_id=14962#r14962
2017-11-29 13:21DwarfuAssigned To => Dwarfu
2017-11-29 13:21DwarfuStatusnew => confirmed
2018-03-19 10:35LociRelationship addedhas duplicate 0010644
2018-03-19 11:26George_ChickensNote Added: 0037971
2018-03-22 10:29LociRelationship addedhas duplicate 0010649
2018-04-05 11:36LociNote Added: 0038133
2018-06-03 19:05DwarfuNote Added: 0038428
2018-06-03 19:05DwarfuRelationship addedduplicate of 0009985
2018-06-03 19:05DwarfuStatusconfirmed => resolved
2018-06-03 19:05DwarfuResolutionopen => duplicate
2020-03-06 14:174maskwolfIssue End Monitor: 4maskwolf

2010-04-20 12:16   
This is an old bug that Toady's never been able to track down. If you had autobackups turned on, you may be able to restore your save to working condition: http://www.bay12forums.com/smf/index.php?topic=34936.0 [^]
2010-04-20 14:17   
Yeah, I can't walk into the site either.

I'm not that invested in the world; I was planning to gen a new one after the next bugfix comes out. Let me know if the save would help.
2010-04-20 14:38   
In the past the saves haven't been useful -- the save has already been corrupted, with no way to track down the cause. Thanks for asking though.
2010-07-03 03:22   
(edited on: 2010-07-03 03:37)
I recall being able to workaround the bug in 40d by disabling all liaisons via modding. Should try the same in this version too.

EDIT: wait, I don't remember humans having any diplomats or guild representatives for trade agreements, and the game crashes on a human city anyway. So my workaround is out of question :(

2010-07-03 05:05   
Murphy also mentioned at at 0002422:0009559 that he got this crash immediately after getting an Extra Item Occupancy crash. Possibly a clue.
2010-07-03 20:45   
(edited on: 2010-07-03 21:27)
There wasn't an Extra Item Occupancy _crash_. Just two nemesis crashes and the last line in errorlog was "extra item occupancy".

update: dug up old saves and tested them. It appears that the save got corrupted only about two game years ago. Can't think of a reason - there were hardly any significant events that year.

2010-07-15 03:10   
Just noticed an "Extra item occupancy" in my errorlog, but when I tried abandoning and going to adventure, it appears the save wasn't corrupted. I have to note that when I was getting this crash, I was using compressed saves, and now I don't.
2010-11-23 12:01   
Still occurring in .17, unfortunately.
2010-12-12 18:32   
Looks like I need to generate a new world. I never had a world crash at gen, but this one did. I should have known something was up!
Khym Chanur   
2012-02-28 22:31   
Got an example right here with a world gen'd with 0.34.03: http://dffd.wimbli.com/file.php?id=5737 [^]

Just press ">" and you'll get a Nemesis crash from trying to enter a human hamlet.
2012-03-11 19:29   
It would seem that one of the more main causes of this bug(from reading the descriptions of other ones, that were in more detail), would be elves. I am unsure of this, however, because of Khym Chanur's note, saying the Nemesis crash from a human hamlet.
I suggest asking others who had this bug to recall what was season it was(Dwarf Fortress mode), where they were going(adventurer mode), ect.
2012-03-11 20:05   
Interesting hypothesis. I'm going to look through the old Bug Reports forum and see how that's borne out. Elves can migrate to human settlements in world gen, so that doesn't rule anything out.
2012-03-22 21:46   
Just happened to me in 34.05. Just recently turned summer in the first year, with no RAW editing. It may have been a migrant thing. Going to try again, and see if the migrant wave causes the issue.
2012-03-22 22:15   
Strange... it did not happen the second time.
2012-04-20 15:41   
I'm getting this fairly regularly on my current fortress.
I can reload and go a few seasons more, then it happens again.
I don't *think* it's related to elves in my case, since the last time this happened the hippy traders just left (unless their liaison came after?)

my save folder seems to have the full complement of files, so the thread that footkerchief linked to does not appear to be relevant.
2012-05-06 21:16   
I've been getting this after abandoning a tantrum spiral. However, after deciding to start a new fort after this knocked my reclaim attempt back to near the beginning, it hit that new fort too, so it's not only on reclaim.

My suspicion is that it's something to do either with relationships between migrants from my old fort, or animals/NPCs who acquired a title for kills at the old fort. Of course, that's just a guess.

For now, on to a new world, and I'll get everyone killed before considering abandoning again.
2012-05-10 11:41   
yeah I'm starting to suspect it's something with migrants too.
since on a reload I tend to get migrants at around the same point that it crashed previously.
2012-05-11 05:48   
(edited on: 2012-05-11 05:49)
In case you're wondering, the "nemesis unit load failed" error message means that one of the unit-*.dat files in your fortress's directory (specifically, the one that contains a particular historical figure, generally one you've met previously) is either missing or corrupted.

2012-06-10 12:50   
I got this today in a two-year fortress (my 2nd one on that world) after surviving first goblin siege. According to my last save it happened during spring (those elves :D ) just around the time my miners managed to get a tunnel with river water to the border of map.

Instead of autosaving I was copying folders manually and according to forum (http://www.bay12forums.com/smf/index.php?topic=34936.0 [^]) it is not a good idea to do such things while game is running. But interesting is that both pre-siege and after-siege-and-crash saves have the same number of files.

I will try to continue and see what happens next.
2012-06-16 13:16   
I have a save where this happens in fortress mode, in version 34.11. The save was created with 34.08. (file available on request)

It is happening sometime during/after spring. And when this year started, a message box announcement popped up saying I entered the golden age. I don't know if that is related. My fort is 20 years old at the date of the crash (is that all a golden age is?).

I've mercilessly slaughtered the elves and seized their goods a few times... so I wouldn't doubt they would start attacking. And spring is their time for trade, so maybe attack too. So this seems to match the elves theory stated by others.

Also, I had my pop limit set to 80, and have 85 population, but some time last year, I changed the limit to 100, with no immigrants since. So it could be migrants related too.
2012-06-17 11:04   
Okay, here is my save, saved very close to the point when it crashes:

http://dffd.wimbli.com/file.php?id=6511 [^] 22.2 MB
2014-01-12 11:46   
I just received this error in the same situation as abramul did on v0.34.11. I'm running on Linux, Fortress Mode. I'm getting this error repeatedly in a fortress after having abandoned a previous fortress in the same region.
2014-08-06 07:39   
I've managed to get the Nemesis crash while walking through an elven settlement in Adventure Mode. Game mode is 0.40.03
http://dffd.wimbli.com/file.php?id=9312 [^]
2014-08-16 22:16   
i get this error when trying to enter my retired fort in adv mode.
2014-08-30 09:51   
Here's a save that reliably reproduces Nemesis Fail error.

There's a dwarven fortress Holycrypts I created some time ago. Now I retired it. I wanted to create a dwarven adventurer and Holycrypts was the only fortress available.
The game crashes whenever I try to create a dwarven adventurer, and everytime I try to enter the site as other race (human) adventurer, so I guess the game cannot load the site.

The fortress was created in 40.09.

http://dffd.wimbli.com/file.php?id=9563 [^]
2015-06-02 18:44   
Just encountered this for .40.24
Save here: http://dffd.bay12games.com/file.php?id=10901 [^]

You'll be in the keep of the local lord, any attempt to enter the town just to the right will cause the crash. This was probably one of the more impressive sites I'd ever seen, so it's kind of a shame.
Knight Otu   
2016-01-07 14:55   
grayfox posted a 0.42.04 save at 0009453.
2016-01-07 15:28   
I loaded grayfox' save in my vanilla DF 0.42.04 and found that:
- It is fort mode, winter of year 258. 80ish inhabitants, 70+ visitors and a flock of albatrosses.
- There is metric crapton of trees on the surface. DF eats my RAM raw.
- "item inaccessible" warning spam going on even though no civilian alert and even no burrows are set. Maybe they want to get to all those things on the surface - there seems to be no path from bed/door stockpile (I tried building those upstairs) but I didn't really figure the whole layout, lots of windy paths.
- One level of caverns is breached. 15ish books/scrolls, no real artifact.
- No crashes occurred in few days.

When did that loadfailing happen to you, grayfox? What were you doing during that time?
2016-01-07 18:06   
(edited on: 2016-01-07 22:12)
I had the surface blocked off after my defenses failed. They probably want the items on the surface. I wasn't going to allow them there until I could make it safe, but there's a lumber supply problem.

There should be several artifacts listed below the books and scrolls.

from what I can remember...
- Avuz Erushkathil, militia captain is "one of the first of her kind"... so I'm guessing it means she was born at worldgen. She became a werefox when one attacked my fortress. When the crash happened, Avuz (not werefox form at that moment) was killing a bunch of visitors on the surface. I'm not sure why. I had the dwarf separated from everyone else, but she escaped... just to kill a bunch of visitors...?
- A dwarf may have just been finishing an artifact when the crash happened, I don't know for sure.
- I think the werefox dwarf killed the previous year's liaison. Or a siege did so, I don't remember... either way, I think the liaison died.
- Tons of elves visiting. And many of the sieges were elves too. No elven caravans. I think there was only one early after embark.
- I had recently breached another cavern layer before the crash. Also discovered a downward passage.

2016-01-08 08:17   
(edited on: 2016-01-08 08:55)
The error popped up again.

- Building lots of walls
- Lots of jobs queued
- Werefox totally isloated underground with no escape path.
- Tons of elven visitors, like before
- Did not breach anymore cavern layers. Did not discover the downward passage

AND again. This time, seconds after unpausing, after a dwarf finished building a musical instrument artifact.

Both times, I was trying to build a wall overtop of up/down stairs

And then again. No artifacts being built this time.

2016-01-08 08:46   
@grayfox: There is a cap for visitors in init files now. Initial value is 100, I think, that's why you have so many of them if you haven't changed it.
2016-01-08 09:02   
(edited on: 2016-01-08 09:13)
Maybe I should lower that a bit

It happened again. I noticed a bunch of osprey women outside, which I never saw until now. I was not building anything over any stairs this time. I'm still not sure why the "item inaccessible" spam is happening. I tried forbidding all the stuff they couldn't access, but maybe I missed something.

I forgot to mention that this is my second fort on this world.

2016-01-08 09:23   
(edited on: 2016-01-08 09:43)
I uploaded a new save, since the crash is happening frequently now.

http://dffd.bay12games.com/file.php?id=11628 [^]

I think it's always happening, every time now, after the "construct 30 rock cabinets" order completes.

2016-05-22 00:01   
(edited on: 2016-05-26 16:25)
Here's a save with a guaranteed Nemesis Unit Load Fail crash. World created and played in 43.02.
http://dffd.bay12games.com/file.php?id=12059 [^]

1) Fast travel to Tattoorush just to the South-West
2) Drop out of Fast Travel at the entrance to the main town (the buildings list should indicate the presence of "The Palace of Planning")
Game will crash.

Fast travelling to the other main site in Tattoorush doesn't crash, but walking manually back North should produce a crash.

The characters in the party are all originally from Tattoorush, but started in the sewers underneath the fortress that you can see just across the big river to the South. Whenever you start a character as a peasant from Tattoorush you end up starting in the sewer.

There are various modifications to entity_default and creature_standard to tweak the basic races, but no major changes.

2018-03-19 11:26   
http://dffd.bay12games.com/file.php?id=13585 [^] This world started with corrupt areas which have the nemesis bug. Emetdastot, the Fresh Sword, the dwarf site, is the only tested site so far. I have tried creating multiple human adventurers there, but each of them have crashed the game.
2018-04-05 11:36   
According to Toady One, missing or corrupted unit-#.dat files should be logged and regenerated in v0.44.10 instead of crashing. While this does not fix the underlying problems causing the corrupt files, it should be much less painful for players. Besides, a number of potential causes (disk corruption, etc.) are beyond the control of the game.

( http://www.bay12forums.com/smf/index.php?topic=170101.msg7728502#msg7728502 [^] )
2018-06-03 19:05   
Toady resolved 0009985 for this issue, so I agree that we should consign this report as well to the archives, since the internal handling of nemesis units changed, and we can start a new report should the need arise with fresh saves, all under the new mechanics.