I don't speak Chinese, but in the past I took Chinese language course, 9 levels, similar to elementary school grade 2 or 3, never practice it, mostly forgotten.
For a vertical drama, I have low expectation, but I read that He Jian Qi learn cantonese for a month before filming Love at First Sight. That's admirable of him. And they mostly recruited actor that's suitable for the setting. Like My Sweet Home has southeners being casted.
For normal-length drama, I have high expectation. After all, I'm going to spend 20-30 hours or more watching them. Professional voice actor is the best choice if the actor's voice is not suitable or lacking.. Zeng Shun Xi has self-awareness and mostly used voice actor, for example in Justice is Mine as a Hongkonger (not that I watch it). He's smart, knowing to borrow other people's strength to become his best self.
I don't really pay attention to intonation or accent, but Beijingers love to add 儿 (er/r) on everything. That's kinda nice to listen to. Just play it by ears. Shanghai people doesn't seem to have accent, but a lot people from every regions comes to Shanghai to work, study, or shopping. So they'll probably will talk in standard Chinese? since everyone comes from different places and it'll be hard to understand each others with accents. Hongkongers speaks cantonese passionately with high spirit so it's easy to differentiate them. And they sounds harsher, like maybe a bit rude? Taiwanese seems to speak slower and more soft-spoken as compared to mainland China or Hongkong's people. I don't know if it's because I only watch their romance drama. Well, I could be wrong. But I do replay mainland China dramas a lot because I can't catch up, but I never replay any Taiwanese drama midway.