Can't build projects for WebGl, 'Robotics' namespace cannot be found?

But debug is ok, play is all right.


ROS TCP Connector does not support WebGL - it has to connect to a TCP socket, which is impossible in a WebGL build due to web browser security restrictions.

(If you just want to use other parts of the package and don't care about connecting to ROS, you can open com.unity.robotics.ros-tcp-connector/Runtime/Unity.Robotics.ROSTCPConnector.asmdef and tick the "WebGL" checkbox. And if you really want to try it, in theory it should be possible to rewrite ROSConnection to connect using the WebSocket library...)