They both are made on game maker studio 2, so that sort of error can only be some sort of gms bug(it became weird recently). Try running gms2 games from other developers.