Whenever I turn on the Weather_EX plugin by Mog Plugins, 'TypeError: Cannot read property 'addChild' of undefined' pops up as soon as I click New Game. I havent made any changes to it but maybe another plugin I'm using is interfering with it?
MV Moghunter Plugins Weather_EX 'addChild'
Javascript/Plugin SupportPress F12 after this error occurs to open the dev console.
Then copy and paste the entire red error that's in the console.
This helps to narrow things down.
Then copy and paste the entire red error that's in the console.
This helps to narrow things down.
or F8 mostly (instead of F12), depending on the version of MV you use,
and or plugins that changes it.
and or plugins that changes it.
Like this ya?
TypeError: Cannot read property 'addChild' of undefined
at Spriteset_Map.Spriteset_Base.createWeatherField_3 (MOG_Weather_EX.js:480)
at Spriteset_Map.Spriteset_Base.createPictures (MOG_Weather_EX.js:489)
at Spriteset_Map.Spriteset_Base.createUpperLayer (rpg_sprites.js:2139)
at Spriteset_Map.Spriteset_Base.initialize (rpg_sprites.js:2130)
at Spriteset_Map.Spriteset_Base.initialize (MOG_AnimatedText.js:145)
at Spriteset_Map.Spriteset_Base.initialize (MOG_Weather_EX.js:357)
at Spriteset_Map.initialize (rpg_sprites.js:2261)
at new Spriteset_Map (rpg_sprites.js:2254)
at Scene_Map.createSpriteset (rpg_scenes.js:734)
at Scene_Map.createSpriteset (SRD_CameraCore.js:586)
SceneManager.catchException @ rpg_managers.js:1949
I turned off SRD's camera core and the error didn't occur but is there any way too make them coexist with each other or do I have to choose one to keep ;;
can you try switching the plugin? SRD above MOG_Weather, or if its
above, place it below?
I'm not sure other had issues with it or make them work together or took
a different one (by Galv or another one that worked).
above, place it below?
I'm not sure other had issues with it or make them work together or took
a different one (by Galv or another one that worked).
I tried that and it comes up with a diifferent message.
If I had to pick one I'll go with the Camera Core, Ill live without the weather but thank you both so much for your help! <33333333333
this is the error when weather is above SRD
TypeError: this.createWeatherField_3 is not a function
at Scene_Map.Spriteset_Base.createPictures [as createPicturesForCameraCore] (MOG_Weather_EX.js:489)
at Scene_Map.createSpriteset (SRD_CameraCore.js:587)
at Scene_Map.createDisplayObjects (rpg_scenes.js:727)
at Scene_Map.onMapLoaded (rpg_scenes.js:571)
at Scene_Map.isReady (rpg_scenes.js:561)
at Function.SceneManager.updateScene (rpg_managers.js:2018)
at Function.SceneManager.updateMain (rpg_managers.js:1983)
at Function.SceneManager.update (rpg_managers.js:1907)
SceneManager.catchException @ rpg_managers.js:1949
If I had to pick one I'll go with the Camera Core, Ill live without the weather but thank you both so much for your help! <33333333333
this is the error when weather is above SRD
TypeError: this.createWeatherField_3 is not a function
at Scene_Map.Spriteset_Base.createPictures [as createPicturesForCameraCore] (MOG_Weather_EX.js:489)
at Scene_Map.createSpriteset (SRD_CameraCore.js:587)
at Scene_Map.createDisplayObjects (rpg_scenes.js:727)
at Scene_Map.onMapLoaded (rpg_scenes.js:571)
at Scene_Map.isReady (rpg_scenes.js:561)
at Function.SceneManager.updateScene (rpg_managers.js:2018)
at Function.SceneManager.updateMain (rpg_managers.js:1983)
at Function.SceneManager.update (rpg_managers.js:1907)
SceneManager.catchException @ rpg_managers.js:1949
Original thread: https://forums.rpgmakerweb.com/threads/moghunter-plugins-weather_ex-addchild.152494/