NinjaMark Posted June 13, 2016 Share Posted June 13, 2016 Hi, I'm getting a crash in the current Babylon 2.4 Beta on Scene.Dispose(): "Unable to get property 'LEQUAL' of undefined or null reference" at Engine.prototype.setDepthFunctionToLessOrEqual at Engine.prototype.wipeCaches Looks to be due to the addition of "this.setDepthFunctionToLessOrEqual();" to wipeCaches(), this references this._gl which is already null at this point. Quote Link to comment Share on other sites More sharing options...
GameMonetize Posted June 13, 2016 Share Posted June 13, 2016 Hum this is weird. this._gl is null only when you call engine,dispose() and not scene.dispose() can you reproduce the issue in the playground? Quote Link to comment Share on other sites More sharing options...
Sebavan Posted June 13, 2016 Share Posted June 13, 2016 Hello, This has been checked and was coming from _wipeCaches being called manually after dispose the engine :-) Thanks for your help, 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.