Is it a bug of PencilKit?

When I use pencil or highlighter of PencilKit on debug, and write it quickly, it'll crash. But it's fine on release

the error message:

-[MTLDebugCommandBuffer lockPurgeableObjects]:2103: failed assertion `MTLResource 0x2816cd0a0 (label: (null)), referenced in cmd buffer 0x11a041400 (label: Live rendering command buffer) is in volatile or empty purgeable state at commit'

is it a bug, or am I making something wrong?

Yes it is. It also crash when you try to draw a very long stroke with pencil tool.

Is it a bug of PencilKit?
 
 
Q