Let $G$ be a $p$-adic group, ie. the group of $F$-points of some connected reductive group over $F$, where $F$ is a $p$-adic field. We consider complex smooth representations of $G$. Any irreducible representation of $G$ has a central character. Assume that $\pi$ and $\pi'$ are two irreducible representations of $G$ with different central characters. Is it true that all the Ext groups $\mathrm{Ext}^i_G(\pi,\pi')$ vanish?
It is trivially true for $i=0$, and for $i=1$ it follows from the fact that any short exact sequence
$$0 \to V' \to V \to V'' \to 0$$
splits when $V'$ and $V''$ have central characters which are different.
How about the case $i\geq 2$?