[Ace] PRoblem with Yanfly's Core System

Having a bit of a problem using Yanfly's Core Engine for VX Ace. When i use a randomly generated character sprite for my main character, I get a line 840 error. This error goes away if i used a pre-created sprite (actor 1, actor 3, etc).


Here is a copy of the appropriate script line.


Unfortunately, my knowledge of scripting is, well, non-existent. Does anyone know how to fix this? Thank you in advance.


Engine: https://yanflychannel.wordpress.com/rmvxa/core-scripts/ace-core-engine/


Screenshot of the error: http://www.mobypicture.com/user/alanjessup/view/19434610/sizes/full


Screenshot of the code in question: http://www.mobypicture.com/user/alanjessup/view/19434612/sizes/full


Edited for format/clarity
I really doubt that that is the case, the connection is somewhere else.


1) in most cases, NIL-errors are the result of loading an incompatible savefile after changing something on the script editor. I suggest starting a new game in playtest instead of loading a saved file (I'm talking about game saves, NOT project saves)


2) If you get the same error on a new game, we need the full error trace to find out what really happened.


Please follow the link "how to use a script" in my signature to the bughunting tips and give us a screenshot of the backtracer console output when that error happens.
Is that the Battle Engine Core script, or the Core script? There are two of them, and both have the line you listed. Please clarify. The one you linked is the Core, but the way you named it I think you have the Battle Engine Core. Those two are not the same.


Edit: Nevermind, you have the battle engine. Setup_popups only exists in the battle engine. You're missing the Core engine, which is the script you linked. Install that script too, above your current scripts.
Bgillisp Wow, i feel incredibly stupid. That fixed it completely ><


Thank you, and thank you Andar as well. Appreciate it =)

Original thread: https://forums.rpgmakerweb.com/threads/ace-problem-with-yanflys-core-system.69507/