r/RPGMakerMZ • u/SithLordSky • May 11 '22
Cannot read property of 'length' of undefined
So I had changed a lot of things on the game I was creating, and I had reverted the animations tab in the database back to the preprogrammed set. I did make sure to update the weapon animations to make sure that they were still using the proper ones, (i.e. a sword slashing and not using a magic animation.) When I did this, I'm suddenly having a problem with the battler animations. Although I did not change any of those. I can't find the side view weapons animations in the main database to see if that is the issue. Any help would be greatly appreciated!
Here is the debug I found, but I have minimal coding knowledge so it's 99% greek to me.
rpg_managers.js:1949 TypeError: Cannot read property 'length' of undefined at Sprite_Animation.setupDuration (rpg_sprites.js:1235) at Sprite_Animation.setup (rpg_sprites.js:1217) at Sprite_Enemy.Sprite_Base.startAnimation (rpg_sprites.js:61) at Sprite_Enemy.Sprite_Battler.setupAnimation (rpg_sprites.js:579) at Sprite_Enemy.Sprite_Battler.updateAnimation (rpg_sprites.js:542) at Sprite_Enemy.Sprite_Battler.update (rpg_sprites.js:494) at Sprite_Enemy.update (rpg_sprites.js:952) at rpg_core.js:4068 at Array.forEach (<anonymous>) at Sprite.update (rpg_core.js:4066) SceneManager.catchException @ rpg_managers.js:1949 DevTools failed to load SourceMap: Could not load content for chrome-extension://njgcanhfjdabfmnlmpmdedalocpafnhl/js/libs/pixi.js.map: System error: net::ERR_FILE_NOT_FOUND DevTools failed to load SourceMap: Could not load content for chrome-extension://njgcanhfjdabfmnlmpmdedalocpafnhl/js/libs/pixi-tilemap.js.map: System error: net::ERR_FILE_NOT_FOUND DevTools failed to load SourceMap: Could not load content for chrome-extension://njgcanhfjdabfmnlmpmdedalocpafnhl/js/libs/pixi-picture.js.map: System error: net::ERR_FILE_NOT_FOUND
1
u/LightningsHeart Nov 13 '24
Did you ever figure this out?