System is attempting to load a plugin, but detected an incorrect plugin type
in my code i got an error [Err] [gazebo_shared.cc:46] System is attempting to load a plugin, but detected an incorrect plugin type. Plugin filename[libgazebo_ros_ray_sensor.so]. I am using gazebo11 on RoS2 Humble. I have made the apt changes to the URDF files, CMake file, packages.xml file and the launch files to no avail. I tried using ultrasonic sensors but then switched. Most online resources are failing.