I forgot to add MainMenu scene to build settings.