kons-9 icon indicating copy to clipboard operation
kons-9 copied to clipboard

Text engine overflow when > 65K characters to be drawn

Open kaveh808 opened this issue 1 year ago • 0 comments

EDIT: This happens with a moderately complex scene (~2K children for a shape). I assume if the total number of characters to be drawn is over 65K it crashes.

I created a voxel-grid-group with cubes as children and then tried to open the GUI shape inspector. Got text engine error:

   The value
     65536
   is not of type
     (UNSIGNED-BYTE 16)

As a workaround, implemented point-instancer-shape and voxel-grid-shape which do not store instances as children. Rather they make draw calls procedurally one instance at a time.

kaveh808 avatar Oct 17 '22 21:10 kaveh808