This is a minimal working example of the absence of Octomap in Rviz.
A rosbag file from real hardware: https://drive.google.com/file/d/1sh9bcAFHHjpaqkzKK5tTZy5rpwmwqu2T/view?usp=sharing
A rosbag file from Gazebo simulator: https://drive.google.com/file/d/1bbdZYf_ZKcdgx5MjOosDnxi1HM8anPra/view?usp=sharing