Not a bug. Leaving the beach area without interacting with Shadowheart causes her to wake up on her own. Since she's easily the most essential companion plotwise there's a lot of opportunities to recruit her later on and you can still get a full party pretty quickly.