Camera command culling fails when no VFX are visible in the camera frustum.
How to reproduce :
- Create a scene with one default VFX, two cameras, and no lights
- Move one of the cameras such that the VFX bounds are completely outside the camera frustum.
- Enter Play Mode
- Open the profiler, start profiling.
- Find the VFX.ProcessCamera marker
- Observe that both cameras emit BatchUpdate and SortBuffer commands. (FillIndirectRenderArgs is ok)
Expected result : Only the camera where the VFX is visible should emit the BatchUpdate and SortBuffer commands.