How to change the graphics RHI at runtime as a setting works on UE 5.4+.

I was able to do this by using this plugin: GitHub - Cesio137/UE4-GraphicsRHIManager . You might need to add # include “Misc/ConfigCacheIni.h” to RHIManager/Source/RHIManager/Private/RHIManagerBPLibrary.cpp, I don’t know if that part is required.

What you will need to do is add this to your game’s DefaultEngine.ini:

[SectionsToSave]
Section=/Script/WindowsTargetPlatform.WindowsTargetSettings