[Bug] Landscape processing with wrong vertex data when Overall Resolution is 511x511

img_33.png

I created a landscape with Overall Resolution of 511x511 but got a wrong result.

Rendering landscape component mesh with wrong vertex data and getting warning “VertexOrder count of 65534 did not match expected size of 65536”.
After tracing the source code , I found that the index of the vertex data had some hash collision. Hash collision caused vertex data loss.

LandscapeEdit.cpp: GeneratePlatformVertexData()

I tried to roll back the version of **MakeKey **function. then got the correct rendering result:

Finally:
1. Is this a known bug and will it be fixed in a future release?
2. Whether modifying this hash algorithm in the engine will cause other problems?
thks~