I am nearing the end of the game, and as someone who romanced Shadowheart, I want to make sure I get to see her epilogue. I know there's currently a glitch that causes it to not play under certain circumstances but I do not know which ones.

I've heard basically
Karlach's ending, whichever way it goes, prevents Shadowheart's from playing.
Is there a way to prevent this? Are there any other triggers I should watch out for?

Thanks for any help you can give!