Get level name by index without loading it

Is there a way to get a level name by index before it is loaded without manually keeping a dictionary?

I’d like to be able to do something like:

string levelName = Application.GetLevelNameByIndex(2)

Only in editor - as per this question.

Vote for it here, it’s a bizarrely absent feature.

Note that if you want to show text to the user, you probably want a long name, a description, and a screenshot anyway.

create a bootstrap scene and load all your persistant objects in there, then never go to that scene again.