The term ocular migraine was once used to describe migraine episodes with visual disturbances. While it's sometimes used interchangeably with the term retinal migraine, ocular migraine is actually an umbrella term for both retinal migraine and migraine with aura.
Aside from sun exposure, there are several other reasons you may experience temporary loss of vision, including:
* migraine
* retinal tear
* retinal detachment
* blockage of the blood vessel supplying the retina