The exact function of XBP1 and other UPR pathways in regulation of retinal metabolism during diabetes remains to be elucidated. The gene discussed is XBP1; the disease is diabetes mellitus.