Closed vsaulue closed 3 years ago
Thanks for reporting and coming up with this detailed information on the error context. It was very helpful in understanding what was going on. Yes, this looks like a migration issue. It seems like your pawn was about to start to write that tech down when the file was saved, but after the update it can no longer be done at the regular study desk. You'd need a network terminal and a server. This nullifies the selected tech, causing the job to fail before it even started. I'll see if there's a way to prevent this from happening in the future, as there are other saving/loading situations that could cause the same deadlock. But as for your save file, the fix is pretty simple:
Hi, thanks for the quick answer !
Your fix doesn't solve my issue: the game keeps trying to requeue the exact same job again. No worry for my savefile: for now I just removed the tech from the list of things to document.
After some further testing, it's not a migration issue. I was able to reproduce on a new game with Vanilla techs only.
The bugged pawn:
From what I see in the source code and the savefiles: both the technologies to document, and the techologies to research ends up in the same "homework" list. It looks like this specific situation confuses the "document" workgiver/jobdriver...
See: zipped savefile (it should throw the exception when loaded) full log
You're right! That set of projects on the homework was confusing the document WorkGiver. But it was just poorly equipped to handling the new bill filters. It's fixed, I'm updating the mod now.
What's happening
A pawn attempts to document some spacer tech on a study bench, throwing exceptions. The game repeatedly tries to queue this invalid documentation task on every tick, leaving the pawn stuck doing nothing.
Main errors:
+ full log
Additional info:
Maybe related (same stacktrace): Error when documenting tech.
Steps to reproduce:
I've failed all my attempts at reproducing on a new lightly modded game. All I can do is upload my main savefile for now, which remains bugged.