- 189
- Posts
- 14
- Years
- Seen Nov 23, 2023
[Solved?] noMethod error after porting my game to V12
It seems that error has resolved itself in the two days since I posted about it. Not sure why, since I haven't touched the thing since then. Oh well. I've left it below for posterity.
It's back, with a vengeance.
So I have no idea what this means. I gather it has something to do with drawing shadows on events, and it's encountering a problem doing so. Why, though, escapes me, as I haven't modified any of the script classes named in the stack call in the error message. I will note this only occurs when attempting to warp to outdoor maps. I was not able to reproduce the error in a clean Essentials.
Why is it throwing this error? I remember there being something in an older version that drew shadows when there were light events, but I haven't made any of those... And since I can't find what the call is from, I can't isolate the problem. Bleh, I should be better at this considering I've been studying programming for 3 semesters now.
It's back, with a vengeance.
Code:
Exception: NoMethodError
Message: undefined method `*' for nil:NilClass
Game_Character_1:198:in `screen_z'
Sprite_Character:148:in `update_or'
PerspectiveTilemap:429:in `shadow_update'
Shadow:179:in `update'
Sprite_Character:37:in `perspectivetilemap_initialize'
PerspectiveTilemap:423:in `shadow_initialize'
Shadow:152:in `initialize'
Spriteset_Map:162:in `new'
Spriteset_Map:162:in `_animationSprite_initialize'
Spriteset_Map:161:in `each'
Why is it throwing this error? I remember there being something in an older version that drew shadows when there were light events, but I haven't made any of those... And since I can't find what the call is from, I can't isolate the problem. Bleh, I should be better at this considering I've been studying programming for 3 semesters now.
Last edited: