Enabling Raytracing in-game

Hello, I am almost finished with the “demo” version of my game and I’m currently working on graphics and enabled Raytracing for my project.
The Question now is how i would let the End User decide (via Widget Button click) if Raytracing should be enabled or not.
I thought about using the console command on button press, but console command are excluded in the shipping version (At least that’s what i think to remember)
Cheers!

Have you found a solution to this problem? I’m running into the same thing.

You can use the console commands just fine, they aren’t just accessible via the prompt menu in shipping builds, but their functionality remains same regardless of the build type.