Ukraine has had success against mostly unarmored and a few lightly armored Russian ships (and let's face it, these are small ships compared to carriers) in the black sea because the front lines are there and they can launch from a port, travel 5 miles, and hit one of these ships. That's a completely different situation.
Torpedoes cannot be launched from manned / unmanned surface vessels?
Wow.
Good job China isn't getting into water surface drone swarms.
Still, easy to see why close waters near Iran keep the US carrier groups away.
Now I'm not saying defense against UUVs is impossible, but plenty of defenses against torpedoes don't work against them.
Note also that part of the approach of drone warfare is sheer quantity. Stopping 1 may be trivial, stopping 5 may be doable, but stopping 20 simultaneous ones might already be too hard to do consistently and repeatedly.
You assert "plenty of defenses against torpedoes don't work against [UUV]". Based on what? What is this hypothetical property of a UUV that is superior to a torpedo?
A UUV with sufficient range and warhead is going to be big and heavy. Long-range torpedos weigh 2 tons each for a good reason. Calling something a "drone" or "UUV" does not imbue it with magic physics. It still has to cross some long span of water with enough speed and a large enough warhead and a guidance package capable of finding the target.
What kind of vessel are you going to use to bring these UUV within range of the target? 20 torpedos would be almost the entire magazine depth of an attack submarine. Surface combat ships carry even fewer.
You seem to be ignoring all evidence from how modern naval systems actually work when discussing your hypothetical UUVs.
This is the thing everyone fails to understand about carrier warfare: anything you can use to attack the carrier can be outranged by the carrier because it can just employ the same weapons but from airplanes that fly closer to you.