Couldn't find source file of virtual shader path

Fatal error: [File:D:\build++UE5\Sync\Engine\Source\Runtime\RenderCore\Private\ShaderCore.cpp] [Line: 999] Couldn’t find source file of virtual shader path ‘/Engine/Private/TemporalSuperResolution/TSRComputeMoireLuma.usf’

cannot open the engine
image

2 Likes

Hi ehow!
Did you find the solution finally? I met the same issue.

Hi echow!
I solved the problem finally. add the code in your StartupMoudle function.
FString PluginShaderDir = FPaths::Combine(IPluginManager::Get().FindPlugin(TEXT(“YourPlugin”))->GetBaseDir(), TEXT(“Shaders”));
AddShaderSourceDirectoryMapping(TEXT(“/Plugin/YourPlugin”), PluginShaderDir);

3 Likes

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.