-
Notifications
You must be signed in to change notification settings - Fork 142
Open
Description
I was experiencing an "Stack cookie instrumentation code detected a stack-based buffer overrun." exception on large maps and it seems the following line is responsible for this:
BrickTerrainGenerationLibrary.cpp:134 CavernProbabilitySamples[LocalZ + 4] = NextCavernProbabilitySample;
On rare occasions CavernProbabilitySamples is being addressed at index 128 there but the maximum is 127.
A simple workaround for this is to increase the array size (Line 123) by +1.
Please consider changing this if there will be a future update. Took me a couple of hours to figure this out.
Metadata
Metadata
Assignees
Labels
No labels