Instance meshes stop rendering (maybe too many visible?)

I’ve built a 2D tile-based map by using a UInstancedStaticMeshComponent. For each tile of the grid, I call AddInstance on the component passing in a world transform.

This works fine (and worked perfectly in 4.26) but when I zoom out far enough, they stop rendering. In the attached screenshots, you can see basically the same view with slightly different zoom level and the entire bottom has stopped rendering.

My only guess is that there is some limit to the number of instances that can be visible. This is somewhat backed up by the fact that the cutoff isn’t a straight line. You can see a few instances poking out along the bottom.

Does anyone know what is going on here?

I managed to figure this out. It had to do with the way I’ve implemented my zoom. I have an orthographic camera and so I adjust the ortho width. I guess something changed between 4.26 and 5.6 with how that’s implemented.

To fix it, I went into the camera and enabled Auto Calculate Ortho planes and everything started working.