Hello!
THANK YOU FOR YOUR TUTORIAL, it's really amazing.
I'm having an issue trying to implement the greedy meshing shown in your episode 4. I've copied completely identically the code shown in the video (not the one in the UE5 github), with the necessary modifications to use the noise plugin. There's no UE4 greedy example provided unfortunately!
It generates the chunk normally but crashes when the size is set beyond 16 or with multiple chunks being spawned, with an error "Array index out of bounds". It's always from ChunkGreedy.cpp, but the lines often changes (24, 36, 94, 143), usually corresponding to "if (Mask[N].Normal != 0) {" or "Mesh->CreateMeshSection". The array size also changes, ex. on the provided crash "4096 from an array of size 4096", sometimes 512, etc. Maybe related to how TArrays work in UE4 versus UE5?
Here's the crash and sources I'm using:
Crash.log
Private.zip
(Using UE 4.25 in a clean C++ project with nothing else)
It does greedy meshing exactly as expected otherwise.