Cannot read property 'setDimensions' of null

Hi everyone,
I have this problem and it's very random, it seems. Sometimes it never happens throughout the whole game and sometimes it happens twice at the same spot.
It looks like, it happens whenever a new picture is loaded in the event, but I can't be sure. Does anybody knows, what the problem is? How can I fix it, or avoid it altogether? Thanks for anything.
That sounds like either a core .js file is not updated right, or you have a plug-in causing an issue. Please list all your plug-ins so we can see.
List of plugins in order:
YEP_CoreEngine
YEP_MainMenuManager
YEP_MessageCore
YEP_X_ExtMesPack1
GameusQuestSystem
MadeWithMv
FullScreen
YEP_SaveCore
Autosave
HIME_HiddenChoiceConditions
YEP_ExternalLinks
CXJ_Exit
Galv_ChoicePause
OrangeHud
OrangeHudLine
Galv_ScreenButtons
YEP_ButtonCommonEvents
GALV_TimedMessagePopups
TDDP_BindPicturesToMap
YEP_RegionRestrictions
MessageHide

I have set stream not to update automatically, but recently I've noticed, something has been downloaded for RPG Maker. So maybe it's the bad update...
the projects never update automatically, no matter what you set steam to - all updates on projects have to be done by manually copying the required files.
If you have never done this, your project version might be too old for some of those plugins.

additionally, those errors happen if you load an old savefile after changing or adding plugins - you need to start a new game after adding a complex plugin to the project, you cannot continue with old savefiles after changing the project in such a way.
the projects never update automatically, no matter what you set steam to - all updates on projects have to be done by manually copying the required files.
If you have never done this, your project version might be too old for some of those plugins.

additionally, those errors happen if you load an old savefile after changing or adding plugins - you need to start a new game after adding a complex plugin to the project, you cannot continue with old savefiles after changing the project in such a way.

I've tried to play from scratch and it happened again. Probable cause might be multiple reloads with the 'Autosave' plugin
I've been testing the game further and here is, what the console spits out:

rpg_managers.js:1919 Uncaught TypeError: Cannot read property 'setDimensions' of null
rpg_managers.js:1919 SceneManager.onError
rpg_core.js:1621 Bitmap._callLoadListeners
rpg_core.js:1595 Bitmap.decode
rpg_core.js:1568 Bitmap._onLoad
rpg_managers.js:1920 file:///D:/RPG/school/js/plugins/TDDP_BindPicturesToMap.js 215
rpg_managers.js:1920 SceneManager.onError
rpg_core.js:1621 Bitmap._callLoadListeners
rpg_core.js:1595 Bitmap.decode
rpg_core.js:1568 Bitmap._onLoad
TDDP_BindPicturesToMap.js:215 Uncaught TypeError: Cannot read property 'setDimensions' of null
TDDP_BindPicturesToMap.js:215 Sprite_Picture.bltLoadedBitmap
rpg_core.js:1621 Bitmap._callLoadListeners
rpg_core.js:1595 Bitmap.decoderpg_core.js:1568 Bitmap._onLoad
rpg_managers.js:1919 Uncaught TypeError: Cannot read property 'setDimensions' of null
rpg_managers.js:1919 SceneManager.onError
rpg_core.js:1621 Bitmap._callLoadListeners
rpg_core.js:1595 Bitmap.decode
rpg_core.js:1568 Bitmap._onLoad
rpg_managers.js:1920 file:///D:/RPG/school/js/plugins/TDDP_BindPicturesToMap.js 215
rpg_managers.js:1920 SceneManager.onError
rpg_core.js:1621 Bitmap._callLoadListeners
rpg_core.js:1595 Bitmap.decoderpg_core.js:1568 Bitmap._onLoad
TDDP_BindPicturesToMap.js:215 Uncaught TypeError: Cannot read property 'setDimensions' of null
TDDP_BindPicturesToMap.js:215 Sprite_Picture.bltLoadedBitmap
rpg_core.js:1621 Bitmap._callLoadListeners
rpg_core.js:1595 Bitmap.decode
rpg_core.js:1568 Bitmap._onLoad

Please, look into it. I don't know what to do.
the problem is with the "bind pictures to map" plugin, please give a link to that and show us screenshots of the events where you're using those plugin's commands and options
My testers are actually experiencing the same problem from time to time. At some point in the game, transferring the player might cause this error.

the projects never update automatically, no matter what you set steam to - all updates on projects have to be done by manually copying the required files.
If you have never done this, your project version might be too old for some of those plugins.

additionally, those errors happen if you load an old savefile after changing or adding plugins - you need to start a new game after adding a complex plugin to the project, you cannot continue with old savefiles after changing the project in such a way.

No and no. My plugins are perfectly stable, I'm using those for my projects for a year or so.

The thing is you can't even fix those plugins since they appear in some very special conditions. My tester sent me those save files, but I didn't get any error.

One user here suggested using STOP_BindPicturesToMap before transferring the player, but again, how do I know if it works if the bug is so rare?

Maybe there are any alternatives to BindPicturesToMap plugin?

@KotoYama , 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.


Furthermore, please do not hijack other people's thread. If you are experiencing a similar issue, please create a new thread.

I'm closing this thread.

Original thread: https://forums.rpgmakerweb.com/threads/cannot-read-property-setdimensions-of-null.80627/