[4.12.5] CineCameraComponent of CineCameraActor gets return with parent class type

Hello,

I’ve reproduced both ways in a clean Project:

First way to reproduce:

  1. Drag a CineCameraActor into the Level

  2. In the Details you can access the “Current Camera Settings” of the CameraComponent. And these settings are part of the CineCameraComponent class.

  3. Drag the CineCameraActor into the LevelBlueprint, GetCameraComponent, and try to access a CineCameraComponent setting like CurrentFocalLength.

Settings are not available because you only get typeof CameraComponent and not as expected CineCameraComponent. It is no problem to cast of course, if you know that. But I am sure this is not intended to be like that.

I think the CineCameraActor just exposes the “CameraComponent” as typeof CameraComponent instead of CineCameraComponent for the BP, that’s all :slight_smile: Therefore there is no warning.

Another way to reproduce (like I did in the screenshot):

  1. Create a new Blueprint based on CineCameraActor

  2. Select the CameraComponent and you will see the Details you should have access to within the EventGraph.

  3. Drag the CameraComponent into the EventGraph and try to access them (e.g. CurrentFocalLength).

Happy debugging :slight_smile: Marooney