Hi,
After upgrading to the latest version of the plugin, our UI elements that use MPCs stopped working.
I tracked the issue down to FFXFrameInterpolationSlateRenderer::RegisterCurrentScene_Impl, which is currently a no-op. I don’t know whether this was an intentional decision and has some specific reason behind it, or if the implementation is simply missing.
I’m not sure where the best place to report this is. This is what works for me:
void FFXFrameInterpolationSlateRenderer::RegisterCurrentScene_Impl(FSceneInterface* Scene)
{
// Forward to the underlying renderer, otherwise Slate draws every UI material without a scene and
// Material Parameter Collections fall back to their default values. RegisterCurrentScene_Impl is protected
// on the underlying renderer, so register through its public scope and keep the resulting index active.
int32 SceneIndex = INDEX_NONE;
{
UE::Slate::FSceneRegistrationScope Scope = UnderlyingRenderer->RegisterCurrentScene(Scene);
SceneIndex = UnderlyingRenderer->GetCurrentSceneIndex();
}
UnderlyingRenderer->SetCurrentSceneIndex(SceneIndex);
}
Hello, the likely reason is that the plugin wraps Unreal’s Slate renderer with FFXFrameInterpolationSlateRenderer for every backend, whether or not frame generation is in use. Its own code comment says the wrapper has to be installed for all backends to avoid stalling on DrawBuffers, so any call it doesn’t forward, like RegisterCurrentScene_Impl, is lost even with frame generation off. Unreal plugin bugs are tracked on the FidelityFX SDK GitHub, and issue #200 shows the format, tagged [UE plugin] with the FSR-580 package version. This snippet plus the class and method name are exactly what the team will need; you have already done most of the triage, so huge thanks to you: [UE plugin] FrameInterpolation reads *and writes* through an unchecked cast of the viewport's custom present; `r.FidelityFX.FI.Enabled=0` does not prevent it (FSR 4.1.1 / FSR-580) · Issue #200 · GPUOpen-LibrariesAndSDKs/FidelityFX-SDK · GitHub