I’m upgrading a project from Unreal Engine 5.5 to 5.6, and I’m running into a compiler error when including ScenePrivate.h
:
MeshDrawCommands.h(10,1): error C1083: Cannot open include file: ‘TranslucentPassResource.h’: No such file or directory
This was working fine in 5.5:
#include "Runtime/Renderer/Private/ScenePrivate.h"
FSceneInterface* Scene = GWorld->GetWorld()->Scene;
Scene->GetRenderScene()->CustomRenderPassRendererInputs.Add(PassInput);
It seems like TranslucentPassResource.h
might have been removed or relocated in 5.6, but I can’t find much on it.
Has anyone encountered this or knows the correct way to access CustomRenderPassRendererInputs
or hook into custom render passes with the newer version?
Any help would be appreciated.