We prove a generalized 2-categorical Riemann-Roch theorem that recovers those of Shklyarov [Shk13] and Petit [Pet13] as well as spectral generalizations. The theorem is a compatibility result between traces and pairings under certain 2-categorical dualizability and compactness conditions. One can view the result as an instantiation of a 2-dimensional generalized cobordism hypothesis. This continues the authors' program of recognizing structural results about Hochschild homology as arising quite generally from traces in 2-category theory.