I encountered another question after I start the application from the path E:\carla\Build\UE4Carla\0.9.13-1-g8854804f4-dirty\WindowsNoEditor
The error occurs when I want to run any python operation file such as DReyeVR_AI.py or dynamic_weather.py, it failed. The error code is:
File "DReyeVR_AI.py", line 140, in main
ego_vehicle.set_autopilot(False, traffic_manager.get_port())
UnboundLocalError: local variable 'ego_vehicle' referenced before assignment
Any possible reason for this?