Theoretically, the legacy is saved between rebirths and gives you as many nodes as the hero's maximum level. If they've disappeared, it's a bug. I'll try to release a hotfix if I find the bug causing it. Thanks for the feedback.