Learning to exist without a map