TomaszFurca Posted November 12, 2017 Share Posted November 12, 2017 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 Quote Link to comment Share on other sites More sharing options...
GameMonetize Posted November 13, 2017 Share Posted November 13, 2017 Good catch I'll fix it for the next commit TomaszFurca 1 Quote Link to comment Share on other sites More sharing options...
TomaszFurca Posted November 14, 2017 Author Share Posted November 14, 2017 Thanks Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.