You could check ubuntu version by 'cat /etc/lsb-release' in terminal.
Bundled vmware tools is dropped for most of Ubuntu guest, please install open-vm-tools instead, 'sudo apt install open-vm-tools'. also there's some problem for wayland, so please do not select 'ubuntu on wayland' as user logging in.
My Ubuntu version is 18.04.
I did sudo apt install open-vm-tools and it installed without any problems, but host->guest copy paste is still not working.
Got it working now by doing sudo apt install open-vm-tools-desktop instead.