I figured out a solution that worked for me:
- System Preferences
- Battery
- Click Battery on the left-side panel
- Uncheck “Automatic Graphics Switching”
Upon starting the epic games launcher again, it worked for me and didn’t crash anymore. Hope this helps.