Yeah, I’m not sure why does_asset_exist()
doesn’t work for levels. Seems dumb. This was my workaround:
if unreal.load_object(None, "/Game/Maps/MyMap.MyMap"):
[My Code]
else:
print("No map found!")
Yeah, I’m not sure why does_asset_exist()
doesn’t work for levels. Seems dumb. This was my workaround:
if unreal.load_object(None, "/Game/Maps/MyMap.MyMap"):
[My Code]
else:
print("No map found!")