When you miss an attack as an [Arcane Archer fighter](https://www.dndbeyond.com/classes/fighter#ArcaneArcher), the Curving Shot feature (XGtE, p. 28) lets you use a bonus action to reroll that attack against another creature within 60ft of the first.

> 
> ### Curving Shot
> 
> 
> At 7th level, you learn how to direct an errant arrow toward a new target. When you make an attack roll with a magic arrow and miss, you can use a bonus action to reroll the attack roll against a different target within 60 feet of the original target.
> 
> 
> 

Would you need to be able to see the second target when rerolling this attack?

I imagine that if you know the second target is there it would be similar to attacking an invisible target, and thus be with disadvantage.

Would it be possible to hit a second target if you didn't know they were there?