You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It is possible to manually prepare and create batches using BatchManager prepare() and create() methods.
BatchManager also has destroyBatch() method, but calling it with a manually created batch causes a crash.
Yes, it is possible to use batch.destroy() method. But destroyed batches are still in the _batchList array.
Example project was updated to use dynamic batches so now you can see the issue more clearly.
Description
It is possible to manually prepare and create batches using BatchManager
prepare()
andcreate()
methods.BatchManager also has
destroyBatch()
method, but calling it with a manually created batch causes a crash.Link to example: https://playcanvas.com/project/1295595/overview/manual-batching-issue
Also according to destroy method implementation, batches from
_batchList
array are never removed.engine/src/scene/batching/batch-manager.js
Line 927 in 9e277aa
The text was updated successfully, but these errors were encountered: