Yes. If you want to transfer RMB from account in HK to account in China, both account must have identical name.
In addition, even if both AC(s) match with their Chinese name, if the spelling of both names are different, i.e., Wong VS Huang, the transfer cannot be proceeded.
From my experience, even if the names & spelling match, sometimes transfer cannot be done due to unknown reasons;
My advice is: try to transfer funds other than RMB to China. It's safer and much faster than transfering in RMB.
But of course, this requires you to do exchange in China's bank.
In addition, please also note that if you transfer fund from a multi-holder(s) A/C, i.e., 2 person holder A/C, you must transfer to an identical 2 person A/C.
A+B = A+B
A+B cannot be transferred either to A or B in China;
similarly,
A or B cannot be transferred to A+B A/C in China