Suddenly getting an "cannot read property of nil" error

3785cc5ff5.png


Could someone please point me at what went wrong because I have ZERO idea as the last time I playtested, everything ran fine. Running version 1.5.1

It appears that Yanfly's Gridfree doodads plugin is causing the on game boot crashing but this makes ZERO SENSE as I have added no new plugins since my last playtest!
One question: do you use dropbox only for distribution or do you edit your project directly in that folder?

Because if you work on your project while it is inside a cloud-sync'd folder, you're risking destroying any file of it, you should never edit a project inside a sync'd folder.
One question: do you use dropbox only for distribution or do you edit your project directly in that folder?

Because if you work on your project while it is inside a cloud-sync'd folder, you're risking destroying any file of it, you should never edit a project inside a sync'd folder.

I didn't know that but it hasn't caused any issues as of yet. I save inside the sync folder so i don't have to worry about doing a manually copy and paste since I never know when and if my PC will kick itself.

also, I found the cause of the problem...appearently Yanfly's plugin was finding a nul point in the map.infos file due to the fact I copied and pasted a map that somehow flagged a dup ID in the plugin's eyes which caused the nil crash.

Had someone in my discord server find the root of this issue by scanning yanfly's plugin code. So this may be a bug to bring up to the devs of the rpg maker engine if its making dup map IDs.
One question: do you use dropbox only for distribution or do you edit your project directly in that folder?

Because if you work on your project while it is inside a cloud-sync'd folder, you're risking destroying any file of it, you should never edit a project inside a sync'd folder.
@deathsia, @Andar warned me of this as well. I was quick to correct it.

Original thread: https://forums.rpgmakerweb.com/threads/suddenly-getting-an-cannot-read-property-of-nil-error.92847/