jacquesr Posted November 6, 2015 Share Posted November 6, 2015 Hi, I've got multiple scenes running in multiple views. Those views can be dynamically destroyed while new ones are created immediately afterwards (in The same logic flow, synchronously) I call scene dispose and also engine dispose, yet I get The too many webgl contexts warning (I think that was an exception in 2.1). I expect that to be due to my synchronous destroy/create but I did not find a disposed Event. Maybe I didn't look in The right spot. How can I ensure doing This The clean way? jacquesr 1 Quote Link to comment Share on other sites More sharing options...
iiceman Posted November 6, 2015 Share Posted November 6, 2015 As far as I know you should not dispose the engine. Just dispose the scene, that should be enough. I think re-initializing the engine creates this new webgl context. Quote Link to comment Share on other sites More sharing options...
jacquesr Posted November 17, 2015 Author Share Posted November 17, 2015 I removed the call but my problem persists Quote Link to comment Share on other sites More sharing options...
Dad72 Posted November 17, 2015 Share Posted November 17, 2015 Maybe if were seeing the code you used may have more 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.