Vat only runs on 1 pool of thin instances?

Repro: https://playground.babylonjs.com/#CP2RN9#97

I’m trying to port my codes to bjs’s vat system. When I try to clone and create a 2nd pool of thin instances, the first pool of thin instances no longer run. If I try to clone the vertexTexture and attach to the cloned’s manager, the 2nd pool doesn’t even render. What am I missing ?

edit:if I add cloned.makeGeometryUnique(), console throws RangeError: Offset is outside the bounds of the DataView, weird…

Perhaps it has something to do with the fact that you reassign the old manager reference to a new instance of the manager?

1 Like

nvm, I figured it out. https://playground.babylonjs.com/#CP2RN9#99

Marking as solved.

2 Likes