playcanvas / engine

JavaScript game engine built on WebGL, WebGPU, WebXR and glTF

Home Page:https://playcanvas.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

App crashes when drawing lines to disabled layer

LeXXik opened this issue · comments

commented

If the layer that you draw lines to is disabled, the batch arrays never get cleared, overflowing and the app crashes.

Repro: https://playcanvas.com/project/1212210/overview/draw-line-issue

image