Other than that it can be a symptom of migraine, retinal migraine,
ophthalmic migraine, magnesium deficiency, infectious mononucleosis (if you have a recent history of flu like symptoms), chronic fatigue syndrome, hangover, side effects of certain drugs etc.
Please consult your PCP for primary examination followed by proper referral. You need to consult an eye specialist and a neurologist.
Hope this helps. Take care!