Expecting to find a type to be declared in a module rules named 'FSR' in UE5Rules, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null. This type must derive from the 'ModuleRules' type defined by Unreal Build Tool.
When installing the plugin inside the “Runtime” folder as AMD says, you will get this error, so I recommend installing it inside the “Marketplace” folder.
Hi Lucoiso, I’ve tried to update FSR 2.0 and also the DLSS plugin but both are missing a class “CustomEditorStaticScreenPercentage.h” epic removed, I am unsure how to correct this issue as epic hasn’t give any information about the changes.
Any help would be much apprenticed thank again for the FSR 1.0 patch over.
Deletes ICustomStaticScreenPercentage
Motivations:
1) Force compatibilty of third-party temporal upscalers with dyn-res
2) Allows multiple temporal upscaler plugins to live concurrently without collision on a single global
3) Reduce support overhead from licensee due to inconsistent internal rendering resolution across different temporal upscalers
Notes:
1) ITemporalUpscaler is now meant to be setup by the plugin's FSceneViewExtensionBase::BeginRenderViewFamily() that obeys the screen percentage driver;
2) The licensee's game user settings can just enable disable each plugin respectively based on their implementation specialization of ApplyNonResolutionSettings();
3) ITemporalUpscaler now has a lifetime tied to a FSceneViewFamily;
4) FSceneViewFamily offers a generic way to bind other data tied to its life time with FSceneViewFamily::GetOrCreateExtentionData() for instance for setting customise behavior of FSceneViewExtensionBase::BeginRenderViewFamily() before FRendererModule::BeginRenderingViewFamily().
#rb juan.canada
#jira UE-162184
#preflight 63337c4cd747fe52c81150a9
[CL 22221229 by guillaume abadie in ue5-release-engine-staging branch]
Great info to have however I’m not seeing anything about how to go about handling the ViewportMenuEntryArgs from the interface as pertaining to swapping to FSceneViewExtensionBase:: (SceneViewExtension.h) … any help here?
#pragma once
#include "PostProcess/PostProcessUpscale.h"
#include "PostProcess/TemporalAA.h"
#include "SceneViewExtension.h"
DECLARE_LOG_CATEGORY_EXTERN(LogFSR2Editor, Log, All);
class FFSR2TemporalUpscalerEditor final : public FSceneViewExtensionBase, public TSharedFromThis<FFSR2TemporalUpscalerEditor>
{
public:
FFSR2TemporalUpscalerEditor(class IFSR2TemporalUpscalingModule* Module);
virtual ~FFSR2TemporalUpscalerEditor() {}
void SetupEditorViewFamily(FSceneViewFamily& ViewFamily, FEditorViewportClient* ViewportClient);
bool GenerateEditorViewportOptionsMenuEntry(const ICustomEditorStaticScreenPercentage::FViewportMenuEntryArguments& Arguments);
private:
class IFSR2TemporalUpscalingModule* TemporalUpscalingModule;
};