Open ben4d85 opened 1 year ago
@inlet any ideas?
Hi @ben4d85, I haven't been working on this project since a long time. I think best to ask somewhere from the Pixi team that can help you with this.
Cheers, Patrick
I believe the warning is from this line,
maybe we can ignore this because it has provide support for Pixi v6 still
on the top of this function
@Zyie Any update on this issue? Still having this in @pixi/react 7.1.1.. Here is the pixi react warning: PixiJS Deprecation Warning: renderer.plugins.interaction has been deprecated, use renderer.events Deprecated since v7.0.0
I'm encountering this same issue in @pixi/react 7.1.2. Exact same error message.
Maybe the warning is coming from this code accessing this.app.renderer.plugins.interaction
?
(and then checking if this.app.renderer.plugins.interaction.resolution
is there)
https://github.com/pixijs/pixi-react/blob/master/packages/react/src/stage/index.js#L269
Any updates on this? I got the same warning with: pixi.js 8.1.0 and @pixi@react 7.1.2
Dear pixi dev team, I am facing same warning. I am using "@pixi/react": "^7.1.0"
and "pixi.js": "^7.2.4"
in react 18.2.0 and see warning from console like this
PixiJS Deprecation Warning: renderer.plugins.interaction has been deprecated, use renderer.eventsDeprecated since v7.0.0
How can I fix it?
Please fix, it's easy.
Current Behavior
When using pixi-react 7.1.0 with pixi.js 7.2.4, the following deprecation warning is logged to the console:
Expected Behavior
No deprecation warning should be logged to the console.
Steps to Reproduce
n/a
Environment
Possible Solution
In the pixi-react codebase, look for occurrences of
renderer.plugins.interaction
and modify them to userenderer.events
instead. Similarly, address any usage ofInteractionManager
.For context about the underlying change in pixi.js, see https://github.com/pixijs/pixijs/pull/8425.
Additional Information
Full stack trace: