High UBD conferred protection in melanoma (SKCM, HR = 0.891) and sarcoma (SARC, HR = 0.899) but predicted poor outcomes in uveal melanoma (UVM, HR = 1.298) and pancreatic adenocarcinoma (PAAD, HR = 1.143).UBD positively correlated with the IFN-γ-dominant immune subtype (C2), characterized by CD8+ T cells/M1 macrophages. Here, CD8A is linked to uveal melanoma.