SceneCaptureComponent2D -> Render Scene primitives always selects the legacy option

A workaround is to set it to “Render primitives in the scene, minus HiddenActors” in the compilation script.

You can add the hidden actors in the array here too.

https://i.imgur.com/FaxRz3u.png