3d is ambitious, especially for 8 year olds.
Anyways, here are a few ideas to help debug it.
Since it seems to have to do with loading chunks as you move around, you could just make the camera have a top view to help see what’s going on.
If it’s leaving gaps moving one way then maybe it’s overlapping the other way.
When creating the chunks are you creating them relative to the player or to fixed chunk locations? A collision will occur after some overlap which can get worse with lag. Maybe that’s something to consider.
If nothing obvious stands out I’d consider redoing the chunk system from scratch. You can prototype it fast in a fresh project in 2d if you like. That would be much easier to debug and identify shortcomings. You could even do it in 1d, like a side view platformer to get the chunk idea working with minimal effort. I personally find that designing something on paper first makes it way more robust than doing it all in code as you go along.