Could be a Corneal Abrasion or Corneal Ulcer?
When I was in Costa Rica, ended up with a case of conjunctivitis which irritated a Corneal Abrasion (caused by leaving lenses in too long), leading to a Corneal Ulcer and an eye that would churn out masses of gunk to the extent I’d have to prise it open when I woke up~ my first view in the morning was tendrils of eye snot through a cloudy haze.
Went to a hospital to get it seen to and ended up with eye drops I had to take every hour for 48 hours, including through the night… as I was in a shared dorm in a hostel at the time, I arranged to stay on the couch, so as not to disturb my fellow backpackers.
Trust me, you don’t want a case of heavy eye snot, though it is pretty funny looking back…