lgsvl / simulator

A ROS/ROS2 Multi-robot Simulator for Autonomous Vehicles
Other
2.3k stars 780 forks source link

Simulator executable crashes on Ubuntu 20.04. Also building simulator from Unity project returns error #2011

Open AdelinaK opened 2 years ago

AdelinaK commented 2 years ago

Hello. I tried to use the SVL simulator with Apollo 5.0 as described in the documentation but each time I try to run a simulation it starts but after 1-2 seconds the simulator executable crashed and closes. Also I tried to access the Visual Editor but it crashes too. I assumed that there is a problem with the prebuilt version and I tried to build it myself in Unity in development mode but after half an hour or so the build existed with this error. Any idea on how to solve this? Thank you!

Screenshot from 2022-03-03 21-34-31

carTloyal123 commented 2 years ago

Looks like the VulkanSDK might not be installed correctly. I would suggest reinstalling the SDK per the SVL documentation and see if that helps. You could also check your Unity Project settings and change the desired rendering framework to something besides Vulkan. (OpenGL I think on Linux)

Also, the Unity editor seems to work much better in Windows if that is an option.