Unreal Editor 5.0.3 crashes at start up on Mac (15.3.1, M1 Max)

Commenting out these 2 lines fixed the crash. However, the Unreal Engine menu no longer works. Acceptable workaround for me.