Preserved forum archive. This topic stores the original first post and locally mirrored RPG Maker Web attachments when available. It is posted by the BMMPlay archive account, not by the original creator.
Original Source
- Original title: Has anybody updated their pixi.js to 6.2?
- Original author: ResidentDeviant
- Original date: November 14, 2021
- Source thread: https://forums.rpgmakerweb.com/threads/has-anybody-updated-their-pixi-js-to-6-2.142130/
- Source forum path: Game Development Engines > RPG Maker MZ Support
Summary
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.
Archived First Post
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
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:
github.com
There is a workaround, by simply changing it to:
But I still would like to find the line in the engine that is causing it.
Code:
Uncaught TypeError: texture.castToBaseTexture is not a function
Ok, so apparently this change in pixi's code causes it:
Bind empty if texture is invalid (#7635) · pixijs/pixijs@ba416cd
The HTML5 Creation Engine: Create beautiful digital content with the fastest, most flexible 2D WebGL renderer. - Bind empty if texture is invalid (#7635) · pixijs/pixijs@ba416cd
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();
JavaScript:
texture = texture === null || texture === void 0 || texture === 0 ? void 0 : texture.castToBaseTexture();
Downloads / Referenced Files
Log in to download
Log in, then follow the RPG Maker Developers Group to see these download links.
Log in to downloadCreator Claims / Removal
If you are the original creator and want this listing reassigned, edited, or removed, join BMMPlay and contact the moderators with proof that matches the original RPG Maker Web profile, linked GitHub, itch.io page, or another public creator identity.
Replies (0)
No replies yet.
0
replies
1
view
Topic Summary
Loading summary...