Unresolved external symbol

Hi everyone!
Im trying to use the variable bool GRHISupportsRayTracingsituated insideRHI.h, but whenever i build i run into an error that reads error LNK2019: unresolved external symbol “__declspec(dllimport) bool GRHISupportsRayTracing” (_imp?GRHISupportsRayTracing@@3_NA) referenced in function “public: void
__cdecl UJF_GameUserSettings::ApplyAdvancedSettings(void)” (?ApplyAdvancedSettings@UJF_GameUserSettings@@QEAAXXZ) 2>C:\Users\dan00\Documents\Unreal Plugins\JourneyFramework\Plugins\JourneyFrameworkMainMenuSystem\Binaries\Win64\UE4Editor-JourneyFrameworkMainMenuSystem.dll : fatal error LNK1120: 1 unresolved externals`

Has anyone else encountered this? How can i fix it?

Edit: all my code is situated inside of a custom game user settings class, in a plugin, if that is of any use.

Open *.Build.cs add module RHI

PublicDependencyModuleNames.AddRange(new string[] { "Core", "CoreUObject", "Engine", "InputCore", "UMG", "RHI" });


If any problem let me know. My discord Andrew Bindraw #9014