Since upgrading to Sonar X3, I've been having this issue, and have just managed to narrow it down to being a problem caused by Creative's Asio drivers on my X-Fi Titanium HD.
Previously, I was using MC6 in MME driver mode, and simply turning off WYH fixed this issue, which I found out by running X3 in MME to test, so WYH doesnt seem to be the issue.
While running in Asio mode, I tried turning off one Asio driver at a time, and trying each one separately, and narrowed down the issue to being caused by the driver 'Creative ASIO Mix FL'. This is the only driver that enabled recording everything including the sound from other tracks and the metronome, and anything going in through the microphone input on the sound card.
When I also tried only selecting the Mic ASIO driver for my input, this allowed it to only ghost record my piano with no audio during recording, but the notes recorded and could be played back after the recording was done, but obviously this isnt any good since I cant hear it while recording.
I also tried manually selecting different outputs while just the mic input was selected, but no audio would play from the piano while it was recording.
I sent a support email to both cakewalk and creative, but I doubt this issue will be fixable, it just seems to me that the ASIO drivers for my card arent going to work, but I'll wait for any replies.
I suppose I should also start saving for a dedicated audio interface, would anyone be able to recommend something that would be better, and more importantly functional in ASIO mode over my X-Fi Titanium HD? For now I'll just have to use MME mode for recording piano + vocals.