Closed Barsonax closed 5 years ago
A note on addressing this issue:
ushort
values, so if there are more than 65535 vertices in a single batch, they cannot be addressed. This is by design to ensure compatibility and consistency across platforms that do not support bigger data types for index buffers, such as GLES 2.0.TilemapRenderer
. It is, however, not the actual problem. The problem is TilemapRenderer
not dealing with the limit accordingly.TilemapRenderer
should instead keep track of how many vertices are part of the current batch, and submit-and-restart if the limit would otherwise be exceeded. As a result, multiple smaller batches will be submitted, instead of a single one.Fixed and released. Should be out there in about 20 minutes.
Summary
When you create a large tilemap it cannot be rendered due to going over the vertex limit. This bug was introduced in duality v3.
How to reproduce
Attachments
Stacktrace: