Assertion failed: ColorRT

I’ve been working on a program for some time and did a build about 2 weeks ago and everything went perfectly fine. Since then I have updated to VS 2019 and ensured to install all the required files needed to build from UE4. Today when I build it all went smooth and the build was successful without any issues. After launching it opens the first menu and everything is okay but once I click the button to open the new level it gets a Fatal Crash and gives the following error Assertion failed: ColorRT. I have no idea what it could be any help! The program runs fine inside the editor or in standalone mode but not once build. Thank you