The bug was indeed related to library. It shared a zone with Gear, Archive, Save and Haven. And unfortunately Library decided to discard the entire content of the zone when it was done being played. (the other cards keep reference to specific cards to pull from that zone at a later time).
Anyway, will be fixed in the next release.