PCL version 1.12.1 does not fix the problem yet. You need to compile and install PCL from the master branch or 1.30.0 newer version.
For more details, you can click the link: https://github.com/PointCloudLibrary/pcl/issues/5063