Collectively, the optnΔ5n/Δ5n and p62Δ37n/Δ37n mutant zebrafish produce no functional Optn or p62, respectively, and the loss of these ubiquitin receptors does not induce detectable developmental defects that could interfere with the use of the mutant lines in infection models. Here, SQSTM1 is linked to infection.