diff --git a/Content/Blueprints/OptiXObjects/OptiXLaserActor_Pickup.uasset b/Content/Blueprints/OptiXObjects/OptiXLaserActor_Pickup.uasset index c3c16745e46e0796237b9e67597f35c99bcd5a95..e45f66d97eecdaf0f9d573321f6a7653256fded7 100644 Binary files a/Content/Blueprints/OptiXObjects/OptiXLaserActor_Pickup.uasset and b/Content/Blueprints/OptiXObjects/OptiXLaserActor_Pickup.uasset differ diff --git a/Content/Blueprints/OptiXObjects/SelectableLensBP.uasset b/Content/Blueprints/OptiXObjects/SelectableLensBP.uasset index cffc8b1ed06d89da1964084f34b6b833bcbb035d..bbb787bd6c9567ff024291f596aeb1c06b6fdc2a 100644 Binary files a/Content/Blueprints/OptiXObjects/SelectableLensBP.uasset and b/Content/Blueprints/OptiXObjects/SelectableLensBP.uasset differ diff --git a/Content/Blueprints/SelectableActorBP.uasset b/Content/Blueprints/SelectableActorBP.uasset index 5e64d5162030168256f6cba1e6e7a094b628f555..bf7a8c49fd902a609e8c63d879173d1acd41bef4 100644 Binary files a/Content/Blueprints/SelectableActorBP.uasset and b/Content/Blueprints/SelectableActorBP.uasset differ diff --git a/Source/OptiX/Private/OptiXCameraActor.cpp b/Source/OptiX/Private/OptiXCameraActor.cpp index fc68d1ae6889d3f19511ce10ce258fdcac9b485b..05ab4e436a26cf8c361b4400adf8b10a6f911d76 100644 --- a/Source/OptiX/Private/OptiXCameraActor.cpp +++ b/Source/OptiX/Private/OptiXCameraActor.cpp @@ -48,7 +48,7 @@ AOptiXPlayerCameraManager::AOptiXPlayerCameraManager(const FObjectInitializer& O { UE_LOG(OptiXPluginCameraActor, Display, TEXT("Optix Camera Manager Constructor!")); - SceneCaptureComponent = ObjectInitializer.CreateAbstractDefaultSubobject<USceneCaptureComponent2D>(this, TEXT("SceneCaptureComponent0")); + SceneCaptureComponent = ObjectInitializer.CreateDefaultSubobject<USceneCaptureComponent2D>(this, TEXT("SceneCaptureComponent0")); RootComponent = SceneCaptureComponent; SceneCaptureComponent->bCaptureEveryFrame = false; SceneCaptureComponent->bCaptureOnMovement = false; @@ -59,14 +59,14 @@ AOptiXPlayerCameraManager::AOptiXPlayerCameraManager(const FObjectInitializer& O //SceneCaptureComponent->HideActorComponents(UGameplayStatics::GetPlayerController(GetWorld(), 0)); //SceneCaptureComponent->HideActorComponents(UGameplayStatics::GetPlayerPawn(GetWorld(), 0)); - SceneCaptureCubeComponent = ObjectInitializer.CreateAbstractDefaultSubobject<USceneCaptureComponentCube>(this, TEXT("SceneCaptureComponentCube0")); + SceneCaptureCubeComponent = ObjectInitializer.CreateDefaultSubobject<USceneCaptureComponentCube>(this, TEXT("SceneCaptureComponentCube0")); SceneCaptureCubeComponent->SetupAttachment(SceneCaptureComponent); SceneCaptureCubeComponent->bCaptureEveryFrame = false; SceneCaptureCubeComponent->bCaptureOnMovement = false; SceneCaptureCubeComponent->HideActorComponents(this); - PostProcessComponent = ObjectInitializer.CreateAbstractDefaultSubobject<UPostProcessComponent>(this, TEXT("PostProcessComponent0")); + PostProcessComponent = ObjectInitializer.CreateDefaultSubobject<UPostProcessComponent>(this, TEXT("PostProcessComponent0")); PostProcessComponent->SetupAttachment(SceneCaptureCubeComponent); // Doesn't matter anyway PostProcessComponent->bUnbound = true; // Should be default anyway