- 9
- Posts
- 11
- Years
- Seen Feb 6, 2016
Crash when running between connected maps
Started to get an odd error after we updated to 13, just curious if anyone's seen anything similar.
Exception: NoMethodError
Message: undefined method `[]' for nil:NilClass
PokemonField:1426
PokemonField:1423:in `call'
PBEvent:54:in `trigger'
PBEvent:49:in `each'
PBEvent:49:in `trigger'
Game_Character_2:67:in `update_move'
Game_Character_2:6:in `update_old2'
Walk_Run:96:in `update'
Game_Event_:249:in `update'
Game_Map_:422:in `update'
------
It happens when we're transitioning from one map to another. They're set in sequence, so there aren't multiple maps involved. The setup is something currently like this-
A
BCD
A isn't touching anything but B. B is only touching A and C, etc.
The transition issue normally happens from A->B or B->A. And 90% of the time or so (estimated; I haven't actually measured) it seems to be when we're running, rather than walking. Is it just an issue of the map being too large/having too many events? I wouldn't think so given that the demo's Route2 isn't any longer than our Route1.
Any ideas? This only happened once we updated to 13, and we haven't touched any of the scripts mentioned in the errors.
Started to get an odd error after we updated to 13, just curious if anyone's seen anything similar.
Exception: NoMethodError
Message: undefined method `[]' for nil:NilClass
PokemonField:1426
PokemonField:1423:in `call'
PBEvent:54:in `trigger'
PBEvent:49:in `each'
PBEvent:49:in `trigger'
Game_Character_2:67:in `update_move'
Game_Character_2:6:in `update_old2'
Walk_Run:96:in `update'
Game_Event_:249:in `update'
Game_Map_:422:in `update'
------
It happens when we're transitioning from one map to another. They're set in sequence, so there aren't multiple maps involved. The setup is something currently like this-
A
BCD
A isn't touching anything but B. B is only touching A and C, etc.
The transition issue normally happens from A->B or B->A. And 90% of the time or so (estimated; I haven't actually measured) it seems to be when we're running, rather than walking. Is it just an issue of the map being too large/having too many events? I wouldn't think so given that the demo's Route2 isn't any longer than our Route1.
Any ideas? This only happened once we updated to 13, and we haven't touched any of the scripts mentioned in the errors.
Last edited: