blakjak44 Posted June 2, 2020 Share Posted June 2, 2020 I have an issue where I am trying to dynamically render multiple UI components in an Electron application. I am using a separate application instance for each of these UI components and eventually I reach the Chromium WebGL context limit. So it looks like the correct approach is to use canvas rendering for all of the components that do not require WebGL. The problem is that PIXI no longer supports forcing the canvas renderer. I read that I can use PIXI.js-legacy for access to the canvas renderer but when I use this in combination with standard PIXI, it creates numerous other issues throughout the application (e.g. the default interaction manager is never initialized). What should I do to fix this? Am I importing the libraries incorrectly and causing some conflict? Quote Link to comment Share on other sites More sharing options...
ivan.popelyshev Posted June 2, 2020 Share Posted June 2, 2020 you probably installed pixi and legacy of different versions. remove package.lock, rm node_modules, npm install Quote Link to comment Share on other sites More sharing options...
blakjak44 Posted June 4, 2020 Author Share Posted June 4, 2020 That did the trick. 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.