AttributeError: 'World' object has no attribute 'light_manager'


I’ve got an issue with the LightManager. I would like to use it, but i am getting an error.

client = carla.Client(“localhost”, 2000)
client.set_timeout(5.0) = client.get_world()
manager =

According to the error message: ‘World’ object has no attribute ‘light_manager’

Did something change in the use of lightmanager without updating documentation or it’s my fault?


1 Like


I am very new to CARLA, and i am trying some commands from the tutorial and facing the same issue.

Traceback (most recent call last):
File “C:/A/CARLA/carla/PythonAPI/examples/”, line 24, in
lmanager = world.get_light_manager()
AttributeError: ‘World’ object has no attribute ‘get_light_manager’

Process finished with exit code 1

Are u still facing the Issue ?


I raised this issue on github

The function name is get_lightmanager()