Mice with IRE1α- but not Xbp1-deficient macrophages showed greater survival than controls when implanted with B16.F10 melanoma cells. Here, XBP1 is linked to melanoma.