I have had the same error. For me it has fixed to update to Engine Version 5.0.2 and updating Lyra. It has an update inside of the Epic Games Launcher. After downloading it you habe to create a new project of lyra. Don’t convert in place, better open a copy to be on the save side.