The function of UNC13D (unc-13 homolog D, Ensembl gene identifier ENSG00000092929) is as follows. Plays a role in cytotoxic granule exocytosis in lymphocytes. Required for both granule maturation and granule docking and priming at the immunologic synapse. Regulates assembly of recycling and late endosomal structures, leading to the formation of an endosomal exocytic compartment that fuses with perforin-containing granules at the immunologic synapse and licences them for exocytosis. Regulates Ca(2+)- dependent secretory lysosome exocytosis in mast cells. .