【解決済】戦闘終了後に稀に発生するエラー
Posted: 2023年12月27日(水) 12:33
戦闘終了後などに稀に発生するエラーなのですが、なにが原因なのか、あまり知識がなくわかりません。
設置したイベントが関係してそうなのはわかるのですが、おおよその原因を教えて頂ければ幸いです。
1度ですが、アイテムを使用しようとしたときにも発生しました。
以下エラーメッセージです。
rpg_managers.js:1949 TypeError: Cannot read property 'pages' of null
at Game_Event.findProperPageIndex (rpg_objects.js:8611)
at Game_Event.refresh (rpg_objects.js:8603)
at rpg_objects.js:5811
at Array.forEach (<anonymous>)
at Game_Map.refresh (rpg_objects.js:5810)
at Game_Map.refreshIfNeeded (rpg_objects.js:5805)
at Game_Map.update (rpg_objects.js:6020)
at Scene_Map.updateMain (rpg_scenes.js:608)
at Scene_Map.updateMainMultiply (rpg_scenes.js:600)
at Scene_Map.update (rpg_scenes.js:589)
設置したイベントが関係してそうなのはわかるのですが、おおよその原因を教えて頂ければ幸いです。
1度ですが、アイテムを使用しようとしたときにも発生しました。
以下エラーメッセージです。
rpg_managers.js:1949 TypeError: Cannot read property 'pages' of null
at Game_Event.findProperPageIndex (rpg_objects.js:8611)
at Game_Event.refresh (rpg_objects.js:8603)
at rpg_objects.js:5811
at Array.forEach (<anonymous>)
at Game_Map.refresh (rpg_objects.js:5810)
at Game_Map.refreshIfNeeded (rpg_objects.js:5805)
at Game_Map.update (rpg_objects.js:6020)
at Scene_Map.updateMain (rpg_scenes.js:608)
at Scene_Map.updateMainMultiply (rpg_scenes.js:600)
at Scene_Map.update (rpg_scenes.js:589)