CARLA F.A.Q.

For more issues related to F.A.Q. see question list.

What is the recommended hardware to run CARLA?

CARLA is a very performance demanding software, at the very minimum you would need a computer with a dedicated GPU capable of running Unreal Engine. See Unreal Engine's recommended hardware.

What is the expected disk space needed for building CARLA?

Building CARLA from source requires about 15GB of disk space, not counting Unreal Engine installation.

However, you will also need to build and install Unreal Engine, which on Linux requires much more disk space as it keeps all the intermediate files, see this thread.

I downloaded CARLA source from GitHub, where is the "CarlaUE4.sh" script?

There is no "CarlaUE4.sh" script in the source version of CARLA, you need to follow the instructions in the documentation for building CARLA from source.

Once you open the project in the Unreal Editor, you can hit Play to test CARLA.

Can I connect to the simulator while running within Unreal Editor?

Yes, you can connect a Python client to a simulator running within Unreal Editor. Press the "Play" button and wait until the scene is loaded, at that point you can connect as you would with the standalone simulator.

How can I create a binary version of CARLA?

In Linux, the recommended way is to run make package in the project folder. This method makes a packaged version of the project, including the Python API modules. This is the method we use to make a release of CARLA for Linux.

Alternatively, it is possible to compile a binary version of CARLA within Unreal Editor, open the CarlaUE4 project, go to the menu "File -> Package Project", and select your platform. This takes a while, but in the end it should generate a packaged version of CARLA to execute without Unreal Editor.

Why do I have very low FPS when running the server in Unreal Editor?

UE4 Editor goes to a low performance mode when out of focus. It can be disabled in the editor preferences. Go to "Edit->Editor Preferences->Performance" and disable the "Use Less CPU When in Background" option.

Fatal error: 'version.h' has been modified since the precompiled header.

This happens from time to time due to Linux updates, and for that we have a special target in our Makefile

  $ make hard-clean
  $ make CarlaUE4Editor

It takes a long time but fixes the issue.