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.