diff --git a/Carla.uplugin b/Carla.uplugin index 4f39bf45e..611ef5c3c 100644 --- a/Carla.uplugin +++ b/Carla.uplugin @@ -1,7 +1,7 @@ { "FileVersion": 3, "Version": 1, - "VersionName": "0.2.0", + "VersionName": "0.2.1", "FriendlyName": "CARLA", "Description": "", "Category": "Science", diff --git a/Source/Carla/Game/CarlaVehicleController.cpp b/Source/Carla/Game/CarlaVehicleController.cpp index 09058d46a..9f2185b8b 100644 --- a/Source/Carla/Game/CarlaVehicleController.cpp +++ b/Source/Carla/Game/CarlaVehicleController.cpp @@ -97,6 +97,7 @@ void ACarlaVehicleController::Possess(APawn *aPawn) void ACarlaVehicleController::BeginPlay() { + check(CarlaPlayerState != nullptr); CarlaPlayerState->Images.Empty(); const auto NumberOfCameras = SceneCaptureCameras.Num(); if (NumberOfCameras > 0) {