If the target creature is an illegal target by the time Unlicensed Disintegration tries to resolve, the spell won't resolve. It won't deal damage to any player. If the target is legal but not destroyed (most likely because it has indestructible), its controller is dealt 3 damage.

Artwork
Loading artwork…
Unlicensed Disintegration
Starter Commander Decks · #255 · EN
Nonfoil—Foil—
Card rules
Destroy target creature. If you control an artifact, Unlicensed Disintegration deals 3 damage to that creature's controller.
"I'd stand back if I were you."
Uncommon · Illustrated by Izzy
Format legality
Brawl Legal
Commander Legal
Competitive Brawl Legal
Duel Legal
Gladiator Legal
Historic Legal
Legacy Legal
Modern Legal
Oathbreaker Legal
Pioneer Legal
Timeless Legal
Tlr Legal
Vintage Legal
Alchemy Not Legal
Future Not Legal
Old School Not Legal
Pauper Not Legal
Pauper Commander Not Legal
Penny Not Legal
PreDH Not Legal
Premodern Not Legal
Standard Not Legal
Standard Brawl Not Legal
Rulings
Published rulings from the downloaded Scryfall catalog. Source card record · Rules and interactions
Whether or not you control an artifact is checked only after the creature is destroyed while Unlicensed Disintegration is resolving. For example, if you destroy a Fairgrounds Warden that exiled your artifact creature, Unlicensed Disintegration deals 3 damage to Fairgrounds Warden's controller.