E-0501 and E-0502 mean Easy Anti-Cheat is not running, corrupted or blocked by other software. Launch only through Steam, stop your antivirus, verify the files and restart your PC.
What it means
Easy Anti-Cheatisn’t running, is corrupted or is blocked by third-party software.
Fix
Launch the game only through Steam.
Stop your antivirus.
Verify file integrity through Properties in Steam.