Has anybody updated their pixi.js to 6.2?

I'm just wondering, because I'm trying to upgrade it myself, but I can't find the breaking point in rpg maker. It just says
Code:
Uncaught TypeError: texture.castToBaseTexture is not a function
and that doesn't help much. So I'm wondering if anybody did it already, so I don't have to spend hours on going through rmmz_ files.

Ok, so apparently this change in pixi's code causes it:

​

So it seems that RPG Maker is feeding 0 to this line instead of Null or undefined.
JavaScript:
texture = texture === null || texture === void 0 ? void 0 : texture.castToBaseTexture();
There is a workaround, by simply changing it to:
JavaScript:
texture = texture === null || texture === void 0 || texture === 0 ? void 0 : texture.castToBaseTexture();
But I still would like to find the line in the engine that is causing it.
Hi, how did u get pixi more than v6.0.4 working on mz ?
Starting from v6.1.0 to more recent I get this error

1697073167677.png
@jackass__ , please refrain from necro-posting in a thread. Necro-posting is posting in a thread that has not had posting activity in over 30 days. You can review our forum rules here. Thank you.

Original thread: https://forums.rpgmakerweb.com/threads/has-anybody-updated-their-pixi-js-to-6-2.142130/