ros2-for-unity
ros2-for-unity copied to clipboard
Editor crashing after mismatching ROS2 distributions
Describe the bug When compiling Ros2ForUnity asset and launching Unity Editor with different distro sourced, the Editor crashes without any log info.
To Reproduce Steps to reproduce the behavior:
- Build R2FU asset for ROS2 foxy version
- Run Unity Editor with ROS2 galaxy sourced
- Run simulation with example talker included in scene
Expected behavior The Editor doesn't die and logs information that ROS2 distros has been mixed.
Desktop (please complete the following information):
- OS: Ubuntu20.04
- ros2 distro foxy/galactic
- ros2-for-unity version 8bd00f3ce5f2da1e67812cd2d2f4cdbdba584e91
- ros2cs version cbb0e00c773fd45fca9c5d64d27e20f04be53fff (preload_typesupport branch)
- ros2 dds middleware w/e
- ros2 environment setup single pc
To investigate: how to find out which distribution plugins belong to. If it is not possible in a nice manner (e.g. without assumptions or dirty hacks), consider providing distro info file as part of the Asset build.