Skip to content

Trouble shooting

This document describes the most common errors encountered when working with AWSIm or autoware.

Trouble Solution
Massive output of Plugins errors git clone the AWSIM repository again
error : RuntimeError: error not set, at C:\ci\ws\src\ros2\rcl\rcl\src\rcl\node.c:262 Set up environment variables and config around ROS2 correctly. For example:
- Environment variables
- cyclonedds_config.xml
$ ros2 topic list is not displayed - your machine ROS_DOMAIN_ID is different
- ROS2 is not sourced
Using AWSIM on Windows and Autoware on Ubuntu.
$ ros2 topic list is not displayed.
Allow the communication in Windows Firewall
self-driving stops in the middle of the road. Check if your map data is correct (PointCloud, VectorMap, 3D fbx models)
Connecting AWSIM and Autoware results in bad network Make ros local host-only. Include the following in the .bashrc (The password will be requested at terminal startup after OS startup.)

export ROS_LOCALHOST_ONLY=1
export RMW_IMPLEMENTATION=rmw_cyclonedds_cpp

if [ ! -e /tmp/cycloneDDS_configured ]; then
sudo sysctl -w net.core.rmem_max=2147483647
sudo ip link set lo multicast on
touch /tmp/cycloneDDS_configured
fi
Lidar (colored pointcloud on RViz ) does not show. Reduce processing load by following command. This can only be applied to Autoware's awsim-stable branch.

cd <path_to_your_autoware_folder>
wget "https://drive.google.com/uc?export=download&id=11mkwfg-OaXIp3Z5c3R58Pob3butKwE1Z" -O patch.sh
bash patch.sh && rm patch.sh
Error when starting AWSIM binary. segmentation fault (core dumped) - Check if yourNvidia drivers or Vulkan API are installed correctly
- When building binary please pay attantion whether the Graphic Jobs option in Player Settings is disabled. It should be disabled since it may produce segmentation fault errors. Please check forum for more details.
Initial pose does not match automatically. Set initial pose manually.

Unity crashes and check the log for the cause of the error. Editor log file location
Windows :
C:\Users\username\AppData\Local\Unity\Editor\Editor.log
Linux :
~/.config/unity3d/.Editor.log

Player log file location
Windows : C:\Users\username\AppData\LocalLow\CompanyName\ProductName\output_log.txt
Linux :
~/.config/unity3d/CompanyName/ProductName/Player.log

See also : Unity Documentation - Log Files
Safe mode dialog appears when starting UnityEditor.

or

error : No usable version of libssl was found
1. download libssl
$ wget http://security.ubuntu.com/ubuntu/pool/main/o/openssl1.0/libssl1.0.0_1.0.2n-1ubuntu5.13_amd64.deb

2. install
sudo dpkg -i libssl1.0.0_1.0.2n-1ubuntu5.13_amd64.deb
(Windows) Unity Editor's error:Plugins: Failed to load 'Assets/RGLUnityPlugin/Plugins/Windows/x86_64/RobotecGPULidar.dll' because one or more of its dependencies could not be loaded. Install Microsoft Visual C++ Redistributable packages for Visual Studio 2015, 2017, 2019, and 2022 (X64 Architecture)
(Windows) Built-binary or Unity Editor freeze when simulation started Update/Install latest NIC(NetworkInterfaceCard) drivers for your PC.
Especially, if you can find latest drivers provided by chip vendors for the interfaces (not by Microsoft), we recommend vendors' drivers.