Guilty pleas are not usually under oath.
Every single felony change of plea hearing I have represented a defendant in, federal or state, was done under oath. Every one. No exceptions.