Rendering Actor Component Conditionally

You can’t add custom rendering conditions like this. Those conditions are very specific, and used by FPrimitiveSceneProxy::IsShown().

Unless you want to make low-level engine changes, you’ll just have to control visibility manually.