Loading and unloading chunks of world to ensure that it all runs properly

I have a big map full of assets and I’m getting pretty low frame rates when I move around. So I was thinking if there’s a way I can load and unload data when the main camera is moving, such that thing that are not visible to the camera that particular time are unloaded/ visibility is toggled off and vice versa… something like this Horizon Zero Dawn Uses All Sorts Of Clever Tricks To Look So Good

Please help,
Thanks

I’m curious how to pull that out too

i would look into the use of occlusion culling. theres a pretty good guide by Tim Hobson here. i havent read it all yet but from a brief skimming it looks pretty good and from the training streams ive seen with him he knows his stuff.