RobotecAI / ros2-for-unity

High-performance ROS2 solution for Unity3D
Apache License 2.0
448 stars 58 forks source link

Editor crashing after mismatching ROS2 distributions #37

Open kielczykowski-rai opened 2 years ago

kielczykowski-rai commented 2 years ago

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:

  1. Build R2FU asset for ROS2 foxy version
  2. Run Unity Editor with ROS2 galaxy sourced
  3. 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):

adamdbrw commented 2 years ago

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.