I was trying to install Epic Games on my Lutris installation on my old laptop and ran into the following error message:
Exit with return code 256
(This appears to be a common issue and is not necessarily limited to Epic Games.)
I actually removed my default Ubuntu package which was a few minor versions behind the official packages. I then installed the latest version of Lutris directly using a .deb file from their website.