Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

This plugin does not appear to support pixi devtool #33

Open
lykl opened this issue Dec 31, 2022 · 3 comments
Open

This plugin does not appear to support pixi devtool #33

lykl opened this issue Dec 31, 2022 · 3 comments

Comments

@lykl
Copy link

lykl commented Dec 31, 2022

When I use it, devtool throws an error on the console, at which point any action on pixi is invalid, and when I close devtool, everything works fine, which makes debugging difficult.
The devtool version: 0.9.6

@lykl
Copy link
Author

lykl commented Dec 31, 2022

Here is the error:

pixi.inspector.bundle.js:2 Uncaught TypeError: Function has non-object prototype 'undefined' in instanceof check
    at [Symbol.hasInstance] (<anonymous>)

@MuTsunTsai
Copy link

In order to support devtool you need to register SmoothGraphics like this:

PIXI.SmoothGraphics = SmoothGraphics;

@MuTsunTsai
Copy link

Ah, actually this issue has been resolved in the latest version of the extension. Update the extension will solve it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants