I think that's what we call a chainring and cog. I swapped both to no avail. I believe the issue is the crank arm spider which attaches to the chainring (front sprocket I think?) is slightly bent, not to a visible degree but enough to throw off the chainring rotation. So I'm replacing that, but they're sooo hard to find not as part of a full crankset and match to the bottom bracket.
Building maintenance. Trust me. It's awful.