When the targeted hero turns invulnerable or hidden before projectile impact, Unstable Concoction does apply the aoe effect still. But if it blows up on Alchemist, it doesn't apply its aoe effect when Alchemist is invulnerable or hidden.