Preview gets stuck loading and freezes whole app

Ive been working on my game for a while now and yesterday when i tried to run a preview to test out new ui it got stuck on the loading screen and completely froze my app. i tried again over and over again and even checked on a different device and it still didnt work. I tried to test if other previews from my other games did the same, but no, only the game im trying to work on had this bug.