If you're hiding as your only form of 'advantage' to trigger a sneak attack, the tooltip shows that you will have advantage on that attack, and a rogue's sneak attack *should* trigger.
However, the log read
- Serif used Sneak Attack (Ranged) on Fank.
- Serif lost Condition: Hiding.
- Fank was hit for 12 Piercing Damage.
I did NOT have any form of disadvantage. Sneak Attack reads that any form of disadvantage causes it to not work, even with every other advantage.
I WAS hiding in line-of-sight of the enemy in dim lighting, but I succeeded my Stealth check.
The ROLL LOG on 'Frank was hit for 12 Piercing Damage' reads as follows:
Attack Roll:18 (1d20, Advantage) + 1 + 2 (Proficiency) + 4 (Dexterity Modifier) = 25
Damage Roll: 7 (1d8 Piercing) + 1 + 4 (Dexterity Modifier) = 12
No sneak attack damage was done, when advantage with no disadvantage should allow it to trigger. I believe this is similar to the Guerilla bug in Divinity Original Sin 2. Where it's supposed to apply a 50% sneak attack bonus damage, but only works with basic attacks, not "Active Skill" attacks.
Since "Sneak Attack" in Baldur's Gate 3 works much like a Divinity Original Sin 2 "Active Skill" I think the checking for Sneak Attack bonus damage is done once the ability connects, and the attack checking is done at the moment of the mouse click. So the attack has advantage, but the "using the ability" breaks the stealth and when the damage is calculated, it checks if the attacker has advantage after breaking stealth, causing it to not trigger when it should have.