Hey Guys,
Looks like i found new memory leak
I use angular for development and i have angular component which creates babylon scene. Everytime i create this component i see that number of DOM nodes increased by 2. I found which line is doing this.
this.assetsManager.addMeshTask(’’, ‘’, ‘assets/’, ‘x.glb’);
When this line is commented everything is fine: number of DOM elements is the same after GC. When it’s not commented everytime i create this component number of DOM elements +2 after GC.
(Even if i have this line multiple times i still have +2)
I checked that my angular component is successfully deleted in memory dump in both cases. Also i tried to use engine.dispose() scene.dispose() and even assetsmanager.reset()
P.S. Without this line i have 135 nodes. With line i have 170 nodes +2 each time.
Not sure how to reproduce it on playground
Any thoughts?