Yellow gunk is normally associated with puss,which means that the cells defending the eye (eosinophils) are dying from overeating bacteria hence there's a bacteria infestation in the eye. I suggest you use an antibiotic eye drop,that should help.
Didn't find the answer you were looking for?