In a Python script I am creating levels. Upon rerunning the script I’d like to check for existing levels to avoid overwriting.
unreal.EditorAssetLibrary.does_asset_exist()
and unreal.EditorAssetSubsystem.does_asset_exist()
don’t appear to work for levels (according to documentation) but are not providing an alternative.
What would be an alternative command, if any?