Quantcast
Channel: Bugs Latest Topics
Viewing all articles
Browse latest Browse all 760

Dispose on NullEngine

$
0
0

Hi, I using nullEngine to calculate some data on server site. When user logout from server i try to dispose his mesh from scene, but on dispose method call i got error:

/var/www/babylon/bower_components/babylonjs/dist/preview release/babylon.max.js:9511
                this._gl.deleteBuffer(buffer);
                        ^
                                                                                                                                                                                                                                                                               
TypeError: Cannot read property 'deleteBuffer' of undefined                                                                                                                                                                                                                    
    at NullEngine.Engine._releaseBuffer (/var/www/babylon/bower_components/babylonjs/dist/preview release/babylon.max.js:9511:25)                                                                                                                                              
    at Buffer.dispose (/var/www/babylon/bower_components/babylonjs/dist/preview release/babylon.max.js:20511:30)                                                                                                                                                               
    at VertexBuffer.dispose (/var/www/babylon/bower_components/babylonjs/dist/preview release/babylon.max.js:20661:30)                                                                                                                                                         
    at Geometry.dispose (/var/www/babylon/bower_components/babylonjs/dist/preview release/babylon.max.js:29978:43)                                                                                                                                                             
    at Geometry.releaseForMesh (/var/www/babylon/bower_components/babylonjs/dist/preview release/babylon.max.js:29811:22)                                                                                                                                                      
    at Mesh.dispose (/var/www/babylon/bower_components/babylonjs/dist/preview release/babylon.max.js:23116:32)                                                                                                                                                                 
    at /var/www/babylon/server/dist/server.js:108:37                                                                                                                                                                                                                           
    at Array.forEach (native)                                                                                                                                                                                                                                                  
    at Socket.<anonymous> (/var/www/babylon/server/dist/server.js:96:30)                                                                                                                                                                                                       
    at Socket.Emitter.emit (/var/www/babylon/node_modules/socket.io-client/node_modules/component-emitter/index.js:133:20)                                                                                                                                                     
    at Socket.onevent (/var/www/babylon/node_modules/socket.io-client/lib/socket.js:270:10)                                                                                                                                                                                    
    at Socket.onpacket (/var/www/babylon/node_modules/socket.io-client/lib/socket.js:228:12)                                                                                                                                                                                   
    at Manager.<anonymous> (/var/www/babylon/node_modules/component-bind/index.js:21:15)                                                                                                                                                                                       
    at Manager.Emitter.emit (/var/www/babylon/node_modules/socket.io-client/node_modules/component-emitter/index.js:133:20)
    at Manager.ondecoded (/var/www/babylon/node_modules/socket.io-client/lib/manager.js:345:8)
    at Decoder.<anonymous> (/var/www/babylon/node_modules/component-bind/index.js:21:15)

Tom


Viewing all articles
Browse latest Browse all 760

Trending Articles