Yes.Does attacking with a spiritual weapon count for negating invisibility?
I'd be the exact reverse, but I don't go by the (IMO bad) 5e idea that just casting a spell kills invis. regardless what that spell might be.I'd rule that casting it would but using it to attack wouldn't. But that's me.
this is how I run itI'd be the exact reverse, but I don't go by the (IMO bad) 5e idea that just casting a spell kills invis. regardless what that spell might be.
Were it me you could cast it just fine, but the moment you attacked with it bang goes your invis.

(Dungeons & Dragons)
Rulebook featuring "high magic" options, including a host of new spells.