Description
The calculatedCountofLayouts has a value of 256 for maximum capacity, while MAX_ITEM_COUNT is only 128.
The issue is in this piece of code:
if (Constraints::MAX_ITEM_COUNT >= calculatedCountOfLayouts) {
countOfLayouts = calculatedCountOfLayouts;
Or it could be something else since I used the hack mentioned in QSR-1002 to increase the layout data buffer.