variable has incomplete type 'FSceneViewProjectionData'

Hey everyone,

Since I made the switch to 4.19 I get an error while compiling a project that worked fine in 4.18. Apparently one of the plugins we use does produce that error. Since I am a blueprint guy I dont really understand what is going on in the c++ library that the plugin uses. Would anyone be able to point me in a direction as of how to solve this conflict as the creator of the plugin is not answering my mail and I would like to continue to work on the project?

The error message I get while compiling is

UATHelper: Packaging (iOS): /****/UE4/Builds/*****/UE/IOS/GaryAndClaire 4.19/Source/GaryAndClaire/HUDBlueprintFunctionLibrary.cpp:16:34: error: variable has incomplete type ‘FSceneViewProjectionData’

UATHelper: Packaging (iOS):
UATHelper: Packaging (iOS): FSceneViewProjectionData ProjectionData;
UATHelper: Packaging (iOS):
UATHelper: Packaging (iOS): ^
UATHelper: Packaging (iOS)
:
UATHelper: Packaging (iOS): //UE4/Builds//C/Program Files/Epic Games/UE_4.19/Engine/Source/Runtime/Engine/Classes/Camera/CameraTypes.h:127:200: note: forward declaration of 'FSceneViewProjectionData’

UATHelper: Packaging (iOS):
UATHelper: Packaging (iOS): ENGINE_API static void CalculateProjectionMatrixGivenView(const FMinimalViewInfo& ViewInfo, TEnumAsByte AspectRatioAxisConstraint, class FViewport* Viewport, struct FSceneViewProjectionData& InOutProjectionData);

The corresponding part in the .ccp file -

ULocalPlayer* const LP = Player ? Player->GetLocalPlayer() : nullptr;
if (LP && LP->ViewportClient)
{
    // get the projection data
    FSceneViewProjectionData ProjectionData;
    if (LP->GetProjectionData(LP->ViewportClient->Viewport, eSSP_FULL, ProjectionData))

Apparently I needed to include the .h file for FSceneViewProjectionData in the header for the plugin. Maybe something changed in 4.19?

#include “Runtime/Engine/Public/SceneView.h”

fixed the issue for me.